[postgis-devel] Build problem on Itanium2

strk at refractions.net strk at refractions.net
Tue Mar 8 08:18:55 PST 2005


On Tue, Mar 08, 2005 at 04:51:37PM +0100, Markus Schaber wrote:
> Hi, Strk,
> 
> strk at refractions.net schrieb:
> > It sounds as your compiler can't find geos.h, did you include *all*
> > errors / warnings ?
> > In case you're sure geos.h is found, does your
> > g++ line looks correct as of -I<path_to_geos_includes> ?
> 
> Yes, I think so. The GCC command line used was:

Check it out yourself, should be /usr/include/geos.h
Also, check ctime of it and files in /usr/include/geos/
--strk;

> 
> | g++ -g -O2 -DCHECK_RLIMIT_NOFILE -fno-strict-aliasing -g -Wall
> -Wmissing-prototypes -Wmissing-declarations -pipe -g -O2 -fexceptions
> -fPIC -DUSE_VERSION=74 -DPOSTGIS_LIB_VERSION='"1.0.0RC4"'
> -DPOSTGIS_SCRIPTS_VERSION='"0.2.1"' -DPOSTGIS_BUILD_DATE='"2005-03-08
> 15:10:52"' -I/usr/include -DUSE_GEOS -I/usr/include -DUSE_PROJ
> -I/usr/include -DAUTOCACHE_BBOX=1
> -I/home/schabi/postgresql-7.4.7/build-tree/postgresql-7.4.7/contrib/postgis/../../src/include
> -D_GNU_SOURCE  -I/usr/include/tcl8.4  -c -o lwgeom_geos_wrapper.o
> lwgeom_geos_wrapper.cpp
> | cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not
> for C++
> | [other errors from last mail]
> 
> There's no error about a missing header file.
> 
> > Finally, do postgis_geos_version.h and actual installed geos version
> > match ?
> 
> 
> $ cat lwgeom/postgis_geos_version.h
> #ifndef GEOS_FIRST_INTERFACE
> #define GEOS_FIRST_INTERFACE 2
> #endif
> #ifndef GEOS_LAST_INTERFACE
> #define GEOS_LAST_INTERFACE 2
> #endif
> #ifndef GEOS_VERSION
> #define GEOS_VERSION "2.0.1"
> #endif
> #ifndef GEOS_JTS_PORT
> #define GEOS_JTS_PORT 1.4.1
> #endif
> #define POSTGIS_GEOS_VERSION 200
> 
> $ dpkg -l libgeos2
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> uppercase=bad)
> ||/ Name                     Version                  Description
> +++-========================-========================-================================================================
> ii  libgeos2                 2.0.1-1                  Geometry engine
> for Geographic Information Systems
> $ geos-config --version
> 2.0.1
> 
> Strange...
> Markus
> 
> -- 
> Markus Schaber - http://schabi.de/
> 
> But hey!, Standard compliance is something we should strive for, so
> let's try and change the Standard :-) [Alexandre Oliva, GCC Developer]
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list