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

Rahkonen Jukka (Tike) jukka.rahkonen at mmmtike.fi
Wed Jan 29 00:53:20 PST 2014


Hi,

I do not understand these things at all but I found our log file for CentOS and dislike your command is starts with “make clean”. Here is a part of the log. Custom library paths have been stored before this into "$GEOS;$PROJ;$GDAL;

make clean >/dev/null 2>&1
rm -rf CMakeFiles CMakeCache.txt mapserv
cmake . -DCMAKE_INSTALL_PREFIX="$TARGET" \
                           -DCMAKE_PREFIX_PATH="$GEOS;$PROJ;$GDAL;$HOME/apache" \
                           -DWITH_GD=1 \
                           -DWITH_PROJ=1 \
                           -DWITH_THREAD_SAFETY=0 \
                           -DWITH_GEOS=1 \
                           -DWITH_OGR=1 \
                           -DWITH_GDAL=1 \
                           -DWITH_WFS=1 \
                           -DWITH_WCS=1 \
                           -DWITH_CLIENT_WMS=1 \
                           -DWITH_CLIENT_WFS=1 \
                           -DWITH_SOS=1 \
                           -DWITH_CURL=1 \
                           -DWITH_LIBXML2=1 \
                           -DWITH_XMLMAPFILE=1 \
                           -DWITH_CAIRO=1 \
                           -DWITH_FCGI=1 \
                           -DWITH_APACHE_MODULE=0 \
                           -DWITH_WMS=1 \
                           -DWITH_FRIBIDI=0 \
                           -DWITH_POSTGIS=0 \
                           -DCMAKE_BUILD_TYPE=Release

# Fix a missing exslt bug
perl -p -i -e 's!^(LIBXSLT_LIBRARIES:FILEPATH=/usr/lib64/libxslt.so)$!$1;/usr/lib64/libexslt.so!' CMakeCache.txt
make -j2 || error
if [ "`find mapserv -mmin -2 2>/dev/null`" == "" ]; then error; fi
make install || error


-Jukka Rahkonen-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140129/86d9773a/attachment-0001.html>


More information about the mapserver-users mailing list