[postgis-devel] Problems compiling ( libtool )

Sandro Santilli strk at keybit.net
Sun Sep 18 22:45:26 PDT 2011


On Sun, Sep 18, 2011 at 08:09:50PM -0400, Nathaniel Hunter Clay wrote:
> Hi all,
> 
> I am having trouble compiling postgis svn trunk on Ubuntu 11.10. I
> have gcc installed, is there anything I need to do to inform libtool
> where to point etc.?
> 
> Thanks,
> 
> Nathaniel H Clay
> 
> nathaniel at nathan-MS-7599:/srv/gis/postgis$ make
> for s in liblwgeom libpgcommon regress postgis loader utils raster
> topology; do \
>         echo "---- Making all in ${s}"; \
>         make -C ${s} all || exit 1; \
>     done;
> ---- Making all in liblwgeom
> make[1]: Entering directory `/srv/gis/postgis/liblwgeom'
> /bin/sh ../libtool --mode=compile gcc -g -O2  -fPIC -DPIC  -Wall
> -Wmissing-prototypes -I/usr/include -DPOSTGIS_GEOS_VERSION=32
> -DPOSTGIS_PROJ_VERSION=47 -c -o stringbuffer.lo stringbuffer.c
> eval: 1: base_compile+= gcc: not found
> eval: 1: base_compile+= -g: not found
> eval: 1: base_compile+= -O2: not found
> eval: 1: base_compile+= -fPIC: not found
> eval: 1: base_compile+= -DPIC: not found
> eval: 1: base_compile+= -Wall: not found
> eval: 1: base_compile+= -Wmissing-prototypes: not found
> eval: 1: base_compile+= -I/usr/include: not found
> eval: 1: base_compile+= -DPOSTGIS_GEOS_VERSION=32: not found
> eval: 1: base_compile+= -DPOSTGIS_PROJ_VERSION=47: not found
> eval: 1: base_compile+= -c: not found
> eval: 1: CC_quoted+= gcc: not found
> libtool: compile: you must specify a compilation command
> libtool: compile: Try `libtool --help --mode=compile' for more information.
> make[1]: *** [stringbuffer.lo] Error 1
> make[1]: Leaving directory `/srv/gis/postgis/liblwgeom'
> make: *** [all] Error 1
> nathaniel at nathan-MS-7599:/srv/gis/postgis$ gcc --help
> Usage: gcc [options] file...

Did you run ./autogen.sh && ./configure recently ?
What's the output of ./configure ?

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list