[postgis-users] postgis-cvs link error on mingw

strk at refractions.net strk at refractions.net
Thu Apr 21 09:30:07 PDT 2005


On Thu, Apr 21, 2005 at 06:11:16PM +0200, Jean David TECHER wrote:
> Hi strk;
> 
> here is a extract of my history for PG 8.0.2, PostGIS 1.0.0:
> 
> No problem.....strange???

Nono.. PostGIS is bugless you know ? ;P

I was talking about current HEAD branch, which doesn't require
pgsql sources anymore. A good test would be building it w/out
postgresql sources access, in its own directory (--prefix=/tmp/postgis-new?).

--strk;

> 
> I think the best choice for people who wants to compil themseflve is to
> refer from
> 
> http://techer.pascal.free.fr/postgis/postgresql800beta1/ch02.html#id312404
> 
> and download all needed tools from
> http://gnuwin32.sourceforge.net/packages.html  for flex, bison, zlib...
> 
> During this times, my friend Gerald is trying to make the English traduction
> of my doc...Should be interesting for Marc perhaps???
> cd ~/sources/PostgreSQL/
> 
>  tar xvjf postgresql-8.0.2.tar.bz2
> 
> cd postgresql-8.0.2
> 
> configure --prefix=/c/PostgreSQL/8.0.2 --enable-multibyte --with-CXX
> 
> make install
> 
> cd contrib
> 
> wget http://postgis.refractions.net/postgis-1.0.0.tar.gz
> 
> tar xvzf postgis-1.0.0.tar.gz
> 
> cd postgis-1.0.0
> 
> 
> configure --with-geos=/c/PostgreSQL/8.0.0/bin/geos-config --with-proj=/c/Pos
> tgreSQL/8.0.0 --enable-autoconf
> 
>  make
> 
>  make install
> 
>  history > ~/history.txt
> 
> ---------------------------------------------------------------
> TECHER Jean David
> 01MAP
> e-mail: david at 01map.net
> Tél: 04 67 45 60 27
> Entreprise: http://www.01map.net
> Perso: http://techer.pascal.free.fr/postgis/
> ---------------------------------------------------------------
> ----- Original Message -----
> From: <strk at refractions.net>
> To: "PostGIS Users Discussion" <postgis-users at postgis.refractions.net>
> Sent: Thursday, April 21, 2005 5:23 PM
> Subject: Re: [postgis-users] postgis-cvs link error on mingw
> 
> 
> > You can do the test with the PG version you already
> > have, it's a linking commandline problem.
> > Its enough to know if PostGIS HEAD branch (I think the snapshot
> > online is from HEAD) works with win32.
> >
> > --strk;
> >
> > On Thu, Apr 21, 2005 at 05:18:52PM +0200, Jean David TECHER wrote:
> > > Hi Sandro
> > >
> > > Ok..;I'll download PG 8.0.2 and do the test :-) for
> > >
> > > Geos 2.1.1
> > > proj 4.4.9
> > > PG 8.0.2
> > > PostGIS 1.0.0
> > > ---------------------------------------------------------------
> > > TECHER Jean David
> > > 01MAP
> > > e-mail: david at 01map.net
> > > Tél: 04 67 45 60 27
> > > Entreprise: http://www.01map.net
> > > Perso: http://techer.pascal.free.fr/postgis/
> > > ---------------------------------------------------------------
> > > ----- Original Message -----
> > > From: <strk at refractions.net>
> > > To: <postgis-users at postgis.refractions.net>
> > > Sent: Thursday, April 21, 2005 5:08 PM
> > > Subject: Re: [postgis-users] postgis-cvs link error on mingw
> > >
> > >
> > > > Are you referring to the HEAD branch ?
> > > > If you do did you run ./configure ? [ yes, for HEAD tests that's the
> > > way! ]
> > > >
> > > > The HEAD branch contains code trying to do w/out postgresql build
> > > > scripts, which are probably much smarter about cross-platform issues.
> > > >
> > > > David can probably help more then me here as I don't have a win32
> system
> > > > to check this out. It would be good checking command line differences
> > > > between 1.0 and HEAD branch on a win32 system.
> > > >
> > > > --strk;
> > > >
> > > > On Thu, Apr 21, 2005 at 11:46:54AM -0300, Adão Paulino wrote:
> > > > > Hi,
> > > > >
> > > > > I'm trying to build PostGIS 1.0.0 on PostGres 8.0.2, using  Windows
> and
> > > MingW.
> > > > >
> > > > > I've used the instructions from TECHER Jean David and no errors has
> > > occured until I try to run 'Make' on '/home/src/postgres-8.0.2/contrib',
> > > after setting USE_PROJ and USE_GEOS to 1,  PROJ_DIR = 1 and GEOS_DIR = 1
> int
> > > the Makefile.Config.
> > > > >
> > > > > I've got the following after the make command:
> > > > >
> > > > > Administrador at HP6 /home/src/postgresql-8.0.2/contrib/postgis-1.0.0
> > > > > $ make
> > > > > make -C lwgeom
> > > > > make[1]: Entering directory
> > > `/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/lwgeom'
> > > > > sh ../geos_version.sh /c/postgres-8.0.2 > postgis_geos_version.h
> > > > > dlltool --export-all  --output-def lwgeom.def measures.o box2d.o
> > > ptarray.o lwgeom_api.o lwgeom.o lwpoint.o lwline.o lwpoly.o lwmpoint.o
> > > lwmline.o lwmpoly.o lwcollection.o lwgeom_geos_wrapper.o  wktunparse.o
> > > lwgparse.o wktparse.tab.o lex.yy.o vsprintf.o liblwgeom.o lwgeom_pg.o
> > > lwgeom_debug.o lwgeom_spheroid.o lwgeom_ogc.o
> lwgeom_functions_analytic.o
> > > lwgeom_geos.o lwgeom_inout.o lwgeom_estimate.o lwgeom_functions_basic.o
> > > lwgeom_gist.o lwgeom_btree.o lwgeom_transform.o stringBuffer.o
> lwgeom_box.o
> > > lwgeom_box3d.o lwgeom_box2dfloat4.o lwgeom_chip.o lwgeom_svg.o
> lwgeom_gml.o
> > > lwgeom_triggers.o lwgeom_dump.o
> > > > > dllwrap  -o liblwgeom.dll --dllname liblwgeom.dll  --def lwgeom.def
> > > measures.o box2d.o ptarray.o lwgeom_api.o lwgeom.o lwpoint.o lwline.o
> > > lwpoly.o lwmpoint.o lwmline.o lwmpoly.o lwcollection.o
> lwgeom_geos_wrapper.o
> > > wktunparse.o lwgparse.o wktparse.tab.o lex.yy.o vsprintf.o liblwgeom.o
> > > lwgeom_pg.o lwgeom_debug.o lwgeom_spheroid.o lwgeom_ogc.o
> > > lwgeom_functions_analytic.o lwgeom_geos.o lwgeom_inout.o
> lwgeom_estimate.o
> > > lwgeom_functions_basic.o lwgeom_gist.o lwgeom_btree.o lwgeom_transform.o
> > > stringBuffer.o lwgeom_box.o lwgeom_box3d.o lwgeom_box2dfloat4.o
> > > lwgeom_chip.o lwgeom_svg.o lwgeom_gml.o lwgeom_triggers.o
> > >
> lwgeom_dump.o -L/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/../../src/p
> > >
> rt -L/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/../../src/port  -lstd
> > >
> c++ -L/c/postgres-8.0.2/lib -lgeos -L/c/postgres-8.0.2/lib -lproj -L/home/sr
> > > c/postgresql-8.0.2/contrib/postgis-1.0.0/../../src/backend -lpostgres
> > > > >
> > >
> c:\MingW\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe:
> > > cannot find -lpostgres
> > > > > c:\MingW\bin\dllwrap.exe: c:\MingW\bin\gcc exited with status 1
> > > > > make[1]: *** [liblwgeom.dll] Error 1
> > > > > make[1]: Leaving directory
> > > `/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/lwgeom'
> > > > > make: *** [liblwgeom] Error 2
> > > > >
> > > > > Could someone help me?
> > > > >
> > > > > Thanks in advance.
> > > > >
> > > > > Adão Paulino.
> > > >
> > > > > _______________________________________________
> > > > > 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



More information about the postgis-users mailing list