<div dir="ltr"><div>Try again decompressing the src and ignore step 2:<br><br>2. rm CMakeCache.txt CMakeFiles<br><br></div><div>regards,<br><br></div><div>Samuel Mesa.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-08 14:31 GMT-05:00 Stefanos Anastasiou <span dir="ltr"><<a href="mailto:emperor_stef@yahoo.gr" target="_blank">emperor_stef@yahoo.gr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:bookman old style,new york,times,serif;font-size:14px"><div dir="ltr"><span>Hi Samuel,</span></div><div dir="ltr"><br></div><div dir="ltr">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.</div><div dir="ltr">Specify --help for usage, or press the help button on the CMake GUI.</div><div><br></div><div dir="ltr">If I use CMake GUI I get permission error. I've placed the folder in /usr/local/src. What should I do ? </div><div dir="ltr"><br></div><div dir="ltr">Stefanos</div> <div><br><br></div><div style="display:block"> <div style="font-family:bookman old style,new york,times,serif;font-size:14px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div dir="ltr"> <font face="Arial"> Στις 3:12 π.μ. Πέμπτη, 6 Νοεμβρίου 2014, ο/η "<a href="mailto:samuelmesa@gmail.com" target="_blank">samuelmesa@gmail.com</a>" <<a href="mailto:samuelmesa@gmail.com" target="_blank">samuelmesa@gmail.com</a>> έγραψε:<br> </font> </div><div><div> <br><br> <div><div><div><div dir="ltr"><div><div><div>Hi Stefanos, the next is the instructions for compiling Mapserver in Arch Linux [1]:<br clear="none"><br clear="none"></div>1. cd to src mapserver <br clear="none">2. rm CMakeCache.txt CMakeFiles<br clear="none">3. mkdir build <br clear="none"></div>4. cd build<br clear="none"></div>5. compiling as:<br clear="none"><div><pre> cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON_EXECUTABLE=/usr/bin/python2 \<br clear="none"> -DPYTHON_LIBRARIES=/usr/lib/python2.7 \<br clear="none"> -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 \</pre><div><div>6. make clean && make<br clear="none"></div><div>7. make install<br clear="none"></div><div><br clear="none"></div><div>regards,<br clear="none"><br clear="none"></div><div>Samuel Mesa.<br clear="none"></div><div><br clear="none">[1] <a rel="nofollow" shape="rect" href="https://aur.archlinux.org/packages/ma/mapserver/PKGBUILD" target="_blank">https://aur.archlinux.org/packages/ma/mapserver/PKGBUILD</a><br clear="none"></div></div></div></div><div><br clear="none"><div>2014-11-04 17:44 GMT-05:00 Stefanos Anastasiou <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:emperor_stef@yahoo.gr" target="_blank">emperor_stef@yahoo.gr</a>></span>:<br clear="none"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello.!!</div><div dir="ltr"><br clear="none"></div><div dir="ltr">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.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Thanks</div><span><font color="#888888"></font></span><div dir="ltr"><br clear="none"></div><div dir="ltr">Stefanos</div><br clear="none">_______________________________________________<br clear="none">
mapserver-users mailing list<br clear="none">
<a rel="nofollow" shape="rect" href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br clear="none">
<a rel="nofollow" shape="rect" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><div><br clear="none"></div></blockquote></div><div><br clear="none"><br clear="all"><br clear="none">-- <br clear="none"><div>---<div> .~.<div> / v \</div><div> // \\</div><div> /( )\</div><div> ^`~'^</div></div></div>
</div></div></div></div><br><br></div> </div></div></div> </div> </div> </div></div></blockquote></div><br><br clear="all"><br>-- <br><div>---<div> .~.<div> / v \</div><div> // \\</div><div> /( )\</div><div> ^`~'^</div></div></div>
</div></div>