[postgis-devel] build error: LIBGDAL_DEPLIBS_LDFLAGS
Salvatore Larosa
lrssvtml at gmail.com
Tue Dec 18 14:59:45 PST 2012
Hi,
I am getting this error on compiling of current trunk:
---- Making all in raster
make[1]: Entering directory `/home/sam/pacchetti_gis/postgis-svn/raster'
make -C rt_core
make[2]: Entering directory `/home/sam/pacchetti_gis/postgis-svn/raster/rt_core'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sam/pacchetti_gis/postgis-svn/raster/rt_core'
make -C rt_pg
make[2]: Entering directory `/home/sam/pacchetti_gis/postgis-svn/raster/rt_pg'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sam/pacchetti_gis/postgis-svn/raster/rt_pg'
make -C loader
make[2]: Entering directory `/home/sam/pacchetti_gis/postgis-svn/raster/loader'
/bin/bash ../../libtool --mode=link gcc -g -O2 -fPIC -DPIC -Wall
-Wmissing-prototypes -I../rt_core -I../../liblwgeom
-I/usr/local/include -I/usr/local/include ../rt_core/librtcore.a
raster2pgsql.o ../../liblwgeom/liblwgeom.la -L/usr/local/lib -lgdal
@LIBGDAL_DEPLIBS_LDFLAGS@ -L/usr/local/lib -lgeos_c -lc -lm -o
raster2pgsql
libtool: link: gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes
-I../rt_core -I../../liblwgeom -I/usr/local/include
-I/usr/local/include raster2pgsql.o @LIBGDAL_DEPLIBS_LDFLAGS@ -o
.libs/raster2pgsql ../rt_core/librtcore.a
../../liblwgeom/.libs/liblwgeom.so -L/usr/local/lib
/usr/local/lib/libgdal.so /usr/local/lib/libgeos_c.so -lc -lm
gcc: error: @LIBGDAL_DEPLIBS_LDFLAGS@: No such file or directory
make[2]: *** [raster2pgsql] Error 1
make[2]: Leaving directory `/home/sam/pacchetti_gis/postgis-svn/raster/loader'
make[1]: *** [rtloader] Error 2
make[1]: Leaving directory `/home/sam/pacchetti_gis/postgis-svn/raster'
make: *** [all] Error 1
Any hint to avoid it ?
Also if I comment out the following lines:
LIBGDAL_DEPLIBS_LDFLAGS=@LIBGDAL_DEPLIBS_LDFLAGS@
and
$(LIBGDAL_DEPLIBS_LDFLAGS) \
in raster/loader/Makefile it builds fine and apparently seems everything ok
!
indeed by applying the upgrade_21_minor.sql files and it throws:
"POSTGIS="2.1.0SVN r10851" GEOS="3.3.3-CAPI-1.7.4" PROJ="Rel. 4.7.1, 23
September 2009"
GDAL="GDAL 1.9.2, released 2012/10/08" LIBXML="2.8.0" TOPOLOGY RASTER"
and works fine. For raster I noticed that upgrade_21_minor doesn't exist
though !
Can I work safely even after commenting lines above ?
Thanks in advanced !
Best wishes
--
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt on freenode
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20121218/e26513f3/attachment.html>
More information about the postgis-devel
mailing list