LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 936|回复: 8

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

[复制链接]
发表于 2004-3-14 13:49:18 | 显示全部楼层 |阅读模式
我用的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.
发表于 2004-3-14 14:06:48 | 显示全部楼层
you need download & install   
jpegsrc.v6b.tar.gz
 楼主| 发表于 2004-3-14 14:45:11 | 显示全部楼层
jpegsrc.v6b.tar.gz 这个东西是什么呀?请指教呀!哪里可以下载呢?谢谢!
发表于 2004-3-14 15:33:35 | 显示全部楼层
最好像这种库用自己的光盘来装最好了。
找出光盘:
mount 上
然后ls gd*
ls *jpeg*
ls *png*

然后rpm -Uvh之。基本上就不用再担心这些问题了。
 楼主| 发表于 2004-3-14 16:24:48 | 显示全部楼层
老大,我安装的时候可能需要安装关联的包我用 --nodeps可以吗?
发表于 2004-3-14 20:46:18 | 显示全部楼层
最好是连关联包一起装。
发表于 2004-3-14 20:46:18 | 显示全部楼层
最好是连关联包一起装。
 楼主| 发表于 2004-3-14 20:52:12 | 显示全部楼层
我看我是失败了!闹心!希望老大把需要的关联包和我需要的东西给我打个包吧!要不然就做tar.gz的但是有一些包找不到!我更闹心!http://hylinux.3322.org/showarti ... article&id=3444
发表于 2004-3-15 09:24:34 | 显示全部楼层
你去看一下php的manual,关于图像函数里面,有每一个需要的包的下载位置。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表