configure: WARNING: unrecognized options: --with-zlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking if we are building a Cygwin target... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for X... libraries , headers
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking whether iconv.h defines iconv_t... yes
checking for sin... no
checking for sin in -lm... yes
checking for deflate in -lz... yes
checking for libpng12-config... no
checking for libpng-config... /usr/local/bin/libpng-config
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_create_read_struct in -lpng... yes
checking for freetype-config... /usr/local/freetype//bin/freetype-config
checking for FT_Init_FreeType in -lfreetype... yes
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking for FcInit in -lfontconfig... no
checking for jpeg_set_defaults in -ljpeg... yes
checking for XpmReadFileToXpmImage in -lXpm... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
** Configuration summary for gd 2.0.35:
Support for PNG library: yes
Support for JPEG library: yes
Support for Freetype 2.x library: yes
Support for Fontconfig library: no
Support for Xpm library: yes
Support for pthreads: yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating config/gdlib-config
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --with-zlib
bioinfo gd-2.0.35 # make install
Making install in config
make[1]: Entering directory `/home/zhanglan/gd-2.0.35/config'
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/config'
test -z "/usr/local/gd2/bin" || mkdir -p -- "/usr/local/gd2/bin"
/usr/bin/install -c 'gdlib-config' '/usr/local/gd2/bin/gdlib-config'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/config'
make[1]: Leaving directory `/home/zhanglan/gd-2.0.35/config'
Making install in test
make[1]: Entering directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/test'
make[1]: Leaving directory `/home/zhanglan/gd-2.0.35/test'
make[1]: Entering directory `/home/zhanglan/gd-2.0.35'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/freetype/include/freetype2 -I/usr/local/freetype/include -I/usr/local/freetype//include -I/usr/local/jpeg6//include -g -O2 -MT gd.lo -MD -MP -MF ".deps/gd.Tpo" -c -o gd.lo gd.c; \
then mv -f ".deps/gd.Tpo" ".deps/gd.Plo"; else rm -f ".deps/gd.Tpo"; exit 1; fi
./libtool: line 841: X--tag=CC: command not found
./libtool: line 874: libtool: ignoring unknown tag : command not found
./libtool: line 841: X--mode=compile: command not found
./libtool: line 1007: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1008: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1151: Xgcc: command not found
./libtool: line 1151: X-DHAVE_CONFIG_H: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I/usr/local/freetype/include/freetype2: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype/include: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype//include: No such file or directory
./libtool: line 1151: X-I/usr/local/jpeg6//include: No such file or directory
./libtool: line 1151: X-g: command not found
./libtool: line 1151: X-O2: command not found
./libtool: line 1151: X-MT: command not found
./libtool: line 1151: Xgd.lo: command not found
./libtool: line 1151: X-MD: command not found
./libtool: line 1151: X-MP: command not found
./libtool: line 1151: X-MF: command not found
./libtool: line 1151: X.deps/gd.Tpo: No such file or directory
./libtool: line 1151: X-c: command not found
./libtool: line 1202: Xgd.lo: command not found
./libtool: line 1207: libtool: compile: cannot determine name of library object from `': command not found
make[1]: *** [gd.lo] Error 1
make[1]: Leaving directory `/home/zhanglan/gd-2.0.35'
make: *** [install-recursive] Error 1
8 个解决方案
#1
lz你还没有make吧。。
#2
make了 贴不下 就把它省掉了
bioinfo gd-2.0.35 # make
make all-recursive
make[1]: Entering directory `/home/zhanglan/gd-2.0.35'
Making all in config
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/config'
Making all in test
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Entering directory `/home/zhanglan/gd-2.0.35'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/freetype/include/freetype2 -I/usr/local/freetype/include -I/usr/local/freetype//include -I/usr/local/jpeg6//include -g -O2 -MT gd.lo -MD -MP -MF ".deps/gd.Tpo" -c -o gd.lo gd.c; \
then mv -f ".deps/gd.Tpo" ".deps/gd.Plo"; else rm -f ".deps/gd.Tpo"; exit 1; fi
./libtool: line 841: X--tag=CC: command not found
./libtool: line 874: libtool: ignoring unknown tag : command not found
./libtool: line 841: X--mode=compile: command not found
./libtool: line 1007: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1008: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1151: Xgcc: command not found
./libtool: line 1151: X-DHAVE_CONFIG_H: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I/usr/local/freetype/include/freetype2: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype/include: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype//include: No such file or directory
./libtool: line 1151: X-I/usr/local/jpeg6//include: No such file or directory
./libtool: line 1151: X-g: command not found
./libtool: line 1151: X-O2: command not found
./libtool: line 1151: X-MT: command not found
./libtool: line 1151: Xgd.lo: command not found
./libtool: line 1151: X-MD: command not found
./libtool: line 1151: X-MP: command not found
./libtool: line 1151: X-MF: command not found
./libtool: line 1151: X.deps/gd.Tpo: No such file or directory
./libtool: line 1151: X-c: command not found
./libtool: line 1202: Xgd.lo: command not found
./libtool: line 1207: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [gd.lo] Error 1
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zhanglan/gd-2.0.35'
make: *** [all] Error 2
bioinfo gd-2.0.35 # make
make all-recursive
make[1]: Entering directory `/home/zhanglan/gd-2.0.35'
Making all in config
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/config'
Making all in test
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Entering directory `/home/zhanglan/gd-2.0.35'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/freetype/include/freetype2 -I/usr/local/freetype/include -I/usr/local/freetype//include -I/usr/local/jpeg6//include -g -O2 -MT gd.lo -MD -MP -MF ".deps/gd.Tpo" -c -o gd.lo gd.c; \
then mv -f ".deps/gd.Tpo" ".deps/gd.Plo"; else rm -f ".deps/gd.Tpo"; exit 1; fi
./libtool: line 841: X--tag=CC: command not found
./libtool: line 874: libtool: ignoring unknown tag : command not found
./libtool: line 841: X--mode=compile: command not found
./libtool: line 1007: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1008: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1151: Xgcc: command not found
./libtool: line 1151: X-DHAVE_CONFIG_H: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I/usr/local/freetype/include/freetype2: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype/include: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype//include: No such file or directory
./libtool: line 1151: X-I/usr/local/jpeg6//include: No such file or directory
./libtool: line 1151: X-g: command not found
./libtool: line 1151: X-O2: command not found
./libtool: line 1151: X-MT: command not found
./libtool: line 1151: Xgd.lo: command not found
./libtool: line 1151: X-MD: command not found
./libtool: line 1151: X-MP: command not found
./libtool: line 1151: X-MF: command not found
./libtool: line 1151: X.deps/gd.Tpo: No such file or directory
./libtool: line 1151: X-c: command not found
./libtool: line 1202: Xgd.lo: command not found
./libtool: line 1207: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [gd.lo] Error 1
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zhanglan/gd-2.0.35'
make: *** [all] Error 2
#3
看看这个解决方法http://hi.baidu.com/lostdays/blog/item/214d24d15a2b29309b5027dc.html
#4
把libtool里面的$echo都改成$ECHO 重新configure make 还是同样的错误 不行啊? 谁还知道别的办法?谢谢
#5
我在网上 狂搜索了下 首先就是先把项目下的libtoo里$echo改成$ECHO ,然后就是说libtool的问题 有说是版本低的缘故 有说是高的缘故 x86_64 内核2.6 俺的应该是什么版本的libtool兼容啊 问个愚蠢的问题 nano可以批量查找替换吗 7000多行的代码不可能一个个来
#6
sed 's/echo/ECHO/g'
#7
cd gd-2.0.35
sed 's/echo/ECHO/g'
是这样吗?好像不对啊 改的是libtool啊 具体点谢谢
sed 's/echo/ECHO/g'
是这样吗?好像不对啊 改的是libtool啊 具体点谢谢
#8
sed 's/echo/ECHO/g' libtool
make 问题仍然没有解决 的确
bioinfo gd-2.0.35 # make
make all-recursive
make[1]: Entering directory `/home/zhanglan/gd-2.0.35'
Making all in config
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/config'
Making all in test
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Entering directory `/home/zhanglan/gd-2.0.35'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/freetype/include/freetype2 -I/usr/local/freetype/include -I/usr/local/freetype//include -I/usr/local/jpeg6//include -g -O2 -MT gd.lo -MD -MP -MF ".deps/gd.Tpo" -c -o gd.lo gd.c; \
then mv -f ".deps/gd.Tpo" ".deps/gd.Plo"; else rm -f ".deps/gd.Tpo"; exit 1; fi
./libtool: line 841: X--tag=CC: command not found
./libtool: line 874: libtool: ignoring unknown tag : command not found
./libtool: line 841: X--mode=compile: command not found
./libtool: line 1007: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1008: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1151: Xgcc: command not found
./libtool: line 1151: X-DHAVE_CONFIG_H: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I/usr/local/freetype/include/freetype2: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype/include: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype//include: No such file or directory
./libtool: line 1151: X-I/usr/local/jpeg6//include: No such file or directory
./libtool: line 1151: X-g: command not found
./libtool: line 1151: X-O2: command not found
./libtool: line 1151: X-MT: command not found
./libtool: line 1151: Xgd.lo: command not found
./libtool: line 1151: X-MD: command not found
./libtool: line 1151: X-MP: command not found
./libtool: line 1151: X-MF: command not found
./libtool: line 1151: X.deps/gd.Tpo: No such file or directory
./libtool: line 1151: X-c: command not found
./libtool: line 1202: Xgd.lo: command not found
./libtool: line 1207: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [gd.lo] Error 1
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zhanglan/gd-2.0.35'
make: *** [all] Error 2
make 问题仍然没有解决 的确
bioinfo gd-2.0.35 # make
make all-recursive
make[1]: Entering directory `/home/zhanglan/gd-2.0.35'
Making all in config
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/config'
Making all in test
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Entering directory `/home/zhanglan/gd-2.0.35'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/freetype/include/freetype2 -I/usr/local/freetype/include -I/usr/local/freetype//include -I/usr/local/jpeg6//include -g -O2 -MT gd.lo -MD -MP -MF ".deps/gd.Tpo" -c -o gd.lo gd.c; \
then mv -f ".deps/gd.Tpo" ".deps/gd.Plo"; else rm -f ".deps/gd.Tpo"; exit 1; fi
./libtool: line 841: X--tag=CC: command not found
./libtool: line 874: libtool: ignoring unknown tag : command not found
./libtool: line 841: X--mode=compile: command not found
./libtool: line 1007: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1008: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1151: Xgcc: command not found
./libtool: line 1151: X-DHAVE_CONFIG_H: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I/usr/local/freetype/include/freetype2: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype/include: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype//include: No such file or directory
./libtool: line 1151: X-I/usr/local/jpeg6//include: No such file or directory
./libtool: line 1151: X-g: command not found
./libtool: line 1151: X-O2: command not found
./libtool: line 1151: X-MT: command not found
./libtool: line 1151: Xgd.lo: command not found
./libtool: line 1151: X-MD: command not found
./libtool: line 1151: X-MP: command not found
./libtool: line 1151: X-MF: command not found
./libtool: line 1151: X.deps/gd.Tpo: No such file or directory
./libtool: line 1151: X-c: command not found
./libtool: line 1202: Xgd.lo: command not found
./libtool: line 1207: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [gd.lo] Error 1
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zhanglan/gd-2.0.35'
make: *** [all] Error 2
#1
lz你还没有make吧。。
#2
make了 贴不下 就把它省掉了
bioinfo gd-2.0.35 # make
make all-recursive
make[1]: Entering directory `/home/zhanglan/gd-2.0.35'
Making all in config
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/config'
Making all in test
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Entering directory `/home/zhanglan/gd-2.0.35'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/freetype/include/freetype2 -I/usr/local/freetype/include -I/usr/local/freetype//include -I/usr/local/jpeg6//include -g -O2 -MT gd.lo -MD -MP -MF ".deps/gd.Tpo" -c -o gd.lo gd.c; \
then mv -f ".deps/gd.Tpo" ".deps/gd.Plo"; else rm -f ".deps/gd.Tpo"; exit 1; fi
./libtool: line 841: X--tag=CC: command not found
./libtool: line 874: libtool: ignoring unknown tag : command not found
./libtool: line 841: X--mode=compile: command not found
./libtool: line 1007: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1008: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1151: Xgcc: command not found
./libtool: line 1151: X-DHAVE_CONFIG_H: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I/usr/local/freetype/include/freetype2: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype/include: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype//include: No such file or directory
./libtool: line 1151: X-I/usr/local/jpeg6//include: No such file or directory
./libtool: line 1151: X-g: command not found
./libtool: line 1151: X-O2: command not found
./libtool: line 1151: X-MT: command not found
./libtool: line 1151: Xgd.lo: command not found
./libtool: line 1151: X-MD: command not found
./libtool: line 1151: X-MP: command not found
./libtool: line 1151: X-MF: command not found
./libtool: line 1151: X.deps/gd.Tpo: No such file or directory
./libtool: line 1151: X-c: command not found
./libtool: line 1202: Xgd.lo: command not found
./libtool: line 1207: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [gd.lo] Error 1
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zhanglan/gd-2.0.35'
make: *** [all] Error 2
bioinfo gd-2.0.35 # make
make all-recursive
make[1]: Entering directory `/home/zhanglan/gd-2.0.35'
Making all in config
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/config'
Making all in test
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Entering directory `/home/zhanglan/gd-2.0.35'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/freetype/include/freetype2 -I/usr/local/freetype/include -I/usr/local/freetype//include -I/usr/local/jpeg6//include -g -O2 -MT gd.lo -MD -MP -MF ".deps/gd.Tpo" -c -o gd.lo gd.c; \
then mv -f ".deps/gd.Tpo" ".deps/gd.Plo"; else rm -f ".deps/gd.Tpo"; exit 1; fi
./libtool: line 841: X--tag=CC: command not found
./libtool: line 874: libtool: ignoring unknown tag : command not found
./libtool: line 841: X--mode=compile: command not found
./libtool: line 1007: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1008: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1151: Xgcc: command not found
./libtool: line 1151: X-DHAVE_CONFIG_H: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I/usr/local/freetype/include/freetype2: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype/include: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype//include: No such file or directory
./libtool: line 1151: X-I/usr/local/jpeg6//include: No such file or directory
./libtool: line 1151: X-g: command not found
./libtool: line 1151: X-O2: command not found
./libtool: line 1151: X-MT: command not found
./libtool: line 1151: Xgd.lo: command not found
./libtool: line 1151: X-MD: command not found
./libtool: line 1151: X-MP: command not found
./libtool: line 1151: X-MF: command not found
./libtool: line 1151: X.deps/gd.Tpo: No such file or directory
./libtool: line 1151: X-c: command not found
./libtool: line 1202: Xgd.lo: command not found
./libtool: line 1207: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [gd.lo] Error 1
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zhanglan/gd-2.0.35'
make: *** [all] Error 2
#3
看看这个解决方法http://hi.baidu.com/lostdays/blog/item/214d24d15a2b29309b5027dc.html
#4
把libtool里面的$echo都改成$ECHO 重新configure make 还是同样的错误 不行啊? 谁还知道别的办法?谢谢
#5
我在网上 狂搜索了下 首先就是先把项目下的libtoo里$echo改成$ECHO ,然后就是说libtool的问题 有说是版本低的缘故 有说是高的缘故 x86_64 内核2.6 俺的应该是什么版本的libtool兼容啊 问个愚蠢的问题 nano可以批量查找替换吗 7000多行的代码不可能一个个来
#6
sed 's/echo/ECHO/g'
#7
cd gd-2.0.35
sed 's/echo/ECHO/g'
是这样吗?好像不对啊 改的是libtool啊 具体点谢谢
sed 's/echo/ECHO/g'
是这样吗?好像不对啊 改的是libtool啊 具体点谢谢
#8
sed 's/echo/ECHO/g' libtool
make 问题仍然没有解决 的确
bioinfo gd-2.0.35 # make
make all-recursive
make[1]: Entering directory `/home/zhanglan/gd-2.0.35'
Making all in config
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/config'
Making all in test
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Entering directory `/home/zhanglan/gd-2.0.35'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/freetype/include/freetype2 -I/usr/local/freetype/include -I/usr/local/freetype//include -I/usr/local/jpeg6//include -g -O2 -MT gd.lo -MD -MP -MF ".deps/gd.Tpo" -c -o gd.lo gd.c; \
then mv -f ".deps/gd.Tpo" ".deps/gd.Plo"; else rm -f ".deps/gd.Tpo"; exit 1; fi
./libtool: line 841: X--tag=CC: command not found
./libtool: line 874: libtool: ignoring unknown tag : command not found
./libtool: line 841: X--mode=compile: command not found
./libtool: line 1007: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1008: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1151: Xgcc: command not found
./libtool: line 1151: X-DHAVE_CONFIG_H: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I/usr/local/freetype/include/freetype2: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype/include: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype//include: No such file or directory
./libtool: line 1151: X-I/usr/local/jpeg6//include: No such file or directory
./libtool: line 1151: X-g: command not found
./libtool: line 1151: X-O2: command not found
./libtool: line 1151: X-MT: command not found
./libtool: line 1151: Xgd.lo: command not found
./libtool: line 1151: X-MD: command not found
./libtool: line 1151: X-MP: command not found
./libtool: line 1151: X-MF: command not found
./libtool: line 1151: X.deps/gd.Tpo: No such file or directory
./libtool: line 1151: X-c: command not found
./libtool: line 1202: Xgd.lo: command not found
./libtool: line 1207: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [gd.lo] Error 1
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zhanglan/gd-2.0.35'
make: *** [all] Error 2
make 问题仍然没有解决 的确
bioinfo gd-2.0.35 # make
make all-recursive
make[1]: Entering directory `/home/zhanglan/gd-2.0.35'
Making all in config
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/config'
Making all in test
make[2]: Entering directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35/test'
make[2]: Entering directory `/home/zhanglan/gd-2.0.35'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/freetype/include/freetype2 -I/usr/local/freetype/include -I/usr/local/freetype//include -I/usr/local/jpeg6//include -g -O2 -MT gd.lo -MD -MP -MF ".deps/gd.Tpo" -c -o gd.lo gd.c; \
then mv -f ".deps/gd.Tpo" ".deps/gd.Plo"; else rm -f ".deps/gd.Tpo"; exit 1; fi
./libtool: line 841: X--tag=CC: command not found
./libtool: line 874: libtool: ignoring unknown tag : command not found
./libtool: line 841: X--mode=compile: command not found
./libtool: line 1007: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1008: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1151: Xgcc: command not found
./libtool: line 1151: X-DHAVE_CONFIG_H: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I.: command not found
./libtool: line 1151: X-I/usr/local/freetype/include/freetype2: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype/include: No such file or directory
./libtool: line 1151: X-I/usr/local/freetype//include: No such file or directory
./libtool: line 1151: X-I/usr/local/jpeg6//include: No such file or directory
./libtool: line 1151: X-g: command not found
./libtool: line 1151: X-O2: command not found
./libtool: line 1151: X-MT: command not found
./libtool: line 1151: Xgd.lo: command not found
./libtool: line 1151: X-MD: command not found
./libtool: line 1151: X-MP: command not found
./libtool: line 1151: X-MF: command not found
./libtool: line 1151: X.deps/gd.Tpo: No such file or directory
./libtool: line 1151: X-c: command not found
./libtool: line 1202: Xgd.lo: command not found
./libtool: line 1207: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [gd.lo] Error 1
make[2]: Leaving directory `/home/zhanglan/gd-2.0.35'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zhanglan/gd-2.0.35'
make: *** [all] Error 2