[GRASSLIST:5223] Need help compiling gdal & mesa3d

Stephanie Granger steph at derecho.jpl.nasa.gov
Fri Dec 13 17:49:05 EST 2002


Hello again,

I am able to run grass5 on my Unix system thanks to help
from this list, but do not have full functionality, since I am
missing gdal and mesa3d (for NVIZ).

I've downloaded both tar files, unzipped, untarred, configured
and have attempted to install them both. I cannot get either to
install. 

----

Here are the error messages that I get when I execute 
make install for mesa3d:

Making install in SPARC
mksh: Fatal error in reader: = missing from replacement macro reference
Current working directory /home/steph/usr/local/Mesa-5.0/src/SPARC
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'
Current working directory /home/steph/usr/local/Mesa-5.0/src
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'

----

Here are the error messages that I get when I execute gmake for 
gdal:

(cd pymod; gmake)
gmake[1]: Entering directory `/home/steph/usr/local/gdal/gdal-1.1.7/pymod'
gmake[1]: *** No rule to make target `../gdal.a', needed by `_gdalmodule.so'.  
Stop.
gmake[1]: Leaving directory `/home/steph/usr/local/gdal/gdal-1.1.7/pymod'
gmake: *** [py-module] Error 2

----

Here are the error messages that I get when I execute gmake install for
gdal:

gmake[1]: Entering directory `/home/steph/usr/local/gdal/gdal-1.1.7/ogr'
c++ -c -Iogrsf_frmts -I. -I../port  -Wall -fPIC -O2  -I/home/steph/grass5 
-I/home/steph/grass5/include   -I/usr/local/include  ogrinfo.cpp -o ogrinfo.o
(cd ogrsf_frmts; gmake)
gmake[2]: Entering directory 
`/home/steph/usr/local/gdal/gdal-1.1.7/ogr/ogrsf_frmts'
gmake[2]: `default' is up to date.
gmake[2]: Leaving directory 
`/home/steph/usr/local/gdal/gdal-1.1.7/ogr/ogrsf_frmts'
c++  ogrinfo.o ogrsf_frmts/ogrsf_frmts.a ogr.a ../port/cpl.a 
-L/home/steph/grass5 -L/home/steph/grass5/lib -lgrass5 -lz -lm -ldl 
-L/usr/local/lib -lm   -o ogrinfo
c++: ogrsf_frmts/ogrsf_frmts.a: No such file or directory
gmake[1]: *** [ogrinfo] Error 1
gmake[1]: Leaving directory `/home/steph/usr/local/gdal/gdal-1.1.7/ogr'
gmake: *** [install-actions] Error 2

My sys admin skills are not the greatest, but I know that I have python 
installed on my system, so I'm not sure why I getting this error.

Also, I do not have root access and am executing all compilations and
installations in my home directory.

Sorry this message is so long.

Thank you,

Stephanie Granger

--------------------------------------------------------------
Stephanie Granger		Stephanie.Granger at jpl.nasa.gov
Jet Propulsion Laboratory
Mail Stop 169-237
4800 Oak Grove Dr.		Voice 	(818) 354-5683
Pasadena, CA 91109		FAX	(818) 393-4619
--------------------------------------------------------------




More information about the grass-user mailing list