[GRASSLIST:1857] Re: r.in.gdal not found

Kirk R. Wythers kwythers at umn.edu
Thu Nov 20 21:21:03 EST 2003


On Nov 20, 2003, at 2:37 PM, Glynn Clements wrote:

>
> Kirk R. Wythers wrote:
>
>> Now that grass is built and installed (with gdal) without any errors,  
>> I
>> have a couple of user questions.
>>
>> First issue... when I try and import a non-georefrenced file with the
>> command:
>>
>> GRASS:~ > r.in.gdal
>> in=~/projects/wrf/map_imagery/typestand2325/legend1.tif out=legend1
>>
>> I get the message:
>>
>> bash: r.in.gdal: command not found
>
> This indicates that r.in.gdal isn't installed. Try running "make" and
> "make install" again.

OK... I tried re-doing make and make install. But, I get the same  
message. If I do find on r.in.gdal, I get:

GRASS:/usr/local/bin > sudo find / -name r.in.gdal
/Users/kirkw/tmp/grass-5.0.3/dist.powerpc-apple-darwin7.0.0/tcltkgrass/ 
module/r.in.gdal
/Users/kirkw/tmp/grass-5.0.3/src/raster/r.in.gdal
/Users/kirkw/tmp/grass-5.0.3/src/tcltkgrass/module/r.in.gdal
/usr/local/grass5/tcltkgrass/module/r.in.gdal
GRASS:/usr/local/bin >

Take two:

I tried a make clean, then a ./configure with the same config file:

./configure \
--with-grass=no \
--with-png=internal \
--with-jpeg=internal \
--with-gif=internal \
--with-libtiff=internal \
--with-geotiff=internal \
--with-libz=internal \
--without-ogr \
--without-pg \
--without-ogdi \
--without-python

and a new make/make install. The failed with the errors:

g++ -c -Wall -fPIC -O2   cpl_list.cpp -o cpl_list.o
rm -f cpl.a
ar rc cpl.a cpl_conv.o cpl_error.o cpl_string.o cpl_vsisimple.o  
cplgetsymbol.o cpl_dir.o cpl_path.o cpl_csv.o cpl_findfile.o  
cpl_vsil_unix_stdio_64.o cpl_minixml.o cpl_multiproc.o cpl_list.o
ranlib cpl.a
ranlib: file: cpl.a(cpl_vsil_unix_stdio_64.o) has no symbols
(cd gcore; make)
g++ -c -I.. -I../port -I../gcore -I../ogr -Wall -fPIC -O2    
gdalopen.cpp -o gdalopen.o
g++ -c -I.. -I../port -I../gcore -I../ogr -Wall -fPIC -O2    
-DINST_DATA=\"/usr/local/share/gdal\" \
         gdaldrivermanager.cpp -o gdaldrivermanager.o
g++ -c -I.. -I../port -I../gcore -I../ogr -Wall -fPIC -O2    
gdaldriver.cpp -o gdaldriver.o
g++ -c -I.. -I../port -I../gcore -I../ogr -Wall -fPIC -O2    
gdaldataset.cpp -o gdaldataset.o
g++ -c -I.. -I../port -I../gcore -I../ogr -Wall -fPIC -O2    
gdalrasterband.cpp -o gdalrasterband.o
g++ -c -I.. -I../port -I../gcore -I../ogr -Wall -fPIC -O2    
gdal_misc.cpp -o gdal_misc.o
g++ -c -I.. -I../port -I../gcore -I../ogr -Wall -fPIC -O2    
rasterio.cpp -o rasterio.o
g++ -c -I.. -I../port -I../gcore -I../ogr -Wall -fPIC -O2    
gdalrasterblock.cpp -o gdalrasterblock.o
g++ -c -I.. -I../port -I../gcore -I../ogr -Wall -fPIC -O2    
gdalcolortable.cpp -o gdalcolortable.o
g++ -c -I.. -I../port -I../gcore -I../ogr -Wall -fPIC -O2    
gdalmajorobject.cpp -o gdalmajorobject.o
g++ -c -I.. -I../port -I../gcore -I../ogr -Wall -fPIC -O2    
overview.cpp -o overview.o
g++ -c -I.. -I../port -I../gcore -I../ogr -Wall -fPIC -O2    
gdaldefaultoverviews.cpp -o gdaldefaultoverviews.o
(cd alg; make)
g++ -c -I.. -I../port -I../gcore -I../ogr -Wall -fPIC -O2    
gdalmediancut.cpp -o gdalmediancut.o
g++ -c -I.. -I../port -I../gcore -I../ogr -Wall -fPIC -O2    
gdaldither.cpp -o gdaldither.o
make[1]: *** No rule to make target `gdal_crs.o', needed by `default'.   
Stop.
make: *** [core-target] Error 2

What is gdal_crs.o?

>
> -- 
> Glynn Clements <glynn.clements at virgin.net>
>
------------------------------------------------------------------------
Kirk R. Wythers	                                     tel: 612.625.2261
Dept. of Forest Resources                 fax: 612.625.5212
University of Minnesota      email: kwythers at umn.edu
------------------------------------------------------------------------




More information about the grass-user mailing list