[GRASS-user] grass62-cvs-serversnapshot 2006/11/18: compiling error

hi,

i've downloaded yesterday the cvs-snapshot: grass-6.2.cvs_src_snapshot_2006_11_18

configuration with following options seems to be ok:

./configure --with-cxx --with-postgres --with-postgres-libs=/usr/include/pgsql/libpq --with-postgres-includes=/usr/include/pgsql/ --with-sqlite --with-freetype --with-freetype-includes=/usr/include/freetype2 --with-glw --with-proj-share=/usr/share/proj

GRASS is now configured for: i686-pc-linux-gnu

Source directory: /home/helli/tempinstall/grass62/grass-6.2.cvs_src_snapshot_2006_11_18
Build directory: /home/helli/tempinstall/grass62/grass-6.2.cvs_src_snapshot_2006_11_18
Installation directory: /usr/local/grass-6.2.1cvs
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: yes
  GDAL support: yes
  GLw support: yes
  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: yes
  Python support: no
  Readline support: no
  SQLite support: yes
  Tcl/Tk support: yes
  TIFF support: yes
  X11 support: yes

after make:

Following modules are missing the 'description.html' file in src code:
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: So Nov 19 14:01:05 CET 2006
--
Errors in:
/home/helli/tempinstall/grass62/grass-6.2.cvs_src_snapshot_2006_11_18/raster/r.surf.fractal
--
Finished compilation: So Nov 19 14:10:20 CET 2006
(In case of errors please change into the directory with error and run 'make')
make: *** [default] Fehler 1

make in the error-directory with the following messages:

helli@linux-ni8p:~/tempinstall/grass62/grass-6.2.cvs_src_snapshot_2006_11_18/raster/r.surf.fractal>
make
gcc -I/home/helli/tempinstall/grass62/grass-6.2.cvs_src_snapshot_2006_11_18/dist.i686-pc-linux-gnu/include -g -O2 -DPACKAGE=\""grassmods"\" -I/home/helli/tempinstall/grass62/grass-6.2.cvs_src_snapshot_2006_11_18/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/main.o -c main.c
main.c: In Funktion »main«:
main.c:34: Fehler: »EXIT_SUCCESS« undeclared (first use in this function)
main.c:34: Fehler: (Each undeclared identifier is reported only once
main.c:34: Fehler: for each function it appears in.)
make: *** [OBJ.i686-pc-linux-gnu/main.o] Fehler 1

compiling with the same options and grass63-cvs-snapshot from yesterday was ok.

regards
helli

-+o++o++o++o++o++o++o++o+-
helmut kudrnovsky
internet: www.alectoria.at
-+o++o++o++o++o++o++o++o+-
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130

On Sun, Nov 19, 2006 at 03:52:15PM +0100, Helmut Kudrnovsky wrote:

hi,

i've downloaded yesterday the cvs-snapshot: grass-6.2.cvs_src_snapshot_2006_11_18

...

Errors in:
/home/helli/tempinstall/grass62/grass-6.2.cvs_src_snapshot_2006_11_18/raster/r.surf.fractal
--

...

main.c:34: Fehler: »EXIT_SUCCESS« undeclared (first use in this function)

This bug was fixed in 6.2-CVS as well:
http://grass.itc.it/pipermail/grass-commit/2006-November/025258.html

... but only 1-2 hours after the snapshot was generated. So it
will show up next Saturday. You can easily fix the few line (see above
commit URL) if you want to fix it now.

Markus

Hi,

... sorry ... it was me:-( I forgot to add the headers...

Martin

2006/11/19, Markus Neteler <neteler@itc.it>:

On Sun, Nov 19, 2006 at 03:52:15PM +0100, Helmut Kudrnovsky wrote:
> hi,
>
> i've downloaded yesterday the cvs-snapshot: grass-6.2.cvs_src_snapshot_2006_11_18
>
...
> Errors in:
> /home/helli/tempinstall/grass62/grass-6.2.cvs_src_snapshot_2006_11_18/raster/r.surf.fractal
> --
...
> main.c:34: Fehler: »EXIT_SUCCESS« undeclared (first use in this function)

This bug was fixed in 6.2-CVS as well:
http://grass.itc.it/pipermail/grass-commit/2006-November/025258.html

... but only 1-2 hours after the snapshot was generated. So it
will show up next Saturday. You can easily fix the few line (see above
commit URL) if you want to fix it now.

Markus

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--
Martin Landa <landa.martin@gmail.com> * http://gama.fsv.cvut.cz/~landa *