1. 先安裝基本 packages
sudo apt-get install gcc autoconf automake1.9 libtool flex bison gcc-doc
以前找不到 libc6 和 libc6-dev 這次竟然會自動去找...下列的【新】套件都將被安裝:
autotools-dev cpp gcc-4.2-doc libc6 libc6-dev libc6-i686 linux-libc-dev m4
建議(Suggested)的套件:
autoconf2.13 autobook autoconf-archive gnu-standards autoconf-doc
automake1.9-doc bison-doc cpp-doc gcc-multilib manpages-dev glibc-doc gcj
gfortran fortran95-compiler libtool-doc
推薦(Recommended)的套件:
automaken libltdl3-dev
下列的【新】套件都將被安裝:
autoconf automake1.9 autotools-dev bison flex gcc-4.2-doc gcc-doc libc6-dev
libtool linux-libc-dev m4
下列的套件都將更新:
cpp gcc libc6 libc6-i686
更新 4 個套件,新安裝 11 個套件,刪除 0 個套件,另不更新 503 個套件。
需要下載 13.5MB 的檔案。
After this operation, 29.9MB of additional disk space will be used.
繼續執行嗎? 是按 [Y] 鍵,否按 [n] 鍵 y
sudo apt-get install libgfortran1
下列的【新】套件都將被安裝:
gcc-4.1-base
下列的【新】套件都將被安裝:
gcc-4.1-base libgfortran1
sudo apt-get install libglib2.0-dev
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
下列的【新】套件都將被安裝:
libglib2.0-0
建議(Suggested)的套件:
libglib2.0-doc
推薦(Recommended)的套件:
libglib2.0-data
下列的【新】套件都將被安裝:
libglib2.0-dev
下列的套件都將更新:
libglib2.0-0
sudo apt-get install libpng12-dev
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
下列的【新】套件都將被安裝:
libpng12-0 zlib1g-dev
下列的【新】套件都將被安裝:
libpng12-dev zlib1g-dev
下列的套件都將更新:
libpng12-0
sudo apt-get install libxslt1-dev
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
下列的【新】套件都將被安裝:
libxml2 libxml2-dev libxslt1.1
下列的【新】套件都將被安裝:
libxml2-dev libxslt1-dev
下列的套件都將更新:
libxml2 libxslt1.1
sudo apt-get install lapack3-dev
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
下列的【新】套件都將被安裝:
cpp-3.4 g77 g77-3.4 gcc-3.4 gcc-3.4-base lapack3 libg2c0 libg2c0-dev
refblas3 refblas3-dev
建議(Suggested)的套件:
g77-doc g77-3.4-doc gcc-3.4-doc lib64gcc1 libc6-dev-amd64
下列的【新】套件都將被安裝:
cpp-3.4 g77 g77-3.4 gcc-3.4 gcc-3.4-base lapack3 lapack3-dev libg2c0
libg2c0-dev refblas3 refblas3-dev
sudo apt-get install fftw3-dev
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
注意,選擇了 libfftw3-dev 而非 fftw3-dev
下列的【新】套件都將被安裝:
libfftw3-dev
sudo apt-get install libreadline5-dev
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
下列的【新】套件都將被安裝:
libncurses5-dev
下列的【新】套件都將被安裝:
libncurses5-dev libreadline5-dev
sudo apt-get install libgmp3-dev
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
下列的【新】套件都將被安裝:
libgmpxx4ldbl
建議(Suggested)的套件:
libgmp3-doc libmpfr-dev
推薦(Recommended)的套件:
libstdc++-dev
下列的【新】套件都將被安裝:
libgmp3-dev libgmpxx4ldbl
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
下列的【新】套件都將被安裝:
gnuplot-nox gnuplot-x11
建議(Suggested)的套件:
gnuplot-doc
下列的【新】套件都將被安裝:
gnuplot gnuplot-nox gnuplot-x11
sudo apt-get install texlive
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
下列的【新】套件都將被安裝:
tex-common texlive-base texlive-base-bin texlive-common texlive-doc-base
texlive-fonts-recommended texlive-latex-base texlive-latex-recommended
建議(Suggested)的套件:
texlive-doc-en
推薦(Recommended)的套件:
dvipdfmx lmodern perl-tk texlive-base-bin-doc texlive-fonts-recommended-doc
tipa texlive-latex-base-doc latex-beamer latex-xcolor prosper
texlive-latex-recommended-doc
下列的【新】套件都將被安裝:
tex-common texlive texlive-base texlive-base-bin texlive-common
texlive-doc-base texlive-fonts-recommended texlive-latex-base
texlive-latex-recommended
缺的 packages:
libfortran1-dev pkgconfig
sudo apt-get install libgtk2.0-dev
讀取套件清單中... 完成
了解套件依存關係中
Reading state information... 完成
The following packages were automatically installed and are no longer required:
libgfortran2 libblas3gf libmpfr1ldbl liblapack3gf
Use 'apt-get autoremove' to remove them.
下列的【新】套件都將被安裝:
gtk2-engines-pixbuf libatk1.0-dev libcairo2 libcairo2-dev libexpat1-dev
libfontconfig1-dev libfreetype6 libfreetype6-dev libgtk2.0-0 libice-dev
libpango1.0-0 libpango1.0-common libpango1.0-dev libpixman-1-dev
libpthread-stubs0 libpthread-stubs0-dev libsm-dev libx11-dev libxau-dev
libxcb-xlib0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev
libxrandr-dev libxrender-dev x11proto-composite-dev x11proto-core-dev
x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev
x11proto-randr-dev x11proto-render-dev x11proto-xext-dev
x11proto-xinerama-dev xtrans-dev
建議(Suggested)的套件:
libcairo2-doc libgtk2.0-doc ttf-arphic-bsmi00lp ttf-arphic-gbsn00lp
ttf-arphic-gkai00mp ttf-baekmuk ttf-thryomanes libpango1.0-doc
下列的【新】套件都將被安裝:
libatk1.0-dev libcairo2-dev libexpat1-dev libfontconfig1-dev
libfreetype6-dev libgtk2.0-dev libice-dev libpango1.0-dev libpixman-1-dev
libpthread-stubs0 libpthread-stubs0-dev libsm-dev libx11-dev libxau-dev
libxcb-xlib0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev
libxrandr-dev libxrender-dev x11proto-composite-dev x11proto-core-dev
x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev
x11proto-randr-dev x11proto-render-dev x11proto-xext-dev
x11proto-xinerama-dev xtrans-dev
下列的套件都將更新:
gtk2-engines-pixbuf libcairo2 libfreetype6 libgtk2.0-0 libpango1.0-0
libpango1.0-common
2. ./configure (網友 Hélio Guilherme 建議先不要用 ./configure --enable-build-doc)
這次果然成功了, 告訴我可以 "make" 了
3. make and sudo make install
但發現在 /usr/local/bin 下, 只有 gretlcli 和 gretl-config, 並沒有 gui 介面的 gretl
檢查後, 發現沒有 libgtk2.0-dev
再次安裝
sudo apt-get install libgtk2.0-dev
再重覆步驟 2-3, 終於成功了!
沒有留言:
張貼留言