This is the mail archive of the
cygwin
mailing list for the Cygwin project.
installing mapserver in cygwin - regex.c problem
- From: "Gery ." <gamejihou at hotmail dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Mon, 20 Oct 2014 09:17:08 +0000
- Subject: installing mapserver in cygwin - regex.c problem
- Authentication-results: sourceware.org; auth=none
Hi,
This is my first time installing mapserver in cygwin, but I'm a quite old user of both cygwin and mapserver (but still young =D ).
The thing is that I'm getting a regex issue after doing cmake in the build directory inside the mapserver-6.4.1 directory (after doing tar -zxvf mapserver-6.4.1.tar.gz, etc, etc). My cygwin installation meets all the requirements afaik to build mapserver. I'm not sure, though, if regex.h is causing a problem. This is what I get after running cmake:
--
Gery@gery /opt/mapserver/mapserver-6.4.1/build
$ cmake .. -DWITH_CLIENT_WMS=1 -DWITH_CLIENT_WFS=1 -DWITH_SOS=1 -DWITH_KML=1 -DWITH_PHP=1 -DWITH_PERL=1 -DWITH_PYTHON=1 -DWITH_GD=1 -DWITH_GDAL=1 -DCMAKE_PREFIX_PATH="/opt/gdal/gdal-1.11.0" -DWITH_OGR=1 -DWITH_PROJ=1 -DCMAKE_LEGACY_CYGWIN_WIN32=1 -DWITH_ICONV=0 -DWITH_EXEMPI=0 -DWITH_MYSQL=0
-- Defining WIN32 under Cygwin due to CMAKE_LEGACY_CYGWIN_WIN32
-- /usr/include/php/main
-- Found PHP5-Version 5.5.16 (using /usr/bin/php-config)
-- * Summary of configured options for this build
-- * Mandatory components
-- * png: /usr/lib/libpng.dll.a
-- * jpeg: /usr/lib/libjpeg.dll.a
-- * freetype: /usr/lib/libfreetype.dll.a
-- * Optional components
-- * GDAL: /opt/gdal/gdal-1.11.0/libgdal.a
-- * OGR: /opt/gdal/gdal-1.11.0/libgdal.a
-- * GD: /usr/lib/libgd.dll.a
-- * GIF: /usr/lib/libgif.dll.a
-- * MYSQL: disabled
-- * FRIBIDI: /usr/lib/libfribidi.dll.a
-- * GIF: /usr/lib/libgif.dll.a
-- * CAIRO: /usr/lib/libcairo.dll.a
-- * SVGCAIRO: disabled
-- * RSVG: disabled
-- * CURL: /usr/lib/libcurl.dll.a
-- * PROJ: /usr/lib/libproj.dll.a
-- * LIBXML2: /usr/lib/libxml2.dll.a
-- * POSTGIS: /usr/lib/libpq.a
-- * GEOS: /usr/local/lib/libgeos_c.dll.a
-- * FastCGI: /usr/lib/libfcgi.dll.a
-- * Oracle Spatial: disabled
-- * SDE: disabled
-- * Exempi XMP: disabled
-- * Optional features
-- * WMS SERVER: ENABLED
-- * WFS SERVER: ENABLED
-- * WCS SERVER: ENABLED
-- * SOS SERVER: ENABLED
-- * WMS CLIENT: ENABLED
-- * WFS CLIENT: ENABLED
-- * ICONV: disabled
-- * Thread-safety support: disabled
-- * KML output: ENABLED
-- * Z+M point coordinate support: disabled
-- * XML Mapfile support: disabled
-- * Mapscripts
-- * Python: ENABLED
-- * PHP: ENABLED
-- * PERL: ENABLED
-- * RUBY: disabled
-- * JAVA: disabled
-- * C&: disabled
-- * Apache Module (Experimental): disabled
--
-- Will install files to /usr/local
-- Will install libraries to /usr/local/lib
-- Configuring done
CMake Error at CMakeLists.txt:233 (add_library):
Cannot find source file:
//regex.c
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
-- Build files have been written to: /opt/mapserver/mapserver-6.4.1/build
Gery@gery /opt/mapserver/mapserver-6.4.1/build
$
--
then it stops. make and make install do nothing, just a "stop" message appears:
--
Gery@gery /opt/mapserver/mapserver-6.4.1/build
$ make
make: *** No targets specified and no makefile found. Stop.
Gery@gery /opt/mapserver/mapserver-6.4.1/build
$ make install
make: *** No rule to make target 'install'. Stop.
--
Any ideas?
Thanks in advance,
Gery
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple