Opened 19 years ago
Closed 15 years ago
#1474 closed defect (wontfix)
configure reports it can't find gd.h or libgd.a/so
Reported by: | Owned by: | mapserverbugs | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Build Problems | Version: | 4.6 |
Severity: | normal | Keywords: | |
Cc: | haleden@… |
Description (last modified by )
using:
./configure --with-fastcgi=/usr/local --with-jpeg=/usr --with-png=/usr --with-freetype=/usr/local --with-xpm=/usr/X11R6 --with-gd=/usr/local --with-httpd=/local/web/apache/bin/httpd --with- gdal=/usr/local/bin/gdal-config --with-wms --with-wfs --with-proj=/usr/local --with-ogr=/usr/ local/bin/gdal-config --with-php=/usr/local/include/php -with-curl-config=/usr/bin/curl-config -- with-ming=/usr --with-mygis=/usr/bin/mysql_config
with all needed libraries/includes installed (even did a nm on /usr/local/liib/libgd.a/so to make sure gdFontCacheSetup was there, and it was.
looked into the config.log and saw that it was failing trying to compile the test case and noticed that the -LGD_LIBDIR was AFTER the -lgd on the test.
looked in configure and found that if i changed line # 5576 from:
LIBS="-lgd $GD_XTRA_LIBS -L$GD_LIBDIR $LIBS"
to
LIBS="-L$GD_LIBDIR -lgd $GD_XTRA_LIBS $LIBS"
that i could run configure (and subsequently make) successfully
(actually, i think i had the same problem with 4.4, but forgot to report it--shame on me)
thanks,
hal
Change History (2)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Description: | modified (diff) |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
No news from reporter. Closing as wontfix. Please reopen if this is still an issue with recent releases.
Bump. Is this still valid?