Re: Compiling mapserver with options

Jeremy JK <[email protected]> Mon, 19 Aug 2019 15:52:31 -0400
Newsgroups gmane.comp.gis.mapserver.user
Message-ID <[email protected]>
OK Great

19.08.2019, 15:51, "Lime, Steve D (MNIT)" <[email protected]>:

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:[email protected] ]

Sent: Monday, August 19, 2019 9:27 AM

To: Lime, Steve D (MNIT) <[email protected] >; mapserver-users <[email protected] >

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)" <[email protected] >:

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 <[email protected] >
on behalf of Jeremy JK <[email protected] >

Sent: Saturday, August 17, 2019 6:52:56 PM

To: mapserver-users <[email protected] >

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

Jeremy Kadir

Department of Geomatics Eng. & Land Mgmt.

The University of the West Indies

(868) 309 9123

_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users