[mapserver-users] configure problems
Doyon, Jean-Francois
Jean-Francois.Doyon at ccrs.nrcan.gc.ca
Thu Aug 22 09:19:14 PDT 2002
Ken,
Although you have the binary libraries, you also NEED the header files for
said libraries. Since you say you have the libraries themselves in the
appropriate location, I would next go on to check that you have the required
header files (/usr/include/, /usr/local/include, etc ..).
I don't know how it works on FreeBSD, but on RedHat-based systems, this
usually means you need the "development" (gd-dev for instance) version of
any given package. The default package contains the binaries, the dev
package contains header files, and source code and such things ...
J.F.
-----Original Message-----
From: Ken Kyler [mailto:ken at kyler.com]
Sent: Thursday, August 22, 2002 11: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