[mapserver-users] configure problems
Ken Kyler
ken at kyler.com
Thu Aug 22 08:06:29 PDT 2002
First, I've read the FAQ, HOWTOs and did a search for this particular
problem.
I'm trying to install Mapserver on a FreeBSD 4.5-STABLE system rinning
Apache and mod_php4.
When I run configure with the following options...
./configure \
--with-php=/usr/local/include/php \
--with-jpeg=/usr/local/lib \
--with-freetype=/usr/local/include/freetype2 \
--with-png=/usr/local/lib \
--with-apxs=/usr/local/sbin/apxs \
--with-gd=/usr/local/lib \
--with-php=/usr/ports/www/mod_php4/work/php-4.2.2 \
--enable-runpath
I get the following error
checking whether we should include JPEG support...
Could not find jpeglib.h or libjpeg.a/libjpeg.so in /usr/local/lib.
checking for jpeg_read_header in -ljpeg... no
libjpeg not found. JPEG support not included, possibly needed for
GD.
checking which version of GD to use...
configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/local/lib.
Make sure gd is compiled before calling configure.
both libjpeg.so and libgd.so *are* located in the /usr/local/lib directory
What am I doing wrong?
Ken
More information about the MapServer-users
mailing list