[postgis-users] Re: PostGIS setup - Ubuntu Breezy + PostgreSQL-8.1

Randy Burkhardt randy.burkhardt at gmail.com
Thu Apr 27 08:42:08 PDT 2006


randy at kubuntu:~/postgresql-8.1.3/contrib/postgis-1.1.2$ sudo make
Password:
make -C lwgeom
make[1]: Entering directory
`/home/randy/postgresql-8.1.3/contrib/postgis-1.1.2/lwgeom'
sh ../geos_version.sh /usr > postgis_geos_version.h
gcc -DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.2"'
-DPOSTGIS_VERSION='"1.1 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.1.2"' -DPOSTGIS_BUILD_DATE='"2006-04-27
15:37:08"' -I/usr/include -DUSE_PROJ 
-I/usr/include/postgresql/8.1/server -DAUTOCACHE_BBOX=1  -DUSE_STATS
-Wall -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o liblwgeom.o
liblwgeom.c
In file included from liblwgeom.c:26:
lwgeom_pg.h:4:22: error: postgres.h: No such file or directory
lwgeom_pg.h:5:29: error: utils/geo_decls.h: No such file or directory
lwgeom_pg.h:6:18: error: fmgr.h: No such file or directory
In file included from liblwgeom.c:26:
lwgeom_pg.h:36: error: syntax error before 'getGeometryOID'
lwgeom_pg.h:36: warning: type defaults to 'int' in declaration of
'getGeometryOID'
lwgeom_pg.h:36: warning: data definition has no type or storage class
lwgeom_pg.h:43: error: syntax error before '*' token
....
and a hundred more errors and warnings

Would you tell me what to do here?
Thanks

On 4/27/06, Randy Burkhardt <randy.burkhardt at gmail.com> wrote:
> I'm still getting that error, sorry to bother you guys with this install
> situation.  I've GEOS installed but 'make' postgis-1.1.2 still gives those
> same errors I sampled above.
>
> Can I get a bit of more help?
> Thank you
>
>
> On 4/26/06, Randy Burkhardt <randy.burkhardt at gmail.com> wrote:
> >
> > Thanks, I thought I had done that, but you remind me I may have to get
> > the sequence of installations more workable.
> >
> > On 4/26/06, Patricio Cifuentes Ithal <pcifuentes at siigsa.cl > wrote:
> > > installing GEOS first
> > > --
> > >
> > > Patricio Cifuentes Ithal
> > > Ingeniero en Informática
> > >
> > > Informática
> > > SIIGSA
> > > (56-2) 204 60 22
> > > ----- Original Message -----
> > > From: "Randy Burkhardt" <randy.burkhardt at gmail.com>
> > > To: "PostGIS Users Discussion" < postgis-users at postgis.refractions.net>
> > > Sent: Wednesday, April 26, 2006 1:37 PM
> > > Subject: [postgis-users] Re: PostGIS setup - Ubuntu Breezy +
> > PostgreSQL-8.1
> > >
> > >
> > > > Hello Paul Scott and guys,
> > > > I've been using your wiki page here to try to install postgis1.1.2 on
> > > > Kubuntu (instead of Uxxxxx).
> > > > at 'make' in postgis1.1.2 I'm getting
> > > > ...
> > > > liblwgeom.c:167: warning: incompatible implicit declaration of
> > > > built-in function 'strlen'
> > > > make[1]: *** [liblwgeom.o] Error 1
> > > > make[1]: Leaving directory
> > > > `/home/randy/postgresql-8.1.3/contrib/postgis-1.1.2/lwgeom'
> > > > make: *** [liblwgeom] Error
> > > >
> > > > I've got postgis-1.1.2 in /home/randy/postgresql-8.1.3/contrib/ and
> > > > things seem ok except for this make error as make tries to work on
> > > > liblwgeom and lwgeom.
> > > >
> > > > My latest try was to install all versions of automake, but that
> didn't
> > > > do the trick.
> > > > Can i get a suggestion on my next steps to help get 'make' to
> > continue?
> > > > Thanks, Mr. Scott, by the way for sharing your work on the wiki page,
> > > > it's been very helpful to me.
> > > >
> > > >
> > > > On 4/17/06, Paul Scott <pscott at uwc.ac.za> wrote:
> > > > > I have just completed a setup of PostGIS-1.1.2 with
> PostgreSQL-8.1on
> > > > > Ubuntu Breezy 5.10 GNU/linux. I articled the steps on
> > > > >
> > >
> >
> http://fsiu.uwc.ac.za/gis/index.php?module=wiki&action=wikilink&pagename=PostGisInstallUbuntu
> > > > > for anyone interested.
> > > > >
> > > > > --Paul
> > > > >
> > > > > _______________________________________________
> > > > > 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
> > >
> >
>
>



More information about the postgis-users mailing list