[mapserver-users] Compiling mapserver with options

Lime, Steve D (MNIT) steve.lime at state.mn.us
Sun Aug 18 23:06:42 PDT 2019


That should be a pretty vanilla 7.4 install. The new versions use cmake so from source it would be something like this from the source directory...

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
make install

This page https://mapserver.org/installation/unix.html has complete instructions. Note that 7.4 doesn’t use GD any more.

—Steve
________________________________
From: mapserver-users <mapserver-users-bounces at lists.osgeo.org> on behalf of Jeremy JK <jeremy.jk at yandex.com>
Sent: Saturday, August 17, 2019 6:52:56 PM
To: mapserver-users <mapserver-users at lists.osgeo.org>
Subject: [mapserver-users] Compiling mapserver with options


This message may be from an external email source.
Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center.


Hello all,

OK
My supervisor wants me to compile mapserver version 6.2.1 like so

./configure --prefix=/usr --with-gdal --with-proj=/usr/local --with-jpeg --with-freetype --with-postgis=/usr/bin/pg_config --with-wmsclient --with-geos=/usr/local/bin/geos-config --with-fastcgi=/usr/lib --with-gif=no --with-gd --with-png

now gdal, proj, freetype, postgis and fastcgi have all been installed on RHEL 7.3 server

But
I want to use the latest mapserver 7.4.1
but that uses cmake
how compile mapserver 7 with the configuration like 6 above?
Thanks for the guidance

Jeremy Kadir
Department of Geomatics Eng. & Land Mgmt.
The University of the West Indies
(868) 309 9123



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190819/02e55dda/attachment.html>


More information about the mapserver-users mailing list