我試圖在Ubuntu 10.10上使用gcc將libtiff 4.0 beta編譯爲靜態庫。它似乎編譯libjpeg和libz罰款,這是依賴。這是我得到的錯誤在Linux上編譯libtiff 4.0測試版問題
libtool: link: (cd ".libs" && rm -f "libtiff.la" && ln -s "../libtiff.la" "libtiff.la")
\
source='tif_stream.cxx' object='tif_stream.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../config/depcomp \
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -c -o tif_stream.lo tif_stream.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -c tif_stream.cxx -o .libs/tif_stream.o
../libtool: line 990: g++: command not found
關於如何解決這個問題的任何想法?
安裝了這個,仍然無法編譯,得到1的出口值,沒有打印錯誤,仍然沒有libtiff.a文件或其他靜態庫文件。 – keepitreall89 2011-03-23 18:39:45
這是製造文件,它真的搞砸了,不得不從頭開始。 – keepitreall89 2011-04-25 13:51:49