|
From: Michael B. <beh...@us...> - 2007-10-18 20:25:47
|
Am Mittwoch, 17. Oktober 2007 22:21 schrieb Javier Baladron: > Hi, I am installing SUMO on Ubuntu and getting problem with the configure > script. When I run the script, it says gdal-lib not found. I installed gdal > from the repository (apt-get) and its seems everything was ok. I tried > running the script with the --with-gdal-libraries=/usr/share/gdal and > /usr/include/gdal and it keeps with the same problem. Did you check whether the headers are really there? I am not familiar with the Debian/Ubuntu packaging system but on openSuse it is often neccessary to install a dev package (named something like gdal-dev) to get the header files. > > Also I tried installing the gda package on the SUMO website and found a > problem on the make command > fitdataset.cpp:177: error: extra qualification 'FITRasterBand::' on member > 'FITRasterBand' > fitdataset.cpp: In static member function 'static GDALDataset* > FITDataset::Open(GDALOpenInfo*)': > fitdataset.cpp:1019: warning: dereferencing type-punned pointer will break > strict-aliasing rules > make[2]: *** [../o/fitdataset.o] Error 1 > make[2]: se sale del directorio `/home/seldon/Desktop/SUMO > LINUX/gdal131.tar.gz_FILES/gdal-1.3.1/frmts/fit' > make[1]: *** [fit-install-obj] Error 2 > make[1]: se sale del directorio `/home/seldon/Desktop/SUMO > LINUX/gdal131.tar.gz_FILES/gdal-1.3.1/frmts' > make: *** [frmts-target] Error 2 Please try again iwth a more recent GDAL and if this does not compile, post it to the relevant gdal lists. The setup for our daily Linux build uses gdal 1.4.2. Yours, Michael |