[postgis-users] Makefile syntax problem with 1.2/8.2?
Nick Bower
nick at nickbower.com
Wed Dec 13 04:59:30 PST 2006
Hi. This is weirding me out - I'm not new to Postgis/Postgres, but an getting
a compilation syntax error when building using FC6 packaged proj/geos. Any
ideas?
configure: creating ./config.status
config.status: creating Makefile.config
config.status: WARNING: Makefile.config.in seems to ignore the --datarootdir
setting
config.status: creating config.h
SUMMARY
-------------------------------------------------------
HOST_OS: linux-gnu
PGSQL: /usr/local/pgsql/bin/pg_config
GEOS: /usr/bin/geos-config (with C-API)
(ldflags: /usr/lib)
PROJ: prefix=/usr libdir=/usr/lib
ICONV: 1
PORTNAME: linux
PREFIX: /usr/local/pgsql
EPREFIX: ${prefix}
DOC: /usr/local/pgsql/doc/contrib
DATA: ${datarootdir}
MAN: ${datarootdir}/man
BIN: /usr/local/pgsql/bin
EXT: /usr/local/pgsql/lib (\$$libdir)
-------------------------------------------------------
# ls -l /usr/include/geos.h
-rw-r--r-- 1 root root 308 Sep 17 03:34 /usr/include/geos.h
# make
make -C lwgeom
make[1]: Entering directory `/root/src/postgis-1.2.0/lwgeom'
gcc -DUSE_VERSION=82 -DPOSTGIS_LIB_VERSION='"1.2.0"' -DPOSTGIS_VERSION='"1.2
USE_GEOS=1 USE_PROJ=1
USE_STATS=1"' -DPOSTGIS_SCRIPTS_VERSION='"1.2.0"' -DPOSTGIS_BUILD_DATE='"2006-12-13
12:51:17"' -I/usr/include -DUSE_PROJ -I/usr/local/pgsql/include/server -DAUTOCACHE_BBOX=1 -DUSE_STATS -Wall -g -O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/include -shared -Wl,-soname,liblwgeom.so.1
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 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_c.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 lwgeom_functions_lrs.o long_xact.o lwcurve.o
lwcompound.o lwcurvepoly.o lwmcurve.o lwmsurface.o
lwgeom_sqlmm.o -shared /usr/lib -lgeos_c -L/usr/lib -lproj -o
liblwgeom.so.1.2
/usr/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[1]: *** [liblwgeom.so.1.2] Error 1
make[1]: Leaving directory `/root/src/postgis-1.2.0/lwgeom'
make: *** [liblwgeom] Error 2
More information about the postgis-users
mailing list