delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/16/16:58:12

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:cc:subject:date:in-reply-to
:references:content-type:content-transfer-encoding:mime-version;
q=dns; s=default; b=wJ+uApqDeIBuaUvy4MmMJLZk+G7MMJ4nymYoCMU3RQP
6yHZpgqc5b4GyXj2BbnXN5JJtq6w7HqGbwxPAQ473uaxTXypjKbF/9fDmhVXpGIP
JSF6hnYFEFhX1SoeX8ZrOt9H5+R1309CICPaEC7O3UUwciyzxwfzNoTVTTKbuT60
=
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:cc:subject:date:in-reply-to
:references:content-type:content-transfer-encoding:mime-version;
s=default; bh=yPo4GyCx3ukhxtenvIHTemk7msw=; b=AVCs9JeCsrzLDA8W1
HJr3o2ffDAezB4L2GD7toqlA8JnVNfrh30s62Bd4fnZWPIkZH6Crb1cmVS2/DxNK
gwOafGYbOcpDr13zgeav523g1u9Pm0jB0EYJxVthMZNvbJdjRTKaXUhV933dqZq+
EZomg9FPfC4WlELgWHlcXDTMfM=
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=2.3 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,KAM_INFOUSME,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: DUB004-OMC4S4.hotmail.com
X-TMN: [lTk4QbULJYacTc2NHWtwSMph9PLTkz8Z]
Message-ID: <DUB129-W91A579A7201012A85C5979B0D60@phx.gbl>
From: "Gery ." <gamejihou AT hotmail DOT com>
To: PostGIS Users Discussion <postgis-users AT lists DOT osgeo DOT org>
CC: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: [postgis-users] FW: json/json.h: No such file or directory
Date: Sat, 16 Aug 2014 20:57:46 +0000
In-Reply-To: <8539110A21544E55BED2195E62412723@O>
References: <DUB129-W434AFA4D0F18A3FC9EA40FB0D60 AT phx DOT gbl>,,<DUB129-W53D7768A291151DC7C6818B0D60 AT phx DOT gbl>,,<B060C00A4AB4425BAA2C01E063F8E10A AT O>,<DUB129-W5CABFB6C1F9C3406AE2F2B0D60 AT phx DOT gbl>,<8539110A21544E55BED2195E62412723 AT O>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s7GKw63A000548

Thanks again Regina, good news, I recently successfully installed the 2.1.4dev version in my cygwin. The -lpostgres problem was solved by Marco Atzeri, here it's his message, that *.a file did the trick: https://cygwin.com/ml/cygwin/2014-08/msg00321.html.

So, you asked why, well, it's simply because I just stop rebooting my pc to a linux os, or using VM. The former was good for a while, whereas the latter was not that good at all because it was slow and my pc doesn't have much ram. I normally use several apps that only run in linux (eg. seismic unix) and are interrelated by shell scripts (eg. gmt, seismic unix, pgsql, mb, etc) as well as several that run only in windows. So, booting every time because I just needed to change somethings or manage some other things was boring. Cygwin helps me with that.

Just to summarize things, with the latest cygwin 32-bit (I installed it like 1-2 days ago) neither GEOS or GDAL actually gave error messages (some with python I think for the latter), and PostGIS installed flawlessly. All of them gave warnings, though, but they are warnings. This Cygwin latest version comes with netcdf4, json-c, libxml2, hdf5, Pgsql9.3, proj4, etc, etc, so, nicely installed. I'll ask if some other open-source software can also be added in the Science package, such as gmt, gdal, geos, su, mb, etc.

Thanks again,

Cheers,

Gery


__________________________________________________________________________________________
Piensa en el medio ambiente - mantenlo en la pantalla. NO lo imprimas si NO es necesario.
Think green - keep it on the screen. Do NOT print if it is NOT necessary.
Denken Sie an die Umwelt - bewahren Sie es auf dem Bildschirm. Drucken Sie es NICHT, wenn es NICHT notwendig ist.


----------------------------------------
> From: lr AT pcorp DOT us
> To: postgis-users AT lists DOT osgeo DOT org
> Date: Sat, 16 Aug 2014 15:05:21 -0400
> Subject: Re: [postgis-users] FW: json/json.h: No such file or directory
>
> Gery,
>
> Sorry didn't read this before I sent the other. Is there a particular
> reason you chose Cygwin to build with. For the windows packages I build
> with mingw64. Haven't used cygwin in ages.
>
> I can provide you with my 32-bit build chain (have a couple actually) if
> your only reason is to build for windows.
>
>
>
> -----Original Message-----
> From: postgis-users-bounces AT lists DOT osgeo DOT org
> [mailto:postgis-users-bounces AT lists DOT osgeo DOT org] On Behalf Of Gery .
> Sent: Saturday, August 16, 2014 1:11 PM
> To: PostGIS Users Discussion
> Subject: Re: [postgis-users] FW: json/json.h: No such file or directory
>
> Hello Regina,
>
> Thanks for your reply, I have these ones installed in cygwin (latest version
> 32-bit):
>
> Gery AT gery /opt/postgis/postgis-2.1.3
>
> $ cygcheck -c | grep json
>
> json-c-debuginfo 0.11-2 OK
> libjson-c-common 0.11-2 OK
> libjson-c-devel 0.11-2 OK
> libjson-c2 0.11-2 OK
> libjson-devel 0.11-2 OK
> libjson0 0.9-1 OK
> ruby-json 1.8.0-1 OK
>
> Surprisingly, neither geos nor gdal has given error messages. I read some
> posts about that things were not smooth in cygwin with postgis as far as I
> remember, but here this has been the only complain. I have installed both
> libjson-c2 (version 0.11-2) and libjson0 (version 0.9-1), would that be the
> problem?
>
> I'll follow your suggestion and try postgis 2.1.4dev, and send a message if
> nothing improves.
>
> Gery
>
>
>
> Sent from Windows Mail
>
> ----------------------------------------
>> From: lr AT pcorp DOT us
>> To: postgis-users AT lists DOT osgeo DOT org
>> Date: Sat, 16 Aug 2014 12:32:37 -0400
>> Subject: Re: [postgis-users] FW: json/json.h: No such file or
>> directory
>>
>> It's related to json version. Which version are you building with?
>>
>>
>> I suspect you are running a newer json. This should be fixed in 2.1.4
>> (2.1
>> trunk)
>>
>> If you are building from source anyway, you might want to use our
>> 2.1.4dev or cut in the fix from
>>
>> http://trac.osgeo.org/postgis/ticket/2723
>>
>> Hope that helps,
>> Regina
>> http://www.postgis.us
>> http://postgis.net
>>
>>
>>
>>
>> -----Original Message-----
>> From: postgis-users-bounces AT lists DOT osgeo DOT org
>> [mailto:postgis-users-bounces AT lists DOT osgeo DOT org] On Behalf Of Gery .
>> Sent: Saturday, August 16, 2014 8:50 AM
>> To: postgis-users AT lists DOT osgeo DOT org
>> Subject: [postgis-users] FW: json/json.h: No such file or directory
>>
>> Hello,
>>
>> I just received this after 'make' in version 2.1.3:
>>
>> libtool: compile: gcc -g -O2 -DDLL_EXPORT -DPIC -Wall
>> -Wmissing-prototypes -I/usr/local/include -c lwin_geojson.c
>> -DDLL_EXPORT -DPIC -o .libs/lwin_geojson.o
>> lwin_geojson.c:20:23: fatal error: json/json.h: No such file or
>> directory &include <json/json.h> ^ compilation terminated.
>> Makefile:156: recipe for target 'lwin_geojson.lo' failed
>> make[1]: *** [lwin_geojson.lo] Error 1
>> make[1]: Leaving directory '/opt/postgis/postgis-2.1.3/liblwgeom'
>> GNUmakefile:14: recipe for target 'all' failed
>> make: *** [all] Error 1
>>
>> I read that this is a problem related to Geos 3.4.2. My configuration is:
>>
>> -------------- Compiler Info ------------- C compiler: gcc -g -O2
>> C++ compiler: g++ -g -O2
>> SQL preprocessor: /usr/bin/cpp -w -traditional-cpp -P
>>
>> -------------- Dependencies -------------- GEOS config:
>> /usr/local/bin/geos-config GEOS version: 3.4.2 GDAL config:
>> /usr/local/bin/gdal-config GDAL version: 1.11.0 PostgreSQL config:
>> /usr/bin/pg_config PostgreSQL version: PostgreSQL 9.3.5
>> PROJ4 version: 46
>> Libxml2 config: /usr/bin/xml2-config
>> Libxml2 version: 2.9.1
>> JSON-C support: yes
>> PostGIS debug level: 0
>> Perl: /usr/bin/perl
>>
>> --------------- Extensions --------------- PostGIS Raster: enabled
>> PostGIS
>> Topology: enabled SFCGAL support: disabled
>>
>> -------- Documentation Generation --------
>> xsltproc: /usr/bin/xsltproc
>> xsl style sheets: /usr/share/sgml/docbook/xsl-stylesheets
>> dblatex: /usr/bin/dblatex
>> convert: /usr/bin/convert
>> mathml2.dtd: http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
>>
>> How can I circumvent this json/json.h problem and finish the
>> installation of postgis?
>>
>> Gery
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users AT lists DOT osgeo DOT org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>>
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users AT lists DOT osgeo DOT org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
> _______________________________________________
> postgis-users mailing list
> postgis-users AT lists DOT osgeo DOT org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users AT lists DOT osgeo DOT org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
 		 	   		  
--
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