[Gdal-dev] make error

Frank Warmerdam warmerdam at pobox.com
Thu Mar 23 14:53:42 EST 2006


Laurie C G Menviel wrote:
> Hi,
> I am trying to install gdal on a linux machine.
> I ran the configure script similingly without problems but when I run make I get the following error:
> 
> GNUmakefile:44: warning: overriding commands for target `libgdal.la'
> GNUmakefile:40: warning: ignoring old commands for target `libgdal.la'
> (cd port; make)
> make[1]: Entering directory `/usr/bin/gdal/port'
> /bin/sh ../libtool --mode=compile g++ -Wall  -O2   -I../port  -c -o cpl_conv.o cpl_conv.cpp
>  g++ -Wall -O2 -I../port -c cpl_conv.cpp  -fPIC -DPIC -o .libs/cpl_conv.o
> In file included from cpl_conv.cpp:173:
> cpl_string.h:198: string: No such file or directory
> make[1]: *** [cpl_conv.o] Error 1
> make[1]: Leaving directory `/usr/bin/gdal/port'
> make: *** [port-target] Error 2

Laurie,

It seems you are missing the C++ include files that should come with the
compiler.  I don't know why exactly, but presumably there is some GNU C++
package that you can install that will provide them.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list