[mapserver-users] Installation of Mapserver 6.4.1

samuelmesa at gmail.com samuelmesa at gmail.com
Sat Nov 8 12:10:30 PST 2014


Try again decompressing the src and ignore step 2:

2. rm CMakeCache.txt CMakeFiles

regards,

Samuel Mesa.

2014-11-08 14:31 GMT-05:00 Stefanos Anastasiou <emperor_stef at yahoo.gr>:

> Hi Samuel,
>
> Thank you for the reply..!!!  I'm getting the following error : CMake
> Error: The source directory "/usr/local/src/mapserver-6.4.1/build" does not
> appear to contain CMakeLists.txt.
> Specify --help for usage, or press the help button on the CMake GUI.
>
> If I use CMake GUI I get permission error. I've placed the folder in
> /usr/local/src.     What should I do ?
>
> Stefanos
>
>
>   Στις 3:12 π.μ. Πέμπτη, 6 Νοεμβρίου 2014, ο/η "samuelmesa at gmail.com" <
> samuelmesa at gmail.com> έγραψε:
>
>
> 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 \
>   //    \\
>  /(      )\
>    ^`~'^
>
>
>


-- 
---
    .~.
   / v \
  //    \\
 /(      )\
   ^`~'^
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20141108/2167a5f3/attachment.html>


More information about the mapserver-users mailing list