编译1~7时都没有问题,但是在编译第8时出现以下信息:
......
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for imlib2-config... /usr/bin/imlib2-config
checking for imlib2 - version >= 1.0.0... yes
checking for epeg-config... /usr/bin/epeg-config
checking for epeg - version >= 0.9.0... yes
./configure: line 22026: syntax error near unexpected token `PNG,'
./configure: line 22026: `PKG_CHECK_MODULES(PNG, libpng12 >= 1.2.0,'
因为我用的SuSE10,用http://rpm.pbone.net/、http://rpmfind.net/、www.google.com找遍了都没有libpng12 for SUSE的RPM文件,结果下了二个libpng12-1.2.5-7tr.i586.rpm与libpng12-devel-1.2.5-7tr.i586.rpm安装,重新编译第8项还是出现上而的错误信息,请问这个是什么原因?是版本不合适吗?(我试过找源码的,但下载的缩包偏偏又解不开!晕,请大家帮帮!)