I am working on compiling a pretty stripped down mapserv binary based on trunk (11/25) on CentOS 5. I successfully compiled GD with jpeg, png, and freetype support. Gdlib-config --features returns GD_JPEG, GD_FREETYPE, GD_PNG, GD_GIF, GD_GIFANIM, GD_OPENPOLYGON.
When I try to compile MapServer using the basic ./configure --with-gd=/usr/, I get a bunch of messages saying that MapServer can't find the gif stuff configure: checking where GIF is installed... checking for DGifOpenFileHandle in -lgif... no checking gif_lib.h usability... no checking gif_lib.h presence... no checking for gif_lib.h... no configure: error: cannot find gif headers in system path I noticed a recent post on mapserver-dev about adding an additional flag to configure for gifs. But, when I try ./configure --with-gd=/usr/ --with-gif=/usr/ or (./configure --with-gd=/usr/ --with-gif=/usr) I get an error message telling me that MapServer can't find the gif stuff. configure: checking where GIF is installed... configure: error: cannot find gif lib in /usr/ I didn't compile gif_lib and don't see it anywhere in /usr. Do I need to compile a gif lib before or after compiling GD, or can MapServer just use the gif support in GD? Any help is greatly appreciated. David. _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users