[mapserver-users] Compiling Trunk - problems with gifs
Fawcett, David (MPCA)
David.Fawcett at state.mn.us
Sun Nov 28 10:10:40 PST 2010
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.
More information about the MapServer-users
mailing list