[gdal-dev] GDAL build problems under Linux debian x86_64

Josh.Vote at csiro.au Josh.Vote at csiro.au
Mon May 16 03:07:05 EDT 2011


Hi,

I'm currently trying to build gdal trunk (rev 22377) on an amd64 Linux (Debian) box and I keep getting an error whenever I try to run 'make'. See below for the output of make (./configure returned no obvious errors).

(cd port; make)
make[1]: Entering directory `/home/JoshVote/gdal/port'
/bin/sh /home/JoshVote/gdal/libtool --mode=compile --tag=CXX g++ -g -O2  -Wall  -DOGR_ENABLED -I/home/JoshVote/gdal/port   -I../frmts/zlib  -DHAVE_LIBZ -c -o cpl_conv.lo cpl_conv.cpp
/home/JoshVote/gdal/libtool: 1656: preserve_args+= --tag CXX: not found
eval: 1: base_compile+= g++: not found
eval: 1: base_compile+= -g: not found
eval: 1: base_compile+= -O2: not found
eval: 1: base_compile+= -Wall: not found
eval: 1: base_compile+= -DOGR_ENABLED: not found
eval: 1: base_compile+= -I/home/JoshVote/gdal/port: not found
eval: 1: base_compile+= -I../frmts/zlib: not found
eval: 1: base_compile+= -DHAVE_LIBZ: not found
eval: 1: base_compile+= -c: not found
libtool: compile: you must specify a compilation command
libtool: compile: Try `libtool --help --mode=compile' for more information.
make[1]: *** [cpl_conv.lo] Error 1
make[1]: Leaving directory `/home/JoshVote/gdal/port'
make: *** [port-target] Error 2

The annoying thing is that I have absolutely no problems building gdal under my 32 bit linux (Debian) box. I've been doing a bit of googling and have  come across a similar issue http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621930 that was apparently resolved for 1.7.3-2 a few weeks ago, did this ever make it to trunk?

Works Under - Debian 6.0 (Linux .... 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41 UTC 2011 i686 GNU/Linux)
Fails Under - Debian 6.0.1 (Linux .... 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 GNU/Linux)

Thanks in advance for any help
Josh Vote
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110516/a96c27c4/attachment.html


More information about the gdal-dev mailing list