I just tried the english output of make:
reddog@Linux:~/grass6/general/g.region$ make
cmd
make[1]: Entering directory `/home/reddog/grass6/general/g.region/cmd'
make[1]: *** No rule to make target `/home/reddog/grass6/dist.i686-pc-linux-gnu/lib/libgrass_vect.so', needed by `/home/reddog/grass6/dist.i686-pc-linux-gnu/bin/g.region'. Stop.
make[1]: Leaving directory `/home/reddog/grass6/general/g.region/cmd'
-------- Original-Nachricht --------
Datum: Thu, 25 Jan 2007 21:14:22 +0100
Von: "Reddog Blackcat" <thereddog@gmx.net>
An: grass-dev@grass.itc.it
Betreff: grass compilation problem
Hello,
i have a problem while trying to compile GRASS 6.3, which I got from CVS. I have Ubuntu, here is my config:
root@Linux:~/grass-6.3.cvs_src_snapshot_2007_01_13# ./configure --without-postgres --with-cxx
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for full floating-point support... yes
checking for pwd... /bin/pwd
checking for source directory... /home/reddog/grass-6.3.cvs_src_snapshot_2007_01_13
checking for build directory... /home/reddog/grass-6.3.cvs_src_snapshot_2007_01_13
checking how to build libraries... shared
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... Linux-2.6.17-10-generic
checking for dlopen in -ldl... yes
checking for ar... ar
checking for SysV... no
checking for XDriver... socket
checking for additional include dirs...
checking for additional library dirs...
checking for a BSD compatible install... /usr/bin/install -c
checking for flex... flex
checking for yywrap in -lfl... yes
checking for bison... bison -y
checking for ranlib... ranlib
checking for ar... ar
checking for env... env
checking for perl... /usr/bin/perl
checking for ANSI C header files... yes
checking for limits.h... yes
checking for termio.h... yes
checking for termios.h... yes
checking for unistd.h... yes
checking for values.h... yes
checking for g2c.h... yes
checking for f2c.h... no
checking for sys/ioctl.h... yes
checking for sys/mtio.h... yes
checking for sys/resource.h... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for sys/types.h... yes
checking for sys/utsname.h... yes
checking for libintl.h... yes
checking for iconv.h... yes
checking for langinfo.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for off_t... yes
checking for uid_t in sys/types.h... yes
checking return type of signal handlers... void
checking for Cygwin environment... no
checking for ftime... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for lseek... yes
checking for nice... yes
checking for time... yes
checking for uname... yes
checking for seteuid... yes
checking for setpriority... yes
checking for setreuid... yes
checking for setruid... no
checking for drand48... yes
checking for putenv... yes
checking for setenv... yes
checking for nanosleep... yes
checking whether setpgrp takes no argument... yes
checking for W11... no
checking for X... libraries , headers
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether to use Curses... yes
checking for curses.h... yes
checking curses.h WINDOW structure component... _maxy
checking for initscr in -lncurses... yes
checking for keypad in -lncurses... yes
checking for gtty in -lcompat... no
checking for gtty in -lbsd-compat... yes
checking for library containing cuserid... none required
checking for xdrmem_create... yes
checking for asprintf... yes
checking for atan... no
checking for atan in -lm... yes
checking for dlsym... no
checking for dlsym in -ldl... yes
checking for iconv... yes
checking for socket... yes
checking for location of zlib includes...
checking for zlib.h... yes
checking for location of zlib library...
checking for deflate in -lz... yes
checking for location of External PROJ.4 includes...
checking for proj_api.h... yes
checking External PROJ.4 version... 449
checking for location of External PROJ.4 library...
checking for pj_get_def in -lproj... yes
checking for location of External PROJ.4 data files...
configure: warning: *** External PROJ.4 directory not specified; default will be used
checking for /usr/local/share/proj/epsg... no
configure: warning: *** Unable to locate PROJ data files.
checking for nad2bin... /usr/bin/nad2bin
checking whether to use Readline... no
checking whether to use JPEG... yes
checking for location of JPEG includes...
checking for jpeglib.h... yes
checking for location of JPEG library...
checking for jpeg_start_compress in -ljpeg... yes
checking whether to use GDAL... yes
checking for gdal-config... /usr/bin/gdal-config
checking whether to use TIFF... yes
checking for location of TIFF includes...
checking for tiffio.h... yes
checking for location of TIFF library...
checking for TIFFOpen in -ltiff... yes
checking whether to use PNG... yes
checking for location of PNG includes...
checking for png.h... yes
checking for location of PNG library...
checking for png_read_image in -lpng... yes
checking whether to use Tcl/Tk... yes
checking for location of Tcl/Tk includes...
checking for tcl.h... yes
checking for tk.h... yes
checking Tcl version... 8.4
checking Tk version... 8.4
checking for location of Tcl/Tk library...
checking for Tcl_Init in -ltcl... no
checking for Tcl_Init in -ltcl... no
checking for Tcl_Init in -ltcl8.4... yes
checking for Tk_MainWindow in -ltk... no
checking for Tk_MainWindow in -ltk... no
checking for Tk_MainWindow in -ltk8.4... yes
checking whether to use PostgreSQL... no
checking whether to use MySQL... no
checking whether to use SQLite... no
checking whether to use FFMPEG... no
checking whether to use OpenGL... yes
checking for location of OpenGL includes...
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for location of OpenGL library...
checking for glBegin in -lGL... yes
checking for gluBeginCurve in -lGLU... yes
checking for glXCreatePbuffer... yes
checking for glXCreateGLXPixmap... yes
checking whether to use ODBC... no
checking whether to use FFTW... yes
checking for location of FFTW includes...
checking for fftw3.h... yes
checking for location of FFTW library...
checking for fftw_execute in -lfftw3... yes
checking whether to use BLAS... no
checking whether to use LAPACK... no
checking whether to use Motif... no
checking whether to use GLw... no
checking whether to use FreeType... no
checking whether to use NLS... no
checking whether to use C++... yes
checking for c++... c++
checking whether the C++ compiler (c++ -Wl,--export-dynamic) works... yes
checking whether the C++ compiler (c++ -Wl,--export-dynamic) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking whether to use openDWG... no
checking if system supports Large Files at all... no
checking whether to use PYTHON... no
creating ./config.status
creating include/Make/Grass.make
creating include/Make/Platform.make
creating include/version.h
creating include/winname.h
creating swig/perl/Makefile.PL
creating swig/perl2/make.pl
creating swig/python/Makefile
creating grass.pc
creating include/config.h
Copying config.status to config.status.i686-pc-linux-gnu
GRASS is now configured for: i686-pc-linux-gnu
Source directory: /home/reddog/grass-6.3.cvs_src_snapshot_2007_01_13
Build directory: /home/reddog/grass-6.3.cvs_src_snapshot_2007_01_13
Installation directory: /usr/local/grass-6.3.cvs
Startup script in directory: ${exec_prefix}/bin
C compiler: gcc -g -O2
C++ compiler: c++ -g -O2
FORTRAN compiler:
Building shared libraries: yes
64bit support: no
OpenGL platform: X11
NVIZ: yes
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: yes
LAPACK support: no
Large File Support (LFS): no
Motif support: no
MySQL support: no
NLS support: no
ODBC support: no
OGR support: yes
OpenGL support: yes
PNG support: yes
PostgreSQL support: no
Python support: no
Readline support: no
SQLite support: no
Tcl/Tk support: yes
TIFF support: yes
X11 support: yes
After running make there are lots of errors e.g. with g.region. When changing into the directory and running make I get the error:
make[1]: Betrete Verzeichnis '/home/reddog/grass-6.3.cvs_src_snapshot_2007_01_13/general/g.region/cmd'
make[1]: *** Keine Regel vorhanden, um das Target »/home/reddog/grass-6.3.cvs_src_snapshot_2007_01_13/dist.i686-pc-linux-gnu/lib/libgrass_vect.so«,
benötigt von »/home/reddog/grass-6.3.cvs_src_snapshot_2007_01_13/dist.i686-pc-linux-gnu/bin/g.region«, zu erstellen. Schluss.
make[1]: Verlasse Verzeichnis '/home/reddog/grass-6.3.cvs_src_snapshot_2007_01_13/general/g.region/cmd'
Well I have a german version of make. The error says no rule for building ...libgrass_vect.so needed by ... .
Any clues what could be wrong?
Thanks.
--
--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail