delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/20/08:33:54

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:from:to:subject:date:in-reply-to
:references:content-type:content-transfer-encoding:mime-version;
q=dns; s=default; b=y3OVQrpN9lMcGQVokDLXcvvlCtKsS0+yGBW+vpCrDEE
Ps1vgB7v/KlVDqpcH0qg3LEI0oJAdfnrLlGMstxekkF/unwWTWpa9ldz6+vzuH/7
XnVCc05MY9+EjJa/x6Su84Rv0D6g0BddPyR1M5HUdSsTHbDJTKVMyKaXpP0yIVSw
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:from:to:subject:date:in-reply-to
:references:content-type:content-transfer-encoding:mime-version;
s=default; bh=Zm5bHJ1oGARMjFjqMPfEEcALiJI=; b=d2Kb8wU/urKPJvDDR
zTN3j+Ce0m+RGgZt5b2yw2Tx1JJBN0J7ssLNH/VFksmQW0tJi2AE3K/kVepdfQ1O
51XA4rIHUyXxrQULhGkIQuYiUOsS3+J6C1KnWLO9MRF2AOpYPQ/1jNOV2ztKrXFZ
i4t7lyDsLVWYEf84fSyh5chCjM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: DUB004-OMC1S26.hotmail.com
X-TMN: [ZPk4crYvMuEqDgdxtSNusIIP9uqbqi5J]
Message-ID: <DUB124-W24252E6C16224F056D77EBB0970@phx.gbl>
From: "Gery ." <gamejihou AT hotmail DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: installing mapserver in cygwin - regex.c problem
Date: Mon, 20 Oct 2014 12:33:32 +0000
In-Reply-To: <DUB124-W41E2ADE7BBA1D770A13918B0970@phx.gbl>
References: <DUB124-W41E2ADE7BBA1D770A13918B0970 AT phx DOT gbl>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s9KCXoon006440

I found the solution, it basically was to change this:

    -DCMAKE_LEGACY_CYGWIN_WIN32=1

to

    -DCMAKE_LEGACY_CYGWIN_WIN32=0

so, I used:

    cmake .. -DWITH_OGR=0 -DWITH_GDAL=0 -DWITH_WCS=0 -DWITH_WFS=0 -DCMAKE_LEGACY_CYGWIN_WIN32=0

and Mapserver compiled flawlessly.

Thanks for all your comments and great interest!! :v



----------------------------------------
> From: gamejihou AT hotmail DOT com
> To: cygwin AT cygwin DOT com
> Subject: installing mapserver in cygwin - regex.c problem
> Date: Mon, 20 Oct 2014 09:17:08 +0000
>
> 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 AT 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 AT gery /opt/mapserver/mapserver-6.4.1/build
> $
> --
>
> then it stops. make and make install do nothing, just a "stop" message appears:
>
> --
> Gery AT gery /opt/mapserver/mapserver-6.4.1/build
> $ make
> make: *** No targets specified and no makefile found. Stop.
>
> Gery AT 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019