[Gdal-dev] Make error "libtool: compile: unable to infer
taggedconfiguration"
Patton, Eric
epatton at nrcan.gc.ca
Mon Apr 2 14:08:49 EDT 2007
Hi,
After making the following edits to GDALmake.opt.in :
1. Open GDALmake.opt.in file
2. Go to line 19
3. Replace
CC = $(LIBTOOL_COMPILE) @CC@
CXX = $(LIBTOOL_COMPILE) @CXX@
with
CC = $(LIBTOOL_COMPILE) --tag CC @CC@
CXX = $(LIBTOOL_COMPILE) --tag CXX @CXX@
And running ./configure, I receive the following error:
$ sudo make
(cd port; make)
make[1]: Entering directory `/usr/local/gdal-1.4.0/port'
/bin/sh /usr/local/gdal-1.4.0/libtool --mode=compile --tag CXX g++ -DOGR_ENABLED -I/usr/local/gdal-1.4.0/port -c -o cpl_conv.o cpl_conv.cpp
libtool: ignoring unknown tag CXX
mkdir .libs
g++ -DOGR_ENABLED -I/usr/local/gdal-1.4.0/port -c cpl_conv.cpp -fPIC -DPIC -o .libs/cpl_conv.o
/usr/local/gdal-1.4.0/libtool: line 1055: g++: command not found
make[1]: *** [cpl_conv.o] Error 1
make[1]: Leaving directory `/usr/local/gdal-1.4.0/port'
make: *** [port-target] Error 2
FWIW I have g++ 4.1.2 installed, with dev packages.
Shall I file a bug?
~ Eric.
More information about the Gdal-dev
mailing list