[Gdal-dev] gdal build failure on SUSE LINUX Enterprise Server 10

Alans alan.stratford at goodrich.com
Thu Dec 10 09:59:45 EST 2009


I am trying to build gdal on SUSE LINUX Enterprise Server 10 and I get the
following error. I have tried 1.6.3 and the latest daily build. Both give
the same error.

alan at stratford:~/gdal/gdal-1.6.3 47% gmake
(cd port; gmake)
gmake[1]: Entering directory `/nashome/alan/gdal/gdal-1.6.3/port'
/bin/sh /nashome/alan/gdal/gdal-1.6.3/libtool --mode=compile --tag=CXX g++
-g -O2  -Wall  -DOGR_ENABLED -I/nashome/alan/gdal/gdal-1.6.3/port -I
-I/include      -DHAVE_CURL -DHAVE_LIBZ -c -o cpl_conv.lo cpl_conv.cpp
libtool: clean: rmdir .libs >/dev/null 2>&1
libtool: clean: rmdir .libs >/dev/null 2>&1
libtool: compile:  g++ -g -O2 -Wall -DOGR_ENABLED
-I/nashome/alan/gdal/gdal-1.6.3/port -I -I/include -DHAVE_CURL -DHAVE_LIBZ
-c cpl_conv.cpp  -fPIC -DPIC -o .libs/cpl_conv.o
Assembler messages:
FATAL: can't create .libs/cpl_conv.o: No such file or directory
gmake[1]: *** [cpl_conv.lo] Error 1
gmake[1]: Leaving directory `/nashome/alan/gdal/gdal-1.6.3/port'
gmake: *** [port-target] Error 2
alan at stratford:~/gdal/gdal-1.6.3 48%

The problem seems to be that the port/.libs directory is removed before an
attempt to create a file in that directory. I am not sufficiently proficient
with makefiles to diagnose the problem. Could it be something wrong with my
configuration, or the fact that I am using SLES 10?

I have tried adding a dummy file to the port/.libs directory to make the rm
fail. This just causes a failure in the next director (i.e. gcore/.libs).

Any ideas?

-- 
View this message in context: http://n2.nabble.com/gdal-build-failure-on-SUSE-LINUX-Enterprise-Server-10-tp4145777p4145777.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list