php+gd库的问题,大家帮帮忙!

由 wallace888 在 03-14-2004 13:49 发表:

php+gd库的问题,大家帮帮忙!

我用的php-4.3.3 在编译他的时候加入的参数是:./configure --with-apx2=/usr/local/apache/bin/apxs --enable-track-vars --enable-debug --enable-url-includes --enable-sockets --with-config-file-pach=/usr/local/php/etc --with-gd=/usr/local --eable-gd-native-ttf --with-ttf=/usr/local --with-jpeg-dir=/usr/local

经过一段时间的等待到后面提示错误:

configure: error: libjpeg.(a|so) not found.

我做了好几次提示老是这个,请大家帮我分析!谢谢了。下面的是部分的信息:

Configuring extensions

checking for ZLIB support... no

checking if the location of ZLIB install directory is defined... no

checking whether to enable bc style precision math functions... no

checking for BZip2 support... no

checking whether to enable calendar conversion support... no

checking for cpdflib support... no

checking for CRACKlib support... no

checking whether to enable ctype functions... yes

checking for CURL support... no

checking for cyrus imap support... no

checking for xDBM support... no

checking whether to enable DBA... no

checking for GDBM support... no

checking for NDBM support... no

checking for Berkeley DB4 support... no

checking for Berkeley DB3 support... no

checking for Berkeley DB2 support... no

checking for DBM support... no

checking for CDB support... no

checking for INI File support... no

checking for FlatFile support... no

checking whether to enable DBA interface... no

checking whether to enable dbase support... no

checking whether to enable dbx support... no

checking whether to enable direct I/O support... no

checking for DOM support... no

checking for DOM XSLT support... no

checking for DOM EXSLT support... no

checking whether to enable EXIF (metadata from images) support... no

checking for FrontBase SQL92 (fbsql) support... no

checking for FDF support... no

checking whether to enable the bundled filePro support... no

checking for FriBidi support... no

checking whether to enable FTP support... no

checking for GD support... yes

checking for the location of libjpeg... /usr/local

checking for the location of libpng... no

checking for the location of libXpm... no

checking for FreeType 1.x support... /usr/local

checking for FreeType 2... no

checking for T1lib support... no

checking whether to enable truetype string function in GD... yes

checking whether to enable JIS-mapped Japanese font support in GD... no

configure: error: libjpeg.(a|so) not found.


由 william0116 在 03-14-2004 14:06 发表:


you need download & install

jpegsrc.v6b.tar.gz


AMD Athlon 1.2G

640M PC-133 SDRAM

Gefore 2 MX 200 , ATA-66 5400rpm 20GHD

=========================================

Fedora Core 2 (2.6.8.1) + WINDOWS 98 + 2000(SP4)


由 wallace888 在 03-14-2004 14:45 发表:


jpegsrc.v6b.tar.gz 这个东西是什么呀?请指教呀!哪里可以下载呢?谢谢!


由 黄叶 在 03-14-2004 15:33 发表:


最好像这种库用自己的光盘来装最好了。

找出光盘:

mount 上

然后ls gd*

ls jpeg

ls png

然后rpm -Uvh之。基本上就不用再担心这些问题了。


http://hylinux.3322.org

小的时候想过年,现在我是怕过年了。


Published At
Categories with 服务器类
Tagged with
comments powered by Disqus