[gdal-dev] Compile error with --with-python

ChiefDan ChiefDan at gmail.com
Wed Mar 3 13:20:29 EST 2010


I am seeing a very odd build error that seems to be happening in the
swig/python area.
For some reason on a "-L" options the directory name is getting spaces
between every character:

compile options: '-I../../port -I../../gcore -I../../alg -I../../ogr/
-I/usr/include/python2.5
-I/usr/lib/python2.5/site-packages/numpy/core/include
-I/home/xeniaprod/src/gdal-1.7.1/include -c'
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
build/temp.linux-i686-2.5/extensions/gdal_wrap.o -L../../.libs -L../../ - L
/ h o m e / x e n i a p r o d / s r c / g d a l - 1 . 7 . 1 / l i b -lgdal
-o build/lib.linux-i686-2.5/osgeo/_gdal.so

I then get a bunch of errors such as:
g++: L: No such file or directory
g++: h: No such file or directory
g++: o: No such file or directory

basically one per letter because I assume the spaces between each character
in the directory is fooling the process into thing each letter is a file. 
I am trying to compile under an Ubuntu installation.
My configure command line is:  ./configure --with-static-proj4 --with-png
--with-jpeg --with-sqlite3 --with-geotiff --with-python --with-tif
--without-odbcmake

Any pointers would be greatly appreciated!

Dan


-- 
View this message in context: http://n2.nabble.com/Compile-error-with-with-python-tp4669408p4669408.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list