[GRASS-user] Error building 6.2.0rc2

Hi to all!
I am building 6.0.2rc2, but in the make log, i found some error;
as it says i went to the module folder, and issued make.
This is the output:

localhost g.access # make
gcc
-L/var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib
-Wl,--export-dynamic
-Wl,-rpath-link,/var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib
-DPACKAGE=\""grassmods"\"
-o /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/bin/g.access
OBJ.i386-pc-linux-gnu/exp_perms.o OBJ.i386-pc-linux-gnu/get_perms.o
OBJ.i386-pc-linux-gnu/main.o OBJ.i386-pc-linux-gnu/set_perms.o
-lgrass_gis -lgrass_datetime -lz -lgrass_vask -lbsd-compat -lm
-lz /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`endwin' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`nl' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`echo' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`wrefresh' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`waddnstr' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`nonl' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`noecho' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`waddch' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`initscr' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`winch' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`raw' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`wmove' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`wgetch' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`stdscr' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`noraw' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`wclear' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`COLS' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to
`curscr' /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib/libgrass_vask.so:
undefined reference to `LINES' collect2: ld returned 1 exit status
make: ***
[/var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/bin/g.access]
Error 1

What am I missing?

Thanks
Luca
--
"Chiunque può simpatizzare col dolore di un amico, ma solo chi ha un animo nobile riesce a simpatizzare col successo di un amico (Oscar Wilde)"

LINUX User #411601
GENTOO-GIS Development Team
jabber: casagrande@jabber.linux.it

Luca Casagrande wrote:

I am building 6.0.2rc2, but in the make log, i found some error;
as it says i went to the module folder, and issued make.
This is the output:

localhost g.access # make
gcc
-L/var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib
-Wl,--export-dynamic
-Wl,-rpath-link,/var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib
-DPACKAGE=\""grassmods"\"
-o /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/bin/g.access
OBJ.i386-pc-linux-gnu/exp_perms.o OBJ.i386-pc-linux-gnu/get_perms.o
OBJ.i386-pc-linux-gnu/main.o OBJ.i386-pc-linux-gnu/set_perms.o
-lgrass_gis -lgrass_datetime -lz -lgrass_vask -lbsd-compat -lm

I would expect to see -lncurses or -lcurses between -lgrass_vask and
-lbsd-compat.

What is CURSES set to in include/Make/Platform.make?

--
Glynn Clements <glynn@gclements.plus.com>

On Wed, 18 Oct 2006 19:42:59 +0100
Glynn Clements <glynn@gclements.plus.com> wrote:

Luca Casagrande wrote:

> I am building 6.0.2rc2, but in the make log, i found some error;
> as it says i went to the module folder, and issued make.
> This is the output:
>
> localhost g.access # make
> gcc
> -L/var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib
> -Wl,--export-dynamic
> -Wl,-rpath-link,/var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib
> -DPACKAGE=\""grassmods"\"
> -o /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/bin/g.access
> OBJ.i386-pc-linux-gnu/exp_perms.o OBJ.i386-pc-linux-gnu/get_perms.o
> OBJ.i386-pc-linux-gnu/main.o OBJ.i386-pc-linux-gnu/set_perms.o
> -lgrass_gis -lgrass_datetime -lz -lgrass_vask -lbsd-compat -lm

I would expect to see -lncurses or -lcurses between -lgrass_vask and
-lbsd-compat.

What is CURSES set to in include/Make/Platform.make?

--
Glynn Clements <glynn@gclements.plus.com>

Thanks for your answer!

Platfom.make:

CURSES = $(COMPATLIB)
USE_CURSES =

Platform.make.in:

CURSES = @CURSESLIB@ $(COMPATLIB)
USE_CURSES = @USE_CURSES@

Bye
Luca
--
"Chiunque può simpatizzare col dolore di un amico, ma solo chi ha un animo nobile riesce a simpatizzare col successo di un amico (Oscar Wilde)"

LINUX User #411601
GENTOO-GIS Development Team
jabber: casagrande@jabber.linux.it

Luca Casagrande wrote:

> > I am building 6.0.2rc2, but in the make log, i found some error;
> > as it says i went to the module folder, and issued make.
> > This is the output:
> >
> > localhost g.access # make
> > gcc
> > -L/var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib
> > -Wl,--export-dynamic
> > -Wl,-rpath-link,/var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/lib
> > -DPACKAGE=\""grassmods"\"
> > -o /var/tmp/portage/grass-6.2.0_rc2/work/grass-6.2.0RC2/dist.i386-pc-linux-gnu/bin/g.access
> > OBJ.i386-pc-linux-gnu/exp_perms.o OBJ.i386-pc-linux-gnu/get_perms.o
> > OBJ.i386-pc-linux-gnu/main.o OBJ.i386-pc-linux-gnu/set_perms.o
> > -lgrass_gis -lgrass_datetime -lz -lgrass_vask -lbsd-compat -lm
>
> I would expect to see -lncurses or -lcurses between -lgrass_vask and
> -lbsd-compat.
>
> What is CURSES set to in include/Make/Platform.make?
>
> --
> Glynn Clements <glynn@gclements.plus.com>

Thanks for your answer!

Platfom.make:

CURSES = $(COMPATLIB)
USE_CURSES =

Did you use --without-curses? That will cause a lot of modules to fail
to compile.

Although curses can be disabled, it isn't really optional, in the
sense that disabling it will cause a lot of modules to fail to
compile, some of which are fairly important.

The ability to disable curses is included partly for specialised
applications (e.g. web (CGI) applications, where the missing
functionality is either unneeded or replaced with an
application-specific equivalent), and partly for use as an interim
measure when porting GRASS to platforms which don't have curses (e.g.
native MS-Windows).

If you don't use --without-curses, failure to detect a working curses
library should result in a fatal error from the configure script.

--
Glynn Clements <glynn@gclements.plus.com>