[GRASS-dev] problem com;
piling GRASS from source - r.in.gdal, r.out.gdal
Rainer M Krug
r.m.krug at gmail.com
Mon Oct 6 13:12:24 EDT 2008
Hi
I am trying to compile GRASS 6.3 from source, and am struggling with
the compilation of the modules r.in.gdal and r.out.gdal. BElow find my
config command and the last lines from the make.
Distro: OpenSuSE 10.3
gdal is configured as follow:
./configure --with-png=internal --with-jpeg=internal
--with-gif=internal --with-libtiff=internal --with-geotiff=internal
--with-libz=internal --with-threads=yes --without-grass --with-sqlite
--prefix=/export/home/rkrug
GRASS 6.3 is configured as follow:
./configure --prefix=/export/home/rkrug
--with-includes=/export/home/rkrug/include/
--with-libs=/export/home/rkrug/lib/ --with-tcltk=no --with-x=no
--with-opengl=no --with-sqlite=yes --with-jpeg=no
--with-gdal=/export/home/rkrug/bin/gdal-config --with-cxx
.
.
.
GRASS is now configured for: x86_64-unknown-linux-gnu
Source directory: /export/home/rkrug/source/grass-6.3.0
Build directory: /export/home/rkrug/source/grass-6.3.0
Installation directory: ${prefix}/grass-6.3.0
Startup script in directory: ${exec_prefix}/bin
C compiler: gcc -g -O2
C++ compiler: c++ -g -O2
Building shared libraries: yes
64bit support: no
OpenGL platform: none
NVIZ: no
BLAS support: no
C++ support: yes
DWG support: no
FFMPEG support: no
FFTW support: yes
FreeType support: no
GDAL support: yes
GLw support: no
JPEG support: no
LAPACK support: no
Large File Support (LFS): yes
Motif support: no
MySQL support: no
NLS support: no
ODBC support: no
OGR support: yes
OpenGL support: no
PNG support: yes
PostgreSQL support: no
Python support: no
Readline support: no
SQLite support: yes
Tcl/Tk support: no
wxWidgets support: no
TIFF support: yes
X11 support: no
MacOSX application: no
rkrug at head001:~/source/grass-6.3.0>
but the make results in:
GRASS GIS compilation log
-------------------------
Started compilation: Mon Oct 6 18:59:48 SAST 2008
--
Errors in:
/export/home/rkrug/source/grass-6.3.0/lib/gmath
/export/home/rkrug/source/grass-6.3.0/lib/vask
/export/home/rkrug/source/grass-6.3.0/lib/edit
/export/home/rkrug/source/grass-6.3.0/lib/imagery
/export/home/rkrug/source/grass-6.3.0/lib/rst/interp_float
/export/home/rkrug/source/grass-6.3.0/lib/init
/export/home/rkrug/source/grass-6.3.0/general/g.transform
/export/home/rkrug/source/grass-6.3.0/imagery/i.cluster
/export/home/rkrug/source/grass-6.3.0/imagery/i.gensig
/export/home/rkrug/source/grass-6.3.0/imagery/i.gensigset
/export/home/rkrug/source/grass-6.3.0/imagery/i.group
/export/home/rkrug/source/grass-6.3.0/imagery/i.his.rgb
/export/home/rkrug/source/grass-6.3.0/imagery/i.maxlik
/export/home/rkrug/source/grass-6.3.0/imagery/i.rectify
/export/home/rkrug/source/grass-6.3.0/imagery/i.rgb.his
/export/home/rkrug/source/grass-6.3.0/imagery/i.smap/shapiro
/export/home/rkrug/source/grass-6.3.0/imagery/i.target
/export/home/rkrug/source/grass-6.3.0/imagery/i.pca
/export/home/rkrug/source/grass-6.3.0/imagery/i.cca
/export/home/rkrug/source/grass-6.3.0/imagery/i.fft
/export/home/rkrug/source/grass-6.3.0/imagery/i.ifft
/export/home/rkrug/source/grass-6.3.0/imagery/i.zc
/export/home/rkrug/source/grass-6.3.0/ps/ps.map
/export/home/rkrug/source/grass-6.3.0/raster/r.le/r.le.setup
/export/home/rkrug/source/grass-6.3.0/raster/r.out.gdal
/export/home/rkrug/source/grass-6.3.0/raster/r.param.scale
/export/home/rkrug/source/grass-6.3.0/raster/r.resamp.rst
/export/home/rkrug/source/grass-6.3.0/raster/r.support/modcats
/export/home/rkrug/source/grass-6.3.0/raster/r.support/modhist
/export/home/rkrug/source/grass-6.3.0/raster/r.support/modhead
/export/home/rkrug/source/grass-6.3.0/raster/r.surf.random
/export/home/rkrug/source/grass-6.3.0/raster/r.surf.gauss
/export/home/rkrug/source/grass-6.3.0/raster/simwe/simlib
/export/home/rkrug/source/grass-6.3.0/raster/simwe/r.sim.water
/export/home/rkrug/source/grass-6.3.0/raster/simwe/r.sim.sediment
/export/home/rkrug/source/grass-6.3.0/raster/r.in.gdal
/export/home/rkrug/source/grass-6.3.0/raster/r.surf.fractal
/export/home/rkrug/source/grass-6.3.0/vector/v.kernel
/export/home/rkrug/source/grass-6.3.0/vector/v.surf.rst
/export/home/rkrug/source/grass-6.3.0/vector/v.transform
/export/home/rkrug/source/grass-6.3.0/vector/lidar/lidarlib
/export/home/rkrug/source/grass-6.3.0/vector/lidar/v.surf.bspline
/export/home/rkrug/source/grass-6.3.0/vector/lidar/v.outlier
/export/home/rkrug/source/grass-6.3.0/vector/lidar/v.lidar.correction
/export/home/rkrug/source/grass-6.3.0/vector/lidar/v.lidar.edgedetection
/export/home/rkrug/source/grass-6.3.0/vector/lidar/v.lidar.growing
--
I am only worried about r.in.gdal and r.out.gdal.
Going into the directory and do a 'make' results in:
rkrug at head001:~/source/grass-6.3.0/raster/r.out.gdal> make
make: *** No rule to make target
`/export/home/rkrug/source/grass-6.3.0/dist.x86_64-unknown-linux-gnu/lib/libgrass_I.so',
needed by `/export/home/rkrug/source/grass-6.3.0/dist.x86_64-unknown-linux-gnu/bin/r.out.gdal'.
Stop.
Any help appreciated,
Rainer
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Faculty of Science
Natural Sciences Building
Private Bag X1
University of Stellenbosch
Matieland 7602
South Africa
More information about the grass-dev
mailing list