[Mapserver-users] which ./configure options needed?

Benjamin Thelen benjamin.thelen at ccgis.de
Tue Apr 22 15:13:35 EDT 2003


Hello,

I would like to use mapserver with postgis 0.4.7 on FreeBSD 4.7. I have
installed the neccessary Software:

GD2 (from FreeBSD Ports-Collection)
PROJ4 (	"	)
LibWWW (	"	)
FreeType Version 2 (	"	)
GDAL 1.1.8 (	"	)
pgsql 7.3.2 (	"	)

postgis 0.7.4 (from tar.gz)

What I couldn't install seperately was OGR, but as I could read on
http://gdal.velocet.ca/projects/opengis/ that OGR is part of the GDAL
library, I think that's it.


I would like to start compiling, but I am quite unsure what options for the
configure-skript I have to take, because it is written in the mapserver
documentation that "Some libraries will NEVER be detected by default, and
HAVE to be specified via the configure script". That would mean to me that I
only have to take those options
--with-proj, --with-ogr, --with-gdal, --with-wmsclient (I don't need mpatrol
and sde), which are never detected and the rest will be detected
automatically. But somehow I think, I am wrong ;-)!

If ogr is part of gdal, why do I have to specify ogr seperately? I don't
know how to specify the correct path to the installed software because,
there are so many libraries installed with the software. If I had a specific
file I would have to specify, no problem, but application path...?

Do I have to specify the following two?
 --with-postgis	(automatically detected?)
 --with-php		(automatically detected?)


I would try the following:

./configure
 --with-gd=/usr/local/share/locale/l10n	(not sure)
 --with-proj=/usr/local/bin/			(quite sure)
 --with-ogr= ?? 					(see above !!)
 --with-gdal=/usr/local/bin/gdal-config 	(sure)
 --with-php=/usr/local/bin/php		(sure)
 --with-wmsclient					(sure)
 --enable-runpath	(sure, but what about the additional options)
 --with-postgis=/usr/local/bin/pg_config	(sure)


I am definitely not sure, whether to specify the following:

 --with-jpeg[=DIR]	(not neccessary because auf GD2?)
 --with-zlib		(automatically detected?)
 --with-freetype		(automatically detected?)


Can anybody help?

Thanks very much!
Benjamin












More information about the mapserver-users mailing list