[postgis] compiling postgis in cygwin

Peep Krusberg peep.krusberg at maaamet.ee
Mon Jun 18 01:57:23 PDT 2001


My way:
all these dllwrap undefine reference errors occurs because
make didn't find postgres libraries. So
- I did 'make --recon > m' and got a list of commands make
generated in the file 'm';
- added manually paths to libpostgres.a library to dllwrap lines
in the file 'm', and then run it; my example:

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -I.
-I../../src/include -I/usr/local/include  -c -o postgis.o postgis.c
dlltool --export-all --output-def postgis.def postgis.o
dllwrap -o postgis.dll --dllname postgis.dll --def postgis.def postgis.o
../../src/utils/dllinit.o /usr/local/pgsql/lib/libpostgres.a  -lcygipc
-lcrypt 
dlltool --dllname postgis.dll --def postgis.def --output-lib libpostgis.a
dlltool --export-all --output-def postgis.def postgis.o
dllwrap -o postgis.dll --dllname postgis.dll --def postgis.def postgis.o
../../src/utils/dllinit.o /usr/local/pgsql/lib/libpostgres.a  -lcygipc
-lcrypt 
dlltool --dllname postgis.dll --def postgis.def --output-lib libpostgis.a

Peep

> > I'm trying to compile postgis in cygwin (1.1.7.1) environment. 
> > It's probably more postgres (7.1) problem, but make fails:

To unsubscribe from this group, send an email to:
postgis-unsubscribe at yahoogroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





More information about the postgis-users mailing list