[Mapserver-users] Problems with Compiling PostGIS 0.7.5
Rosangela Silva
rosangela.silva at zenitpolar.com.br
Thu May 8 07:12:27 PDT 2003
Tom,
I had the same problem and this was a past question of the list.
POSTGIS 0.7.5 COMPILATION
1)
EDIT THE FILE /POSTGRESQL-VERSION/SRC/INCLUDE/OPTMIZER/COST.H
CHANGE THE LINE extern double cpu_index_tuple_cost;
FOR extern DLLIMPORT double cpu_index_tuple_cost;
in POSTGRESQL-VERSION directory
./configure
ou
./configure --enable-multibyte --with-CXX --prefix=/usr --sysconfdir=/etc --
docdir=/usr/doc/postgresql-7.3.1
make
2)
in postgis MAKEFILE
ADD THE CLAUSE: -L ../../src/backend -lpostgres
IN
# Add libraries that libpq depends (or might depend) on into the
# shared library link. (The order in which you list them here doesn't
# matter.)
SHLIB_LINK=$(filter -L%, $(LDFLAGS))
ifeq ($(USE_PROJ),1)
SHLIB_LINK=$(filter -L%, $(LDFLAGS)) $(BE_DLLLIBS) -L$(PROJ_DIR)/lib -lproj
else
SHLIB_LINK=$(filter -L%, $(LDFLAGS)) $(BE_DLLLIBS) -L
../../src/backend -lpostgres
endif
make
make install
For more completed information, see the olders links
See the link
http://postgis.refractions.net/pipermail/postgis-users/2003-April/002316.html
http://postgis.refractions.net/pipermail/postgis-users/2003-February/002129.html
Rosângela
----- Original Message -----
From: <tomax77 at gmx.de>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Thursday, May 08, 2003 9:04 AM
Subject: [Mapserver-users] Problems with Compiling PostGIS 0.7.5
> Hello UMN users,
>
> i've some problems with compiling PostGIS 0.7.5 on a Microsoft IIS 4
Server.
> I used a cygwin shell as unix module on a WIN NT system to compile, then
> I've got the following error message:
>
> collect2: returned 1 exit status
> dllwrap: gcc exited with status 1
> Make:***[libpostgis.a] Error 1
>
> This abbort message occured after some lines with 'undefined reference to'
> errors. May it be a problem with the path of my 'libpostgis.a' data or
stays
> it in relation with my PostgreSQL Installation.
> Can anyone gives me a hint to solve this problem.
>
> Thanks
>
> Tom
>
> --
> +++ GMX - Mail, Messaging & more http://www.gmx.net +++
> Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list