[geos-devel] RE: [postgis-devel] Can't compile Geos 3.1 underOpenSUSE anymore

Obe, Regina robe.dnd at cityofboston.gov
Tue Jan 13 10:54:01 EST 2009


Okay that fixed my OpenSUSE compile problem.

On MingW, getting a different error now -- but haven't done a complete
clean blowout so it could be remnants of something else.  But just in
case.  Below is what I get under MingW


-DDLL_EXPORT -DPIC -o .libs/libgeos_c_la-geos_ts_c.o
geos_ts_c.cpp: In function `char*
GEOSisValidReason_r(GEOSContextHandle_HS*, const
geos::geom::Geometry*)':
geos_ts_c.cpp:587: error: `strdup' was not declared in this scope
geos_ts_c.cpp:587: warning: unused variable 'strdup'
geos_ts_c.cpp: In function `char
GEOSWKBWriter_getIncludeSRID_r(GEOSContextHandle_HS*, const
GEOSWKBWriter*)':
geos_ts_c.cpp:3682: warning: converting to non-pointer type `char' from
NULL
geos_ts_c.cpp:3688: warning: converting to non-pointer type `char' from
NULL
geos_ts_c.cpp:3699: warning: converting to non-pointer type `char' from
NULL
make[1]: *** [libgeos_c_la-geos_ts_c.lo] Error 1
make[1]: Leaving directory `/D/SVNProjects/geos/trunk/capi'
make: *** [all-recursive] Error 1


I'll be testing under Visual Studio in the next day or so.

 

-----Original Message-----
From: geos-devel-bounces at lists.osgeo.org
[mailto:geos-devel-bounces at lists.osgeo.org] On Behalf Of Paul Ramsey
Sent: Tuesday, January 13, 2009 10:49 AM
To: GEOS Development List
Subject: Re: [geos-devel] RE: [postgis-devel] Can't compile Geos 3.1
underOpenSUSE anymore

Yep, same here on a fresh checkout. And there was indeed a file
missing from my check-in. Fixed at r2233.

P.

On Tue, Jan 13, 2009 at 7:02 AM, Obe, Regina <robe.dnd at cityofboston.gov>
wrote:
> Mark,
>
> Good thought.  I can't remember if I did an autogen or not, but just
did
> and my OpenSUSE is still compiling.
>
> My MingW install which I did do an sh autogen.sh , configure, make
> clean, make is failing with the same error
>
>  g++ -DHAVE_CONFIG_H -I. -I. -I../source/headers
> -I../source/headers/geos -I../source/headers
> -DGEOS_CAPI_VERSION=\"3.1.0-CAPI-1.5.0\" -DGEOS_JTS_PORT=\"1.7.1\" -g
> -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT
> libgeos_c_la-geos_c.lo -MD -MP -MF .deps/libgeos_c_la-geos_c.Tpo -c
> geos_c.cpp  -DDLL_EXPORT -DPIC -o .libs/libgeos_c_la-geos_c.o
>  g++ -DHAVE_CONFIG_H -I. -I. -I../source/headers
> -I../source/headers/geos -I../source/headers
> -DGEOS_CAPI_VERSION=\"3.1.0-CAPI-1.5.0\" -DGEOS_JTS_PORT=\"1.7.1\" -g
> -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT
> libgeos_c_la-geos_c.lo -MD -MP -MF .deps/libgeos_c_la-geos_c.Tpo -c
> geos_c.cpp -o libgeos_c_la-geos_c.o >/dev/null 2>&1
> make[1]: *** No rule to make target `geos_ts_c.cpp', needed by
> `libgeos_c_la-geos_ts_c.lo'.  Stop.
> make[1]: Leaving directory `/D/SVNProjects/geos/trunk/capi'
> make: *** [all-recursive] Error 1
>
>
> Have you tried the latest one?
>
> My next step is to blow out my geos source and start from scratch.
>
> Thanks,
> Regina
>
> -----Original Message-----
> From: postgis-devel-bounces at postgis.refractions.net
> [mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of
Mark
> Cave-Ayland
> Sent: Tuesday, January 13, 2009 9:45 AM
> To: PostGIS Development Discussion
> Subject: Re: [postgis-devel] Can't compile Geos 3.1 under OpenSUSE
> anymore
>
> Obe, Regina wrote:
>
>> I assume this is because of the recent changes.  I did an svn up and
a
>> reconfigure and then compile under OpenSUSE.
>>
>> I get this error
>>
>>  g++ -DHAVE_CONFIG_H -I. -I../source/headers -I../source/headers/geos
>> -I../source/headers -DGEOS_CAPI_VERSION=\"3.1.0-CAPI-1.5.0\"
>> -DGEOS_JTS_PORT=\"1.7.1\" -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic
>> -Wno-long-long -MT libgeos_c_la-geos_c.lo -MD -MP -MF
>> .deps/libgeos_c_la-geos_c.Tpo -c geos_c.cpp -o libgeos_c_la-geos_c.o
>>> /dev/null 2>&1
>> mv -f .deps/libgeos_c_la-geos_c.Tpo .deps/libgeos_c_la-geos_c.Plo
>> make[1]: *** No rule to make target `geos_ts_c.cpp', needed by
>> `libgeos_c_la-geos_ts_c.lo'.  Stop.
>> make[1]: Leaving directory `/projects/geos-3.1.0SVN/capi'
>> make: *** [all-recursive] Error 1
>>
>> Am I missing something?
>>
>> Thanks,
>> Regina
>
> Hmmm the "ts" part implies this is something to do with the
thread-safe
> API patch. Perhaps you need to re-run autogen.sh so that it picks up
the
>
> new files? Failing that does a brand new checkout work?
>
>
> HTH,
>
> Mark.
>
> --
> Mark Cave-Ayland
> Sirius Corporation - The Open Source Experts
> http://www.siriusit.co.uk
> T: +44 870 608 0063
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
> -----------------------------------------
> The substance of this message, including any attachments, may be
> confidential, legally privileged and/or exempt from disclosure
> pursuant to Massachusetts law. It is intended
> solely for the addressee. If you received this in error, please
> contact the sender and delete the material from any computer.
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel
>
_______________________________________________
geos-devel mailing list
geos-devel at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geos-devel
-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.


More information about the geos-devel mailing list