[postgis-users] trying to make
János
janos.lobb at yale.edu
Mon Nov 22 12:20:05 PST 2004
I untared postgis-0.9.0 into the contrib directory of the Postgresql
7.4.6 source. This is what I get when I run sudo make:
Janos:/Volumes/Data/Downloads/postgresql-7.4.6/contrib/postgis-0.9.0
janos$ sudo make
Password:
./geos_version.sh /usr/local > postgis_geos_version.h
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=74
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
-I/usr/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-DUSE_STATS -I../../src/include -c -o postgis_debug.o
postgis_debug.c
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=74
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
-I/usr/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-DUSE_STATS -I../../src/include -c -o postgis_ops.o postgis_ops.c
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=74
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
-I/usr/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-DUSE_STATS -I../../src/include -c -o postgis_fn.o postgis_fn.c
postgis_fn.c:3198: warning: no previous prototype for
`postgis_scripts_released'
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=74
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
-I/usr/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-DUSE_STATS -I../../src/include -c -o postgis_inout.o
postgis_inout.c
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=74
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
-I/usr/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-DUSE_STATS -I../../src/include -c -o postgis_proj.o postgis_proj.c
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=74
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
-I/usr/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-DUSE_STATS -I../../src/include -c -o postgis_chip.o postgis_chip.c
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=74
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
-I/usr/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-DUSE_STATS -I../../src/include -c -o postgis_transform.o
postgis_transform.c
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=74
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
-I/usr/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-DUSE_STATS -I../../src/include -c -o postgis_svg.o postgis_svg.c
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=74
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
-I/usr/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-DUSE_STATS -I../../src/include -c -o postgis_gist_72.o
postgis_gist_72.c
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=74
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
-I/usr/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-DUSE_STATS -I../../src/include -c -o postgis_estimate.o
postgis_estimate.c
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=74
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
-I/usr/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-DUSE_STATS -I../../src/include -c -o postgis_geos.o postgis_geos.c
postgis_geos.c:317: warning: `resize_ptrArrayType' defined but not used
g++ -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=74
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
-I/usr/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ -fPIC
-I../../src/include -c -o postgis_geos_wrapper.o
postgis_geos_wrapper.cpp
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not
for C++
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=74
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
-I/usr/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-DUSE_STATS -I../../src/include -c -o postgis_algo.o postgis_algo.c
ar crs libpostgis.a `lorder postgis_debug.o postgis_ops.o postgis_fn.o
postgis_inout.o postgis_proj.o postgis_chip.o postgis_transform.o
postgis_svg.o postgis_gist_72.o postgis_estimate.o postgis_geos.o
postgis_geos_wrapper.o postgis_algo.o | tsort`
tsort: cycle in data
tsort: postgis_geos.o
tsort: postgis_geos_wrapper.o
tsort: cycle in data
tsort: postgis_fn.o
tsort: postgis_inout.o
ranlib libpostgis.a
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=74
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
-I/usr/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-DUSE_STATS -bundle postgis_debug.o postgis_ops.o postgis_fn.o
postgis_inout.o postgis_proj.o postgis_chip.o postgis_transform.o
postgis_svg.o postgis_gist_72.o postgis_estimate.o postgis_geos.o
postgis_geos_wrapper.o postgis_algo.o -L../../src/port -L../../src/port
-lstdc++ -L/usr/local/lib -lgeos -L/usr/local/lib -lproj
-bundle_loader ../../src/backend/postgres -o libpostgis.so.0.9
ld: warning multiple definitions of symbol _translate
postgis_fn.o definition of _translate in section (__TEXT,__text)
../../src/backend/postgres definition of _translate
rm -f libpostgis.so.0
ln -s libpostgis.so.0.9 libpostgis.so.0
rm -f libpostgis.so
ln -s libpostgis.so.0.9 libpostgis.so
cpp -P -traditional-cpp -DUSE_VERSION=74 postgis.sql.in | sed -e
's:@MODULE_FILENAME@:\$libdir/libpostgis.so.0.9:g;s:@POSTGIS_VERSION@:
0.9 USE_GEOS=1 USE_PROJ=1
USE_STATS=1:g;s:@POSTGIS_SCRIPTS_VERSION@:0.0.1:g' > postgis.sql
perl create_undef.pl postgis.sql 74 > postgis_undef.sql
make -C loader
gcc -no-cpp-precomp -g -I.. -I. -I../../../src/interfaces/libpq -O2
-fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations
-DFRONTEND -DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=73
-I../../../src/include -c -o shpopen.o shpopen.c
shpopen.c:176: warning: `rcsid' defined but not used
gcc -no-cpp-precomp -g -I.. -I. -I../../../src/interfaces/libpq -O2
-fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations
-DFRONTEND -DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=73
-I../../../src/include -c -o dbfopen.o dbfopen.c
dbfopen.c:200: warning: `rcsid' defined but not used
gcc -no-cpp-precomp -g -I.. -I. -I../../../src/interfaces/libpq -O2
-fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations
-DFRONTEND -DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=73
-I../../../src/include -c -o getopt.o getopt.c
getopt.c:115: warning: conflicting types for built-in function `strncmp'
getopt.c:602: warning: no previous prototype for `getopt'
gcc -no-cpp-precomp -g -I.. -I. -I../../../src/interfaces/libpq -O2
-fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations
-DFRONTEND -DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=73
-I../../../src/include -c -o shp2pgsql.o shp2pgsql.c
gcc -no-cpp-precomp -g -I.. -I. -I../../../src/interfaces/libpq -O2
-fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations
-DFRONTEND -DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=73
shpopen.o dbfopen.o getopt.o shp2pgsql.o -L../../../src/port -o
shp2pgsql
gcc -no-cpp-precomp -g -I.. -I. -I../../../src/interfaces/libpq -O2
-fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations
-DFRONTEND -DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=73
-I../../../src/include -c -o pgsql2shp.o pgsql2shp.c
pgsql2shp.c: In function `parse_commandline':
pgsql2shp.c:2297: warning: implicit declaration of function `getopt'
gcc -no-cpp-precomp -g -I.. -I. -I../../../src/interfaces/libpq -O2
-fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations
-DFRONTEND -DSYSCONFDIR='"/Volums/Apps/pgsql/etc"' -DUSE_VERSION=73
shpopen.o dbfopen.o getopt.o pgsql2shp.o
-L../../../src/interfaces/libpq -lpq -L../../../src/port -o pgsql2shp
ld: Undefined symbols:
_SSL_pending
_BIO_free
_BIO_new_mem_buf
_DH_check
_DH_generate_parameters
_DH_size
_ERR_get_error
_ERR_reason_error_string
_EVP_PKEY_free
_PEM_read_DHparams
_PEM_read_PrivateKey
_PEM_read_X509
_PEM_read_bio_DHparams
_SSL_CTX_ctrl
_SSL_CTX_free
_SSL_CTX_load_verify_locations
_SSL_CTX_new
_SSL_CTX_set_tmp_dh_callback
_SSL_CTX_set_verify
_SSL_CTX_set_verify_depth
_SSL_connect
_SSL_free
_SSL_get_error
_SSL_get_ex_data
_SSL_get_peer_certificate
_SSL_library_init
_SSL_load_error_strings
_SSL_new
_SSL_read
_SSL_set_ex_data
_SSL_set_fd
_SSL_shutdown
_SSL_write
_TLSv1_method
_X509_NAME_get_text_by_NID
_X509_NAME_oneline
_X509_check_private_key
_X509_free
_X509_get_subject_name
make[1]: *** [pgsql2shp] Error 1
make: *** [loaderdumper] Error 2
What is wrong here ?
Thanks ahead,
János
------------------------------------------------
``Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we.'' -- George W. Bush
More information about the postgis-users
mailing list