[postgis-users] Problem with PostgreSQL 8.0.0beta3 antPostGIS0.9.0 ...

TECHER Jean David davidtecher at yahoo.fr
Tue Sep 28 01:47:11 PDT 2004


Hi strk;

I download again postgis.0.9.0
I went to /lwgeom...I made the change in lwgeom_estimate.c
I got this error:

gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -g  -I. -DFRONTEND -DSYSCONFDIR='"/c/PostgreSQLWin32/etc/postgresql"'  -D
USE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.0.0"' -DPOSTGIS_SCRIPTS_VERSION='"1
.0.0"' -I/c/PostgreSQLWin32/include -DUSE_GEOS -I/c/PostgreSQLWin32/include 
-DUSE_PROJ  -DUSE_STATS  -I../../../src/include -I./src/include/port/win32 -
DEXEC_BACKEND  "-I../../../src/include/port/win32"  -c -o
lwgeom_box2dfloat4.o lwgeom_box2dfloat4.c
make: *** No rule to make target `lwgeom_chip.o', needed by `liblwgeom.a'.
Stop

When I made 'tar' on postgis.0.9.0.tar.gz, as you can see there is not
lwgeom_chip:
.....
postgis-0.9.0/lwgeom/
postgis-0.9.0/lwgeom/regress/
postgis-0.9.0/lwgeom/regress/lwgeom_regress.sql
postgis-0.9.0/lwgeom/regress/lwgeom_regress2.sql
postgis-0.9.0/lwgeom/regress/lwgeom_regress2_expected
postgis-0.9.0/lwgeom/regress/lwgeom_regress3.sql
postgis-0.9.0/lwgeom/regress/lwgeom_regress3_expected
postgis-0.9.0/lwgeom/regress/lwgeom_regress_expected
postgis-0.9.0/lwgeom/regress/regress_lots_of_points.sql
postgis-0.9.0/lwgeom/regress/run_regress
postgis-0.9.0/lwgeom/regress/run_regress2
postgis-0.9.0/lwgeom/regress/run_regress3
postgis-0.9.0/lwgeom/.cvsignore
postgis-0.9.0/lwgeom/MISSING_OBJECTS
postgis-0.9.0/lwgeom/Makefile
postgis-0.9.0/lwgeom/README
postgis-0.9.0/lwgeom/TODO
postgis-0.9.0/lwgeom/lwgeom.h
postgis-0.9.0/lwgeom/lwgeom.sql.in
postgis-0.9.0/lwgeom/lwgeom_api.c
postgis-0.9.0/lwgeom/lwgeom_box2dfloat4.c
postgis-0.9.0/lwgeom/lwgeom_box3d.c
postgis-0.9.0/lwgeom/lwgeom_btree.c
postgis-0.9.0/lwgeom/lwgeom_estimate.c
postgis-0.9.0/lwgeom/lwgeom_functions_analytic.c
postgis-0.9.0/lwgeom/lwgeom_functions_basic.c
postgis-0.9.0/lwgeom/lwgeom_geos.c
postgis-0.9.0/lwgeom/lwgeom_gist.c
postgis-0.9.0/lwgeom/lwgeom_inout.c
postgis-0.9.0/lwgeom/lwgeom_ogc.c
postgis-0.9.0/lwgeom/lwgeom_pg.c
postgis-0.9.0/lwgeom/lwgeom_pg.h
postgis-0.9.0/lwgeom/lwgeom_spheroid.c
postgis-0.9.0/lwgeom/lwgeom_transform.c
postgis-0.9.0/lwgeom/lwgparse.c
postgis-0.9.0/lwgeom/lwpostgis.sql.in
postgis-0.9.0/lwgeom/stringBuffer.c
postgis-0.9.0/lwgeom/stringBuffer.h
postgis-0.9.0/lwgeom/wktparse.h
postgis-0.9.0/lwgeom/wktparse.lex
postgis-0.9.0/lwgeom/wktparse.y
postgis-0.9.0/lwgeom/wktunparse.c
................
----- Original Message -----
From: <strk at refractions.net>
To: "PostGIS Users Discussion" <postgis-users at postgis.refractions.net>
Sent: Tuesday, September 28, 2004 10:32 AM
Subject: Re: [postgis-users] Problem with PostgreSQL 8.0.0beta3
antPostGIS0.9.0 ...


> On Tue, Sep 28, 2004 at 10:12:58AM +0200, TECHER Jean David wrote:
> > Hi
> >
> > For this function seems to wotk with 'false'  too.
>
> It's a READ_ONLY flag... I suppose 1 does some optimizing..
>
> >
> > Actually for /lwgeom in lwgeom_estimate.c I need to do the same thing...
>
> Yes. It's something changed between beta2 and beta3 of 800.
>
> >
> > Questio: in compilation of /lwgeom, it looks that it miss the file
> > lwgeom_chip.c
> >
> > The make has no rule to make target lwgeom_chip.o ???
> >
> > How to do???
>
> All .o rules are implicit, take a look at the Makefile.
> OBJS keeps a list of objects to be built.
> Maybe your 'make' does not understand that (but you get other files uh ?).
> Don't you get an error message ?
> --strk;
>
> >
> > ----- Original Message -----
> > From: <strk at refractions.net>
> > To: <postgis-users at postgis.refractions.net>
> > Sent: Monday, September 27, 2004 7:30 PM
> > Subject: Re: [postgis-users] Problem with PostgreSQL 8.0.0beta3 ant
> > PostGIS0.9.0 ...
> >
> >
> > > On Mon, Sep 27, 2004 at 12:20:34PM -0500, fabio quimbay wrote:
> > > > Greetings ...
> > > >
> > > > When a try to build PostGIS 0.9.0 with PostgreSQL 8.0.0beta3, I have
> > > > this problem:
> > > >
> > > > # make
> > > > ./geos_version.sh /usr/local/pgsql/ > postgis_geos_version.h
> > > > gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
> > > > -Wmissing-declarations -g -fexceptions  -I. -DFRONTEND
> > > > -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_VERSION=80
> > > > -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
> > > > -I/usr/local/pgsql//include -DUSE_GEOS -I/usr/local/pgsql//include
> > > > -DUSE_PROJ  -DUSE_STATS -fpic
> > > > -I/mnt/siglos/development/postgresql-8.0.0beta3/src/include
> > > > -D_GNU_SOURCE   -c -o postgis_estimate.o postgis_estimate.c
> > > > postgis_estimate.c: En la función `build_histogram2d':
> > > > postgis_estimate.c:515: error: too few arguments to function
> > `SPI_cursor_open'
> > > > make: *** [postgis_estimate.o] Error 1
> > > >
> > > > What can I do ? Thanks, for your help ...
> > >
> > > Add a third argument with value '1' (read-only).
> > > Preprocessor directive is already there for PG>800
> > > (beta2 did not have third argument).
> > > --strk;
> > >
> > > >
> > > > P.D. I use Fedora Core 2 and previously I installed PostgreSQL
> > > > 8.0.0beta3, GEOS 2.0.0 and Proj 4.4.8 sucessfully.
> > > > _______________________________________________
> > > > 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
>





More information about the postgis-users mailing list