[postgis-users] Re:geos install problem

James S reid james.reid at ed.ac.uk
Fri Feb 20 08:38:36 PST 2004


thansks : ) ive actually tried that route with both tar and cvs versions to no avail - I think it might be the version of our gcc which is 2.9.5 and library linking... Im working on alternatives (cygwin route) but any further thoughts greatly appreciated

ps - trouble with email is its ethnically blind - im in scotland but actually irish!! ... a celt at least : )

regards

james

  ----- Original Message ----- 
  From: Tyler Mitchell 
  To: PostGIS Users Discussion 
  Sent: Friday, February 20, 2004 4:31 PM
  Subject: Re: [postgis-users] Re:geos install problem



  James, 
  How did you grab geos?  From CVS (when?) or the 1.0.0 tar file?  It's a long shot, but you might want to try grabbing a different set, or at least removing and re downloading the code.  My comments are lame but I didn't want to leave a Scot in a bind :) 

  Tyler 

  postgis-users-bounces at postgis.refractions.net wrote on 02/20/2004 12:31:19 AM:

  > hi - thanks for the suggestion but I still get an abortive make (and yes I
  > did make clean first!!)
  > 
  > anyone any additional thoughts? I seem to recall a warning about Bison
  > versions somehere?
  > 
  > cheers
  > james
  > ----- Original Message ----- 
  > From: "David Valentine" <valentine at library.ucsb.edu>
  > To: "PostGIS Users Discussion" <postgis-users at postgis.refractions.net>
  > Sent: Thursday, February 19, 2004 4:22 PM
  > Subject: Re: [postgis-users] Re:geos install problem
  > 
  > 
  > > Funny, same problem with gcc 3.2/3.3
  > >
  > > set a CFLAGS env variable
  > > CFLAGS=-fPIC
  > >
  > > James S reid wrote:
  > > > apologies should have it:
  > > > uname -a SunOS dearg 5.8 Generic_108528-27 sun4u sparc SUNW,Sun-Fire
  > > > compiler gcc 2.95.3
  > > > gmake 3.8
  > > >
  > > > ?
  > > >
  > > > cheers
  > > > james
  > > > ----- Original Message ----- 
  > > > From: "Paul Ramsey" <pramsey at refractions.net>
  > > > To: "PostGIS Users Discussion" <postgis-users at postgis.refractions.net>
  > > > Sent: Thursday, February 19, 2004 3:07 PM
  > > > Subject: Re: [postgis-users] Re:geos install problem
  > > >
  > > >
  > > >
  > > >>Platform, compiler, etc?
  > > >>
  > > >>On Thursday, February 19, 2004, at 01:41 AM, James S reid wrote:
  > > >>
  > > >>
  > > >>>hi! Im trying to build postgis 0.8.1 and geos1.0 (against postgres
  > > >>>7.4.1)- I
  > > >>>can acehive this succesfully if i omit support for geos but if i set
  > > >>>the
  > > >>>flag to 2 and point to my geos install directory the make fails.
  > > >>>
  > > >>>I havent seen anything on the list that looks like an answer - help!!!
  > > >>>
  > > >>>below is a tail of the compilation errors and exit codes:
  > > >>>
  > > >>>geos::GeometryFactory::createPolygon(geos::LinearRing *,
  > > >>>vector<geos::Geometry *, allocator<geos::Geometry *> > *)     0x1a14
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::GEOSException type_info node  0x24        postgis_geos_wrapper.o
  > > >>>geos::GEOSException type_info node  0x2c        postgis_geos_wrapper.o
  > > >>>geos::LineString::getCoordinatesRO(void) const0x5dd8
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::LineString::getCoordinatesRO(void) const0x5ed0
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::BasicCoordinateList::BasicCoordinateList(int)0x978
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::BasicCoordinateList::BasicCoordinateList(int)0x1680
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::BasicCoordinateList::BasicCoordinateList(int)0x181c
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::IntersectionMatrix::toString(void)0x2e58
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::GeometryFactory::getPrecisionModel(void) const0x154
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::GEOSException type_info function0x18
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::GeometryFactory::createLineString(geos::CoordinateList const
  > > >>>*)0xa88
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::GeometryFactory::createPoint(geos::Coordinate const &)0x708
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::GeometryFactory::GeometryFactory(geos::PrecisionModel const *,
  > > >>>int)0x48           postgis_geos_wrapper.o
  > > >>>geos::PrecisionModel::PrecisionModel(void)0x34
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::GeometryFactory::createMultiLineString(vector<geos::Geometry *,
  > > >>>allocator<geos::Geometry *> > *)     0x1088
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::GeometryFactory::createMultiPolygon(vector<geos::Geometry *,
  > > >>>allocator<geos::Geometry *> > *)     0xd84
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::GeometryFactory::toGeometry(geos::Envelope *,
  > > >>>geos::PrecisionModel *,
  > > >>>int)0x164           postgis_geos_wrapper.o
  > > >>>geos::GeometryFactory::createMultiPoint(vector<geos::Geometry *,
  > > >>>allocator<geos::Geometry *> > *)     0x138c
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::Envelope::Envelope(double, double, double, double)0x120
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::GeometryFactory::buildGeometry(vector<geos::Geometry *,
  > > >>>allocator<geos::Geometry *> > *)     0x418
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::GeometryFactory::createLinearRing(geos::CoordinateList *)
  > > >>>0x1798
  > > >>>postgis_geos_wrapper.o
  > > >>>geos::GeometryFactory::createLinearRing(geos::CoordinateList *)
  > > >>>0x1944
  > > >>>postgis_geos_wrapper.o
  > > >>>ld: fatal: relocations remain against allocatable but non-writable
  > > >>>sections
  > > >>>collect2: ld returned 1 exit status
  > > >>>gmake: *** [libpostgis.so.0.8] Error 1
  > > >>>
  > > >>>
  > > >>>thoughts welcome : )
  > > >>>
  > > >>>James S Reid
  > > >>>GeoData Services
  > > >>>EDINA
  > > >>>University of Edinburgh
  > > >>>Main Library
  > > >>>George Square
  > > >>>EH8 9LJ
  > > >>>
  > > >>>tel:     +44 (0) 131 651 1383
  > > >>>fax:    +44 (0) 131 650 3308
  > > >>>email: james.reid at ed.ac.uk
  > > >>>
  > > >>>
  > > >>>"Programming today is a race between software engineers striving
  > > >>>to build bigger and better idiot-proof programs, and the Universe
  > > >>>trying to produce bigger and better idiots.
  > > >>>So far, the Universe is winning."
  > > >>>
  > > >>>    Rich Cook
  > > >>>
  > > >>>
  > > >>>
  > > >>>_______________________________________________
  > > >>>postgis-users mailing list
  > > >>>postgis-users at postgis.refractions.net
  > > >>>http://postgis.refractions.net/mailman/listinfo/postgis-users
  > > >>>
  > > >>
  > > >>      Paul Ramsey
  > > >>      Refractions Research
  > > >>      Email: pramsey at refractions.net
  > > >>      Phone: (250) 885-0632
  > > >>
  > > >>_______________________________________________
  > > >>postgis-users mailing list
  > > >>postgis-users at postgis.refractions.net
  > > >>http://postgis.refractions.net/mailman/listinfo/postgis-users
  > > >
  > > > _______________________________________________
  > > > postgis-users mailing list
  > > > postgis-users at postgis.refractions.net
  > > > http://postgis.refractions.net/mailman/listinfo/postgis-users
  > > _______________________________________________
  > > postgis-users mailing list
  > > postgis-users at postgis.refractions.net
  > > http://postgis.refractions.net/mailman/listinfo/postgis-users
  > 
  > _______________________________________________
  > postgis-users mailing list
  > postgis-users at postgis.refractions.net
  > http://postgis.refractions.net/mailman/listinfo/postgis-users



------------------------------------------------------------------------------


  _______________________________________________
  postgis-users mailing list
  postgis-users at postgis.refractions.net
  http://postgis.refractions.net/mailman/listinfo/postgis-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20040220/c512c3ef/attachment.html>


More information about the postgis-users mailing list