[mapserver-users] configure problems
Puneet Kishor
pkishor at GeoAnalytics.com
Thu Aug 22 10:51:02 PDT 2002
you need the .a and .h files... they are more important than the .so (shared
object).
do a find for the appropriate .h/.a and see where they are located. funny
thing is if you don't provide any dir prefix it is good enough to find the
relevant files from their default locations.
hth.
> -----Original Message-----
> From: Ken Kyler [mailto:ken at kyler.com]
> Sent: Thursday, August 22, 2002 10:06 AM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [mapserver-users] configure problems
>
>
> 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