Alans wrote:
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.

a...@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
a...@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).

Alan,

This is very odd - I've never seen something quite like it.

One work around would likely be to configure GDAL --without-libtool.  I
wonder if 1.6.3 got released with an unstable libtool version.  Could you
try 1.6.2 on this system and see if that works?

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to