GRASS 5 beta4 on DU alpha

Luca Palmeri lpalmeri at ux1.unipd.it
Tue Oct 26 15:07:11 EDT 1999


Hi Bernhard,

Bernhard Reiter wrote:

> > 0) Changed "gcc" -> "cc" and "-g" -> "-g3" in src/CMD/head/head
> >    cc likes very much the -g3 optimization with debugging symbols

> But this is not necessary.

> And usually you can give options to configure, like
>
>         CC=cc CFLAGS="-std1 -O -g3"  ./configure .....

Yes, sorry it is a little bit inelegant, but I did like that just to see
what where the guess of ./configure on CC and related options.
What you mean by unecessary ?
If you mean that gcc is the samte as cc, this is not true. Some
broken modules (like i.points3) are compiled without problems with
gcc, while with cc are not. Then the -g3 option, I do not know if it helps
really, but at least with that  cc do not warns you so much.

> > 2) changed "-lncurses" -> "-lcurses" in src/CMD/head/head. I do not
> >    have SOs ncurses on my system and had some unresolved symbols.
>
> configure should have taken care of this.
> Maybe you have ncurses installed somewhere.

Yes in fact, but I do not have a libcurses.so
Is that necessary to use ncurses ? I think so, I am not sure
but anyway I didn't find any other way to compile.
See in the bottom what gives me a find / -name *curses*

> I would recommend to install gnumake and bison/flex.
> It doesn't take that much space, and really helps.

I will do that tomorrow.

Thanks

Luca

find / -name *curses* gives

/usr/shlib/osf.1/libcurses.so
/usr/ccs/lib/libcurses.a
/usr/include/curses.h
/usr/lib/libcurses.a
/usr/opt/obsolete/usr/lib/libcurses.a
/usr/opt/obsolete/usr/shlib/libcurses.so
/export/venus6a/usr_local_du40d/lib/libncurses.a
/export/venus6a/usr_local_du40d/lib/libdcurses.a
/export/venus6a/usr_local_du40d/lib/libpcurses.a
/export/venus6a/usr_local_du40d/lib/gcc-lib/alpha-dec-osf2.0/2.6.3/include/curses.h
/export/venus6a/usr_local_du40d/lib/gcc-lib/alpha-dec-osf3.2/2.7.2.1/include/curses.h

/export/venus6a/usr_local_du40d/lib/gcc-lib/alphaev56-dec-osf4.0d/2.8.0/include/curses.h

/export/venus6a/usr_local_du40d/lib/ncurses
/export/venus6a/usr_local_du40d/lib/perl4/curses.ph
/export/venus6a/usr_local_du40d/lib/tin-1.1/curses.c
/export/venus6a/usr_local_du40d/lib/tin-1.1/curses.o
/export/venus6a/usr_local_du40d/man/man3/ncurses.3x
/export/venus6a/usr_local_du40d/man/cat3/ncurses.3x
/export/venus6a/usr_local_du40d/include/ncurses.h


--
--> Luca Palmeri - Dip. Proc. Chimici dell'Ingengeria
    Universita' di Padova  TEL: +390498275527 -------
-------------------------  FAX: +390498275528 -------
--> Think holistic @ the end of the 2nd millenium <--





More information about the grass-user mailing list