[Mapserver-users] Configure: Same old error - can't find gd.h or libgd.a/lib - Further Elaboratio

Adam Quiney deathsushi at hotmail.com
Wed May 26 19:14:52 EDT 2004


With regards to my previous question, looking through my config.log file, I 
noticed the following:

>configure:4774: checking for GD 2.0.12 or higher......
>configure:4818: checking for gdImageSetAntiAliased in -lgd
>configure:4818: checking for gdImageSetAntiAliased in -lgd
>configure:4849: gcc -o conftest.exe -g -O2   conftest.c -lgd  -lfreetype 
>-lz -L/
>lib -lpng -L/lib -lz  -L/usr/local/lib  -lm  >&5
>/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: 
>cannot
>find -lfreetype
>
>
>------------- POTENTIAL REASON FOR FAILURE CONTAINED IN LINE ABOVE? 
>----------------------
>
>collect2: ld returned 1 exit status
>configure:4852: $? = 1
>configure: failed program was:
>| #line 4825 "configure"
>| /* confdefs.h.  */
>|
>| #define PACKAGE_NAME ""
>| #define PACKAGE_TARNAME ""
>| #define PACKAGE_VERSION ""
>| #define PACKAGE_STRING ""
>| #define PACKAGE_BUGREPORT ""
>| #ifdef __cplusplus
>| #include <stdlib.h>
>| #endif
>| #define STDC_HEADERS 1
>| /* end confdefs.h.  */
>|
>| /* Override any gcc2 internal prototype to avoid an error.  */
>| #ifdef __cplusplus
>| extern "C"
>| #endif
>| /* We use char because int might match the return type of a gcc2
>|    builtin and then its argument prototype would still apply.  */
>| char gdImageSetAntiAliased ();
>| int
>| main ()
>| {
>|   ;
>|   return 0;
>| }
>configure:4870: result: no
>configure:4971: error: "Could not find gd.h or libgd.a/libgd.so in 
>/usr/local.
>Make sure GD 2.0.12 or higher is compiled before calling configure."
>
>Does this indicate that the problem isn't in fact that I'm missing the two 
>gd files, but instead the freetype file (or rather that it just can't find 
>them)?
>
>If so, does anyone know why?
>
>--Adam

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus




More information about the mapserver-users mailing list