[mapserver-users] Σχετ: Installation of Mapserver 6.4.1

Samuel Mesa samuelmesa at gmail.com
Mon Nov 10 11:34:50 PST 2014


What distribution of Linux you are using Stefanos?. I think you could 
use a package manager to install dependencies and Mapserver.

El lun, 10 de nov 2014 a las 1:04 PM, Stefanos Anastasiou 
<emperor_stef at yahoo.gr> escribió:
> Hello Samuel..!!!
> 
> No I'm getting the following error:
> 
> CMake Error at CMakeLists.txt:49 (message):
>   GEOS library/component/dependency could not be found.
> 
> -- Could NOT find SVG (missing:  SVG_LIBRARY SVG_INCLUDE_DIR)
> -- Could NOT find SVGCAIRO (missing:  SVGCAIRO_LIBRARY 
> SVGCAIRO_INCLUDE_DIR)
> CMake Error at CMakeLists.txt:49 (message):
>   SVGCAIRO library/component/dependency could not be found.
> 
>  Could NOT find GDAL (missing:  GDAL_LIBRARY GDAL_INCLUDE_DIR)
> CMake Error at CMakeLists.txt:567 (message):
>   GDAL library could not be found and is needed for OGR support.
> 
> Found CURL: /usr/lib/i386-linux-gnu/libcurl.so (found version 
> "7.35.0")
> CMake Error at CMakeLists.txt:60 (message):
>   CLIENT_WMS support requires GDAL support, however GDAL support has 
> been
>   disabled.
> 
> CMake Error at CMakeLists.txt:60 (message):
>   CLIENT_WFS support requires OGR support, however OGR support has 
> been
>   disabled.
> 
> CMake Error at CMakeLists.txt:60 (message):
>   WFS support requires OGR support, however OGR support has been 
> disabled.
> 
> 
> CMake Error at CMakeLists.txt:60 (message):
>   KML support requires LIBXML2 support, however LIBXML2 support has 
> been
>   disabled.
> 
> CMake Error at CMakeLists.txt:60 (message):
>   SOS support requires LIBXML2 support, however LIBXML2 support has 
> been
>   disabled.
> 
> CMake Error at CMakeLists.txt:49 (message):
>   GIF library/component/dependency could not be found.
> CMake Error at 
> /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 
> (message):
>   Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
> 
> 
> 
> Does is have to do with the compiling of the libraries?  I installed 
> all libraries and their .dev through the repositories. Does it have 
> to do anything?
> 
> Thanks a lot.
> 
> Stefanos
> 
> 
> 
> 
> 
> 
> 
> Στις 10:10 μ.μ. Σάββατο, 8 Νοεμβρίου 2014, 
> ο/η "samuelmesa at gmail.com" <samuelmesa at gmail.com> έγραψε:
> 
> 
> 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/20141110/89092c95/attachment.html>


More information about the mapserver-users mailing list