[Gdal-dev] Build/ Compile problem
Frank Warmerdam
warmerdam at pobox.com
Fri Jan 23 11:42:33 EST 2004
thisiseric at shaw.ca wrote:
> Good morning,
>
> I am trying to get up and running with GDAL and durring my installation of 1.1.9 on Mandrake Linux 9.2. When I try to run the 'make all' the following error stops the install:
>
> make[1]: Entering directory `/usr/software/Map Server/gdal-1.1.9/apps' gcc -I/usr/software/Map Server/gdal-1.1.9 -I/usr/software/Map Server/gdal-1.1.9/port -I/usr/software/Map Server/gdal-1.1.9/gcore -I/usr/software/Map Server/gdal-1.1.9/ogr -I/usr/software/Map Server/gdal-1.1.9/frmts -I/usr/software/Map Server/gdal-1.1.9/alg -c -Wall -fPIC -O2 gdalinfo.c -o gdalinfo.o
> gcc: cannot specify -o with -c or -S and multiple compilations
> make[1]: *** [gdalinfo.o] Error 1
> make[1]: Leaving directory `/usr/software/Map Server/gdal-1.1.9/apps'
> make: *** [apps-target] Error 2
>
> Admiditly I am not an experienced Lnux user but we all have to start somewhere.
>
> I thank you in advance for any help that you can provide me.
Eric,
I believe the problem is that your directory name contains a space. This is
generally bad karma. You might be able to work around it with suitable
quoting but my suggestion is to rename your "Map Server" directory to "MapServer".
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list