[mapserver-users] Installing mapserver 6.4 with cmake - custom library paths

Jiří Kadlec jirikadlec2 at gmail.com
Tue Jan 28 02:03:54 PST 2014


I'm trying to install the latest version of mapserver (6.4) on my Linux
webhosting account (webfaction.com). The default libraries such as GDAL,
PROJ and Libxml2 on the WebFaction's server are quite old, so I installed
the latest versions of gdal, proj and libxml2 in my $HOME/lib directory.

I noticed that I should use the cmake tool to build mapserver. I need some
help with cmake: How do I tell cmake to use the proj, gdal and libxml2
 libraries from my $HOME/lib folder instead of the default locations?

Here is the content of my $HOME/lib folder:
drwxr-xr-x  2 keskari keskari      4096 Jan 25 19:45 gdalplugins
-rw-r--r--  1 keskari keskari 136728250 Jan 25 19:45 libgdal.a
-rwxr-xr-x  1 keskari keskari      1054 Jan 25 19:45 libgdal.la
lrwxrwxrwx  1 keskari keskari        17 Jan 25 19:45 libgdal.so ->
libgdal.so.1.17.1
lrwxrwxrwx  1 keskari keskari        17 Jan 25 19:45 libgdal.so.1 ->
libgdal.so.1.17.1
-rwxr-xr-x  1 keskari keskari  58424319 Jan 25 19:45 libgdal.so.1.17.1
-rw-r--r--  1 keskari keskari   2442638 Jan 28 07:37 libproj.a
-rwxr-xr-x  1 keskari keskari       922 Jan 28 07:37 libproj.la
lrwxrwxrwx  1 keskari keskari        16 Jan 28 07:37 libproj.so ->
libproj.so.0.7.0
lrwxrwxrwx  1 keskari keskari        16 Jan 28 07:37 libproj.so.0 ->
libproj.so.0.7.0
-rwxr-xr-x  1 keskari keskari   1143691 Jan 28 07:37 libproj.so.0.7.0
-rw-r--r--  1 keskari keskari   7214544 Jan 25 19:59 libxml2.a
-rwxr-xr-x  1 keskari keskari       932 Jan 25 19:59 libxml2.la
lrwxrwxrwx  1 keskari keskari        16 Jan 25 19:59 libxml2.so ->
libxml2.so.2.8.0
lrwxrwxrwx  1 keskari keskari        16 Jan 25 19:59 libxml2.so.2 ->
libxml2.so.2.8.0
-rwxr-xr-x  1 keskari keskari   4237533 Jan 25 19:59 libxml2.so.2.8.0
drwxrwxr-x  2 keskari keskari      4096 Jan 28 07:37 pkgconfig
drwx------  2 keskari keskari      4096 Aug 23  2012 python2.3
drwx------  2 keskari keskari      4096 Jun 26  2013 python2.4
drwx------  2 keskari keskari      4096 Aug 23  2012 python2.5
drwx------  3 keskari keskari      4096 Jan 25 19:59 python2.6
drwxrwxr-x 42 keskari keskari      4096 Nov 23 07:43 python2.7
-rw-r--r--  1 keskari keskari       216 Jan 25 19:59 xml2Conf.sh


-- 
Jiří Kadlec
Research Assistant
Aalto university
Lahti, Finland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140128/660d8a20/attachment.htm>


More information about the MapServer-users mailing list