[GRASS-user] problems building grass 6.3
Seb
spluque at gmail.com
Thu Nov 23 12:06:41 EST 2006
Dear List,
Until recently I've been successful building grass 6.3 from CVS by first
configuring it using:
,-----[ grass_cvsconfig.sh ]
| #! /bin/sh
| # GRASS CVS updater and configurer
|
| cd /usr/local/src/grass-cvs
| make clean
| make distclean
| export CVSROOT=:pserver:grass-guest at intevation.de:/home/grass/grassrepository
| cvs login
| cvs update -dP
|
| CFLAGS="-g -Wall" ./configure --enable-64bit --with-libs=/usr/lib64 \
| --with-tcltk-includes=/usr/include/tcl8.4 --with-readline --with-cxx \
| --with-odbc --with-mysql --with-mysql-includes=/usr/include/mysql \
| --without-postgres --with-proj-share=/usr/share/proj --with-motif \
| --with-freetype --with-freetype-includes=/usr/include/freetype2 \
| 2>&1 | tee config_log.txt
`-----
which produces the following when called:
,-----[ tail -n 42 /usr/local/src/grass-cvs/config_log.txt ]
|
| GRASS is now configured for: x86_64-unknown-linux-gnu
|
| Source directory: /usr/local/src/grass-cvs
| Build directory: /usr/local/src/grass-cvs
| Installation directory: /usr/local/grass-6.3.cvs
| Startup script in directory: ${exec_prefix}/bin
| C compiler: gcc -g -Wall
| C++ compiler: c++ -g -O2
| FORTRAN compiler:
| Building shared libraries: yes
| 64bit support: yes
| OpenGL platform: X11
|
| NVIZ: yes
|
| BLAS support: no
| C++ support: yes
| DWG support: no
| FFMPEG support: no
| FFTW support: yes
| FreeType support: yes
| GDAL support: yes
| GLw support: no
| JPEG support: yes
| LAPACK support: no
| Large File Support (LFS): no
| Motif support: yes
| MySQL support: yes
| NLS support: no
| ODBC support: yes
| OGR support: yes
| OpenGL support: yes
| PNG support: yes
| PostgreSQL support: no
| Python support: no
| Readline support: yes
| SQLite support: no
| Tcl/Tk support: yes
| TIFF support: yes
| X11 support: yes
|
`-----
However, I am currently getting many errors during build, and I've stored
the results with 'make 2>&1 | tee make_log.txt':
,-----[ tail -n 135 /usr/local/src/grass-cvs/make_log.txt ]
| Generated HTML docs in ../dist.x86_64-unknown-linux-gnu/docs/html/index.html
| ----------------------------------------------------------------------
| Following modules are missing the 'description.html' file in src code:
| r.li.patchnumber
| r.li.shape
| r.watershed.ram
| r.watershed.seg
| ----------------------------------------------------------------------
| GRASS GIS compilation log
| -------------------------
| Started compilation: Thu Nov 23 10:26:49 CST 2006
| --
| Errors in:
| /usr/local/src/grass-cvs/lib/proj
| /usr/local/src/grass-cvs/lib/vector/Vlib
| /usr/local/src/grass-cvs/lib/sites
| /usr/local/src/grass-cvs/lib/rst/interp_float
| /usr/local/src/grass-cvs/lib/ogsf
| /usr/local/src/grass-cvs/db/drivers/ogr
| /usr/local/src/grass-cvs/display/d.extend
| /usr/local/src/grass-cvs/display/d.extract
| /usr/local/src/grass-cvs/display/d.grid
| /usr/local/src/grass-cvs/display/d.path
| /usr/local/src/grass-cvs/display/d.vect
| /usr/local/src/grass-cvs/display/d.vect.chart
| /usr/local/src/grass-cvs/display/d.what.vect
| /usr/local/src/grass-cvs/display/d.where
| /usr/local/src/grass-cvs/display/d.zoom
| /usr/local/src/grass-cvs/general/g.proj
| /usr/local/src/grass-cvs/general/g.region/cmd
| /usr/local/src/grass-cvs/general/g.setproj
| /usr/local/src/grass-cvs/general/manage/cmd
| /usr/local/src/grass-cvs/general/manage/lister
| /usr/local/src/grass-cvs/imagery/i.vpoints
| /usr/local/src/grass-cvs/ps/ps.map
| /usr/local/src/grass-cvs/raster/r.carve
| /usr/local/src/grass-cvs/raster/r.contour
| /usr/local/src/grass-cvs/raster/r.cost
| /usr/local/src/grass-cvs/raster/r.drain
| /usr/local/src/grass-cvs/raster/r.flow
| /usr/local/src/grass-cvs/raster/r.le/r.le.setup
| /usr/local/src/grass-cvs/raster/r.proj
| /usr/local/src/grass-cvs/raster/r.random
| /usr/local/src/grass-cvs/raster/r.region
| /usr/local/src/grass-cvs/raster/r.resamp.rst
| /usr/local/src/grass-cvs/raster/r.sun
| /usr/local/src/grass-cvs/raster/r.sunmask
| /usr/local/src/grass-cvs/raster/r.to.vect
| /usr/local/src/grass-cvs/raster/r.volume
| /usr/local/src/grass-cvs/raster/r.walk
| /usr/local/src/grass-cvs/raster/simwe/simlib
| /usr/local/src/grass-cvs/raster/simwe/r.sim.water
| /usr/local/src/grass-cvs/raster/simwe/r.sim.sediment
| /usr/local/src/grass-cvs/raster/r.in.gdal
| /usr/local/src/grass-cvs/vector/v.buffer
| /usr/local/src/grass-cvs/vector/v.build
| /usr/local/src/grass-cvs/vector/v.build.polylines
| /usr/local/src/grass-cvs/vector/v.category
| /usr/local/src/grass-cvs/vector/v.clean
| /usr/local/src/grass-cvs/vector/v.convert
| /usr/local/src/grass-cvs/vector/v.db.connect
| /usr/local/src/grass-cvs/vector/v.db.select
| /usr/local/src/grass-cvs/vector/v.distance
| /usr/local/src/grass-cvs/vector/v.drape
| /usr/local/src/grass-cvs/vector/v.extract
| /usr/local/src/grass-cvs/vector/v.extrude
| /usr/local/src/grass-cvs/vector/v.hull
| /usr/local/src/grass-cvs/vector/v.info
| /usr/local/src/grass-cvs/vector/v.in.ascii
| /usr/local/src/grass-cvs/vector/v.in.db
| /usr/local/src/grass-cvs/vector/v.in.dxf
| /usr/local/src/grass-cvs/vector/v.in.region
| /usr/local/src/grass-cvs/vector/v.in.sites
| /usr/local/src/grass-cvs/vector/v.kcv
| /usr/local/src/grass-cvs/vector/v.kernel
| /usr/local/src/grass-cvs/vector/v.label
| /usr/local/src/grass-cvs/vector/v.lrs/lib
| /usr/local/src/grass-cvs/vector/v.lrs/v.lrs.create
| /usr/local/src/grass-cvs/vector/v.lrs/v.lrs.segment
| /usr/local/src/grass-cvs/vector/v.lrs/v.lrs.label
| /usr/local/src/grass-cvs/vector/v.lrs/v.lrs.where
| /usr/local/src/grass-cvs/vector/v.proj
| /usr/local/src/grass-cvs/vector/v.mkgrid
| /usr/local/src/grass-cvs/vector/v.neighbors
| /usr/local/src/grass-cvs/vector/v.net
| /usr/local/src/grass-cvs/vector/v.net.alloc
| /usr/local/src/grass-cvs/vector/v.net.iso
| /usr/local/src/grass-cvs/vector/v.net.path
| /usr/local/src/grass-cvs/vector/v.net.salesman
| /usr/local/src/grass-cvs/vector/v.net.steiner
| /usr/local/src/grass-cvs/vector/v.normal
| /usr/local/src/grass-cvs/vector/v.out.ascii
| /usr/local/src/grass-cvs/vector/v.out.dxf
| /usr/local/src/grass-cvs/vector/v.out.pov
| /usr/local/src/grass-cvs/vector/v.out.svg
| /usr/local/src/grass-cvs/vector/v.out.vtk
| /usr/local/src/grass-cvs/vector/v.overlay
| /usr/local/src/grass-cvs/vector/v.parallel
| /usr/local/src/grass-cvs/vector/v.patch
| /usr/local/src/grass-cvs/vector/v.perturb
| /usr/local/src/grass-cvs/vector/v.split
| /usr/local/src/grass-cvs/vector/v.qcount
| /usr/local/src/grass-cvs/vector/v.random
| /usr/local/src/grass-cvs/vector/v.reclass
| /usr/local/src/grass-cvs/vector/v.sample
| /usr/local/src/grass-cvs/vector/v.segment
| /usr/local/src/grass-cvs/vector/v.select
| /usr/local/src/grass-cvs/vector/v.surf.idw
| /usr/local/src/grass-cvs/vector/v.surf.rst
| /usr/local/src/grass-cvs/vector/v.transform
| /usr/local/src/grass-cvs/vector/v.to.db
| /usr/local/src/grass-cvs/vector/v.to.points
| /usr/local/src/grass-cvs/vector/v.to.rast
| /usr/local/src/grass-cvs/vector/v.to.rast3
| /usr/local/src/grass-cvs/vector/v.type
| /usr/local/src/grass-cvs/vector/v.univar
| /usr/local/src/grass-cvs/vector/v.voronoi
| /usr/local/src/grass-cvs/vector/v.what
| /usr/local/src/grass-cvs/vector/v.what.rast
| /usr/local/src/grass-cvs/vector/v.vol.rst
| /usr/local/src/grass-cvs/vector/lidar/lidarlib
| /usr/local/src/grass-cvs/vector/lidar/v.bspline
| /usr/local/src/grass-cvs/vector/lidar/v.outlier
| /usr/local/src/grass-cvs/vector/lidar/v.lidar.correction
| /usr/local/src/grass-cvs/vector/lidar/v.lidar.edgedetection
| /usr/local/src/grass-cvs/vector/lidar/v.lidar.growing
| /usr/local/src/grass-cvs/vector/v.out.ogr
| /usr/local/src/grass-cvs/vector/v.in.ogr
| /usr/local/src/grass-cvs/vector/v.external
| /usr/local/src/grass-cvs/vector/v.digit
| /usr/local/src/grass-cvs/visualization/nviz
| --
| Finished compilation: Thu Nov 23 10:32:15 CST 2006
| (In case of errors please change into the directory with error and run 'make')
| make: *** [default] Error 1
`-----
Further up the log, I can see where these errors come from, e.g.:
,-----[ grep -A 1 -B 1 '/usr/local/src/grass-cvs/lib/proj' /usr/local/src/grass-cvs/make_log.txt ]
| proj
| make[2]: Entering directory `/usr/local/src/grass-cvs/lib/proj'
| gcc -I/usr/local/src/grass-cvs/dist.x86_64-unknown-linux-gnu/include -g -Wall -fPIC -DPACKAGE=\""grasslibs"\" -I/build/buildd/gdal-1.3.2/debian/tmp/usr/include -DPACKAGE=\""grasslibs"\" -DPACKAGE=\""grasslibs"\" -I/build/buildd/gdal-1.3.2/debian/tmp/usr/include -I/usr/local/src/grass-cvs/dist.x86_64-unknown-linux-gnu/include \
| --
| make[2]: *** [/usr/local/src/grass-cvs/dist.x86_64-unknown-linux-gnu/lib/libgrass_gproj.6.3.cvs.so] Error 1
| make[2]: Leaving directory `/usr/local/src/grass-cvs/lib/proj'
| rowio
| --
| Errors in:
| /usr/local/src/grass-cvs/lib/proj
| /usr/local/src/grass-cvs/lib/vector/Vlib
`-----
AFAICT nothing has changed in my system since last time this procedure
worked. I would be grateful for any advice on how to properly build this
grass version.
Cheers,
--
Seb
More information about the grass-user
mailing list