1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | checking pcre install prefix... no checking whether to enable FTP support... no checking OpenSSL dir for FTP... no checking for GD support... yes checking for the location of libjpeg... /usr/local checking for the location of libpng... /usr/local checking for the location of libXpm... no checking for FreeType 2... /usr/local 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 checking for fabsf... yes checking for floorf... yes checking for jpeg_read_header in -ljpeg... yes checking for png_write_image in -lpng... yes If configure fails try --with-xpm-dir=<DIR> checking for FT_New_Face in -lfreetype... yes configure: error: GD build test failed. Please check the config.log for details. |
貌似是说找不到GD 库,由于我前面安装GD是自己编译安装的。
把
1 | --with-gd |
修改为
1 | --with-gd=/usr/local/gd2/ |
问题解决.
喜欢这篇文章吗?
请订阅本站 RSS feed 或




8:13 下午, 2011年10月22日自在 /
今天我也遇到这情况了,不同的是
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
checking for FT_New_Face in -lfreetype... yes
checking for gdImageString16 in -lgd... no
checking for gdImagePaletteCopy in -lgd... no
checking for gdImageCreateFromPng in -lgd... no
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImageWBMP in -lgd... no
checking for gdImageCreateFromJpeg in -lgd... no
checking for gdImageCreateFromXpm in -lgd... no
checking for gdImageCreateFromGd2 in -lgd... no
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... no
checking for gdImageEllipse in -lgd... no
checking for gdImageSetBrush in -lgd... no
checking for gdImageStringTTF in -lgd... no
checking for gdImageStringFT in -lgd... no
checking for gdImageStringFTEx in -lgd... no
checking for gdImageColorClosestHWB in -lgd... no
checking for gdImageColorResolve in -lgd... no
checking for gdImageGifCtx in -lgd... no
checking for gdCacheCreate in -lgd... no
checking for gdFontCacheShutdown in -lgd... no
checking for gdFreeFontCache in -lgd... no
checking for gdFontCacheMutexSetup in -lgd... no
checking for gdNewDynamicCtxEx in -lgd... no
checking for gdImageCreate in -lgd... no
configure: error: GD build test failed. Please check the config.log for details.
我明明安装了gd到/usr/local/gd2 ,php配置时也写了–with-gd=/usr/local/gd2,但还是提示出错。郁闷了。。
8:47 上午, 2011年06月1日so /
2:35 下午, 2011年04月1日Magento开发 /
也遇到这个问题了,真麻烦!
6:09 下午, 2010年07月24日Qing /
谢谢,问题解决
11:41 下午, 2010年05月15日xxy /
把
–with-gd=/usr/local/gd2/
修改为
–with-gd=/usr/local/gd2/
看了半天没看出两行有啥区别,又复制去验证了MD5,确认了两个确实是===的…囧
11:15 上午, 2010年05月16日荒野无灯 /
不好意思,写错了,是–with-gd
10:20 下午, 2010年05月17日xxy /
用PHPER的光标来选字感觉很痛苦…