[Gdal-dev] Make error "libtool: compile: unable to infer tagged configuration"

Mateusz Loskot mateusz at loskot.net
Sun Apr 1 06:41:53 EDT 2007


Alessandro Amici wrote:
> Eric,
> 
> On Friday 30 March 2007 17:54, Patton, Eric wrote:
>> I just upgraded my Ubuntu to 7.04 Beta, and I'm re-compiling gdal-1.4.0.
>> configure progresses cleanly with no obvious errors. At the very beginning
>> of make, however, I encounter this 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 g++   -DOGR_ENABLED
>> -I/usr/local/gdal-1.4.0/port  -c -o cpl_conv.o cpl_conv.cpp libtool:
>> compile: unable to infer tagged configuration
>> libtool: compile: specify a tag with `--tag'
>> make[1]: *** [cpl_conv.o] Error 1
>> make[1]: Leaving directory `/usr/local/gdal-1.4.0/port'
>> make: *** [port-target] Error 2
> 
> i just tried a clean configure/make with gdal 1.4.0 on ubuntu 7.04 beta 
> (x86_64 in my case) and i can't reproduce the problem. 

I don't have access to Ubuntu 7.04 now so I can not check it myself,
but are you sure you did build it *with* libtool support on?

GDAL can be compiled with:

./configure

*or* without libtool used:

./configure --without-libtool

In the latter case the error reported by Eric will not leak.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list