[postgis-users] windows 2000 install
Bart van den Eijnden
bartvde at xs4all.nl
Sat Nov 15 06:42:09 PST 2003
Hi list,
I am trying to install PostGIS on Windows 2000. I followed the steps from:
http://postgis.refractions.net/windows/WindowsHowTo.html
2 remarks on this WindowsHowTo:
a. the cygipc part is a bit outdated, I am using the latest cygwin in which
cygipc 2 is included. But statements like $ ipc-daemon &
should be changed into:
$ ipc-daemon2 &
b. when downloading cygwin you do not get the PostGreSQL source. So this
needs to be downloaded as well and fitted into the
cygwin\usr\share\postgresql directory. This part is not mentioned in the
WindowsHowTo.
But now am I running into a problem with make for PostGIS.
Administrator at client /usr/share/postgresql/contrib/postgis-0.7.5
$ make
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -I. -
I../../src/in
clude -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73 -c -o
postg
is_debug.o postgis_debug.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -I. -
I../../src/in
clude -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73 -c -o
postg
is_ops.o postgis_ops.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -I. -
I../../src/in
clude -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73 -c -o
postg
is_fn.o postgis_fn.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -I. -
I../../src/in
clude -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73 -c -o
postg
is_inout.o postgis_inout.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -I. -
I../../src/in
clude -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73 -c -o
postg
is_proj.o postgis_proj.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -I. -
I../../src/in
clude -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73 -c -o
postg
is_chip.o postgis_chip.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -I. -
I../../src/in
clude -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73 -c -o
postg
is_transform.o postgis_transform.c
postgis_transform.c: In function `transform_geom':
postgis_transform.c:437: warning: control reaches end of non-void function
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -I. -
I../../src/in
clude -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73 -c -o
postg
is_gist_72.o postgis_gist_72.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -I. -
I../../src/in
clude -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73 -c -o
postg
is_estimate.o postgis_estimate.c
dlltool --export-all --output-def postgis.def postgis_debug.o postgis_ops.o
post
gis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o postgis_transform.o
postg
is_gist_72.o postgis_estimate.o
dllwrap -o postgis.dll --dllname postgis.dll --def postgis.def
postgis_debug.o p
ostgis_ops.o postgis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o
postgis_
transform.o postgis_gist_72.o postgis_estimate.o ../../src/utils/dllinit.o -
L/us
r/local/lib -L/usr/local/lib -L../../src/backend -lpostgres
fu000001.o(.idata$3+0xc): undefined reference to `_libpostgres_a_iname'
nmth000000.o(.idata$4+0x0): undefined reference to
`__nm__cpu_index_tuple_cost'
Info: resolving _cpu_index_tuple_cost by linking to
__imp__cpu_index_tuple_cost
(auto-import)
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make: *** [libpostgis.a] Error 1
I am using postGIS 0.7.5 in conjunction with PostgreSQL 7.3.4 and the
latest Cygwin.
Does anybody have an idea what is going wrong?
Best regards and thanks in advance.
Bart
More information about the postgis-users
mailing list