[mapserver-users] Installation of Mapserver 6.4.1
samuelmesa at gmail.com
samuelmesa at gmail.com
Wed Nov 5 17:12:17 PST 2014
Hi Stefanos, the next is the instructions for compiling Mapserver in Arch
Linux [1]:
1. cd to src mapserver
2. rm CMakeCache.txt CMakeFiles
3. mkdir build
4. cd build
5. compiling as:
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DPYTHON_LIBRARIES=/usr/lib/python2.7 \
-DPYTHON_INCLUDE_PATH=/usr/include/python2.7 \
-DFRIBIDI_INCLUDE_DIR="/usr/include/glib-2.0;/usr/lib/glib-2.0/include;/usr/include/fribidi"
\
-DWITH_CAIRO=ON \
-DWITH_CLIENT_WFS=ON \
-DWITH_CLIENT_WMS=ON \
-DWITH_CSHARP=OFF \
-DWITH_CURL=ON \
-DWITH_EXEMPI=OFF \
-DWITH_FCGI=ON \
-DWITH_FRIBIDI=ON \
-DWITH_GD=OFF \
-DWITH_GDAL=ON \
-DWITH_GENERIC_NINT=OFF \
-DWITH_GEOS=ON \
-DWITH_GIF=ON \
-DWITH_ICONV=ON \
-DWITH_JAVA=OFF \
-DWITH_KML=ON \
-DWITH_LIBXML2=ON \
-DWITH_MSSQL2008=OFF \
-DWITH_MYSQL=OFF \
-DWITH_OGR=ON \
-DWITH_ORACLESPATIAL=OFF \
-DWITH_ORACLE_PLUGIN=OFF \
-DWITH_PERL=OFF \
-DWITH_PHP=ON \
-DWITH_POINT_Z_M=OFF \
-DWITH_POSTGIS=ON \
-DWITH_PROJ=ON \
-DWITH_PYTHON=ON \
-DWITH_RSVG=OFF \
-DWITH_RUBY=OFF \
-DWITH_SDE=OFF \
-DWITH_SDE_PLUGIN=OFF \
-DWITH_SOS=ON \
-DWITH_SVGCAIRO=ON \
-DWITH_THREAD_SAFETY=ON \
-DWITH_WCS=ON \
-DWITH_WFS=ON \
-DWITH_WMS=ON \
-DWITH_XMLMAPFILE=OFF \
-DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
6. make clean && make
7. make install
regards,
Samuel Mesa.
[1] https://aur.archlinux.org/packages/ma/mapserver/PKGBUILD
2014-11-04 17:44 GMT-05:00 Stefanos Anastasiou <emperor_stef at yahoo.gr>:
> Hello.!!
>
>
> I'm wondering if the installation should be made only with cmake. Can't
> someone just use the repos ? I'm trying to use cmake but getting a lot or
> errors, probably having to do with the PREFIX path. So I'm feeling pretty
> confused. I'm also not that good with linux file system hierarchy.
>
>
> Thanks
>
>
> Stefanos
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
--
---
.~.
/ v \
// \\
/( )\
^`~'^
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20141105/c0553df1/attachment.htm>
More information about the MapServer-users
mailing list