[postgis-users] Error compiling PostGIS + GEOS
Chip Masters
chip_masters at yahoo.com
Mon Jun 13 09:24:54 PDT 2005
OK, we downloaded the 2.1.2 GEOS package, and tried
installing PostGIS 1.0.1 w/ it, and now I'm getting
this trying to rebuild PostGIS:
cc1plus: Unrecognized option
`-Wdeclaration-after-statement'
cc1plus: Unrecognized option `-Wold-style-definition'
cc1plus: Unrecognized option `-Wendif-labels'
make[1]: *** [lwgeom_geos_wrapper.o] Error 1
make[1]: Leaving directory
`/cyc110/scratch/postgis-1.0.1/lwgeom'
make: *** [liblwgeom] Error 2
[root at cyc11 postgis]# ls
There are only 2 options for using GEOS in the
Makefile.config, and I am certain they are set
correctly.
Any help is greatly appreciated.
Chip Masters
chip_masters at yahoo.com
--- strk at refractions.net wrote:
> The upcoming 2.1.2 GEOS version should have fixed
> this,
> you can try downloading the "branch-2-1" branch from
> CVS.
> --strk;
>
> On Wed, Jun 01, 2005 at 10:51:46AM -0700, Chip
> Masters wrote:
> > PostGIS users,
> >
> > I recently tried compiling the PostGIS 1.0.1
> package
> > together with the GEOS 2.1.1 package, following
> the
> > instructions for doing so found in the
> README.postgis
> > document included in the PostGIS distribution. I
> am
> > using the following versions of gmake and gcc:
> >
> > GNU Make version 3.79.1
> > gcc (GCC) 3.4.2
> >
> > I am trying to install on RedHat 7.3, w/ the
> > 2.4.20-18.7bigmem kernel. I get the following
> error:
> >
> > > ../index/quadtree/QuadTreeNodeBase.cpp:149:
> > `sprintf' > undeclared (first use this function)
> > > ../index/quadtree/QuadTreeNodeBase.cpp:149:
> (Each
> > > undeclared identifier is reported only once for
> each
> > > function it appears in.)
> > > make[2]: *** [QuadTreeNodeBase.lo] Error 1
> > > make[2]: Leaving directory
> > > `/cyc110/scratch/geos-2.1.1/source/geom'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory
> > > `/cyc110/scratch/geos-2.1.1/source'
> > > make: *** [all-recursive] Error 1
> >
> > Can anyone help?
> >
> > Thanks in advance,
> >
> > Chip Masters
> > chip_masters at yahoo.com
> >
> >
> >
> >
> >
> > __________________________________
> > Discover Yahoo!
> > Get on-the-go sports scores, stock quotes, news
> and more. Check it out!
> > http://discover.yahoo.com/mobile.html
> > _______________________________________________
> > 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
>
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
More information about the postgis-users
mailing list