[mapserver-users] Compiling mapserver with options

Lime, Steve D (MNIT) steve.lime at state.mn.us
Mon Aug 19 12:51:09 PDT 2019


They are defaults as are GEOS, GDAL, PROJ (and I think PostGIS). Cmake does a pretty good job of finding things.

From: Jeremy JK [mailto:jeremy.jk at yandex.com]
Sent: Monday, August 19, 2019 9:27 AM
To: Lime, Steve D (MNIT) <steve.lime at state.mn.us>; mapserver-users <mapserver-users at lists.osgeo.org>
Subject: Re: [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.

Steve,
Thanks for the reply
This is what I came up with after viewing the CMakelists file

cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DWITH_GDAL
      -DWITH_PROJ=/usr/local
      -DWITH_POSTGIS=/usr/bin/pg_config
      -DWITH_CLIENT_WMS
      -DWITH_GEOS=/usr/local/bin/geos-config
      -DWITH_FCGI

but unsure about jpeg, freetype, png
How to compile w/ these options?
Or are they default?



19.08.2019, 02:08, "Lime, Steve D (MNIT)" <steve.lime at state.mn.us<mailto:steve.lime at state.mn.us>>:
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<https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmapserver.org%2Finstallation%2Funix.html&data=02%7C01%7Csteve.lime%40state.mn.us%7C6cb683c789e54741d7b708d724b14fc3%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C637018216278270884&sdata=LKXDGXW7aSXA3SglCRW8skjYAHYGPhp64pZnuxtF65E%3D&reserved=0> has complete instructions. Note that 7.4 doesn’t use GD any more.

—Steve
________________________________
From: mapserver-users <mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org>> on behalf of Jeremy JK <jeremy.jk at yandex.com<mailto:jeremy.jk at yandex.com>>
Sent: Saturday, August 17, 2019 6:52:56 PM
To: mapserver-users <mapserver-users at lists.osgeo.org<mailto: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






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/e8de3daf/attachment.html>


More information about the mapserver-users mailing list