[GRASS5] Re: 5.0.3 release candidate 2 Compiles on SuSE 8.1 & SuSE 8.2

Wolfgang Lueck wolfluck at mweb.co.za
Wed Aug 27 20:55:18 EDT 2003


Hi Markus

I compiled Grass 5.0.3 on SuSE 8.1 with just the arguments
"--with-postgres-includes='/usr/include/pgsql
/usr/include/pgsql/server'" thus the old SuSE story. Otherwise
everything including NVIZ works fine.

Then I went to Grass 5.3 "development snapshot 2003_03_23"

This also works fine except for g3d. Errorlog: Compilation error in
module: src.contrib/GMSL/g3d (ignored)

Grass 5.7  did not find Proj.4 and GDAL, so I compiled without.

./configure --with-grass50=/usr/local/src/grass50_exp_2003_08_23/src
--without-gdal --with-postgres-includes='/usr/include/pgsql

"make mix" went well
"make" produced the following errors see file "grass5.7compile.error"

Then I compiled 5.0.3 rc 2 on SuSE 8.2 with:
./configure --with-postgres-includes=/usr/include/pgsql/ --without-odbc

it all seemed to work fine and NVIZ works as well.

Just one thing I noticed in the configure log. Is this normal?

Buchan my tarball was fine
grass-5.0.3rc2/src.contrib/DUKE/r.terraflow/html/r.terraflow.html
is present.

Greetings Wolfgang

Greetings Wolfgang

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_setruid) || defined (__stub___setruid)
choke me
#else
setruid();
#endif

; return 0; }
configure:2731: checking for drand48
configure:2757: gcc -o conftest -g -O2    conftest.c  1>&5
configure:2781: checking whether setpgrp takes no argument
configure:2807: gcc -o conftest -g -O2    conftest.c  1>&5
configure: In function `main':
configure:2799: error: too many arguments to function `setpgrp'
configure: failed program was:
#line 2787 "configure"
#include "confdefs.h"

#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif


On Wed, 2003-08-27 at 14:32, Markus Neteler wrote:
> (cc grass5)
> 
> On Wed, Aug 27, 2003 at 03:36:28PM +1200, Hamish wrote:
> > > > > Oversights are always possible, so I have stored a new
> > > > > release candidate 2 (5.0.3_RC2) here:
> > > > > 
> > > > > http://mpa.itc.it/markus/grass50/
> > > > > 
> > > > > Please give it a try... (does it compile now out-of-the-box?)
> > 
> > 
> > rc2 compiles without errors on Redhat 7.3, Redhat 9, and Debian/Testing.
> 
> Thanks for testing.
> 
> Markus
> 
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
-------------- next part --------------
make[3]: Entering directory `/usr/local/src/grass51_exp_2003_08_23/lib/db/sqlp'
gcc -I/usr/local/src/grass51_exp_2003_08_23/include -I/usr/local/src/grass51_exp_2003_08_23/dist.i686-pc-linux-gnu/include -g -Wall  -Wall -Wconversion -Wno-implicit-int      -I/usr/local/src/grass51_exp_2003_08_23/include -I/usr/local/src/grass51_exp_2003_08_23/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/alloc.o -c alloc.c
/usr/local/src/grass51_exp_2003_08_23/include/sqlp.h:146: warning: `newNode' declared `static' but never defined
gcc -I/usr/local/src/grass51_exp_2003_08_23/include -I/usr/local/src/grass51_exp_2003_08_23/dist.i686-pc-linux-gnu/include -g -Wall  -Wall -Wconversion -Wno-implicit-int      -I/usr/local/src/grass51_exp_2003_08_23/include -I/usr/local/src/grass51_exp_2003_08_23/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/print.o -c print.c
/usr/local/src/grass51_exp_2003_08_23/include/sqlp.h:146: warning: `newNode' declared `static' but never defined
gcc -I/usr/local/src/grass51_exp_2003_08_23/include -I/usr/local/src/grass51_exp_2003_08_23/dist.i686-pc-linux-gnu/include -g -Wall  -Wall -Wconversion -Wno-implicit-int      -I/usr/local/src/grass51_exp_2003_08_23/include -I/usr/local/src/grass51_exp_2003_08_23/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/sql.o -c sql.c
sql.c: In function `sqpSaveStr':
sql.c:35: warning: passing arg 2 of `realloc' as unsigned due to prototype
sql.c: In function `newNode':
sql.c:191: warning: passing arg 1 of `malloc' as unsigned due to prototype
sql.c:192: warning: passing arg 3 of `memset' as unsigned due to prototype
bison -y -d -v yac.y
flex lex.l
gcc -I/usr/local/src/grass51_exp_2003_08_23/include -I/usr/local/src/grass51_exp_2003_08_23/dist.i686-pc-linux-gnu/include -g -Wall  -Wall -Wconversion -Wno-implicit-int      -I/usr/local/src/grass51_exp_2003_08_23/include -I/usr/local/src/grass51_exp_2003_08_23/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/lex.yy.o -c lex.yy.c
lex.l: In function `yylex':
lex.l:193: warning: passing arg 2 of `fwrite' as unsigned due to prototype
lex.l: In function `my_yyinput':
lex.l:217: warning: passing arg 3 of `memcpy' as unsigned due to prototype
lex.l: At top level:
/usr/local/src/grass51_exp_2003_08_23/include/sqlp.h:146: warning: `newNode' declared `static' but never defined
gcc -I/usr/local/src/grass51_exp_2003_08_23/include -I/usr/local/src/grass51_exp_2003_08_23/dist.i686-pc-linux-gnu/include -g -Wall  -Wall -Wconversion -Wno-implicit-int      -I/usr/local/src/grass51_exp_2003_08_23/include -I/usr/local/src/grass51_exp_2003_08_23/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/y.tab.o -c y.tab.c
yac.y: In function `yyparse':
yac.y:154: warning: passing arg 3 of `sqpValue' as floating rather than integer due to prototype
yac.y:155: warning: passing arg 3 of `sqpValue' as floating rather than integer due to prototype
yac.y:157: warning: passing arg 3 of `sqpValue' as floating rather than integer due to prototype
yac.y:158: warning: passing arg 3 of `sqpValue' as floating rather than integer due to prototype
yac.y:168: warning: passing arg 4 of `sqpAssignment' as floating rather than integer due to prototype
yac.y:169: warning: passing arg 4 of `sqpAssignment' as floating rather than integer due to prototype
yac.y:214: warning: passing arg 3 of `makeArithmValue' as floating rather than integer due to prototype
yac.y:218: warning: passing arg 3 of `makeArithmValue' as floating rather than integer due to prototype
yac.y:219: warning: passing arg 3 of `makeArithmValue' as floating rather than integer due to prototype
yac.y:220: warning: passing arg 3 of `makeArithmValue' as floating rather than integer due to prototype
yac.y: At top level:
/usr/local/src/grass51_exp_2003_08_23/include/sqlp.h:146: warning: `newNode' declared `static' but never defined
gcc -rdynamic -L/usr/local/src/grass51_exp_2003_08_23/dist.i686-pc-linux-gnu/lib   -Wl,-rpath, -shared    \
        OBJ.i686-pc-linux-gnu/alloc.o OBJ.i686-pc-linux-gnu/print.o OBJ.i686-pc-linux-gnu/sql.o OBJ.i686-pc-linux-gnu/lex.yy.o OBJ.i686-pc-linux-gnu/y.tab.o  -o /usr/local/src/grass51_exp_2003_08_23/dist.i686-pc-linux-gnu/lib/libgrass_sqlp.so
cp description.html /usr/local/src/grass51_exp_2003_08_23/dist.i686-pc-linux-gnu/docs/html/sql.html
cp: cannot create regular file `/usr/local/src/grass51_exp_2003_08_23/dist.i686-pc-linux-gnu/docs/html/sql.html': No such file or directory
make[3]: *** [default] Error 1
make[3]: Leaving directory `/usr/local/src/grass51_exp_2003_08_23/lib/db/sqlp'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/grass51_exp_2003_08_23/lib/db'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/local/src/grass51_exp_2003_08_23/lib'
make: *** [default] Error 1
cganlc2000:/usr/local/src/grass51_exp_2003_08_23 #


More information about the grass-dev mailing list