Opened 10 years ago

Last modified 8 years ago

#2334 new defect

configure --without-curses not honoured

Reported by: strk Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: Compiling Version: 6.4.3
Keywords: Cc:
CPU: Unspecified Platform: Unspecified

Description

Building after ./configure --without-curses results in lots of errors eventually originating here:

/usr/src/grass/grass-6.4.3/dist.x86_64-unknown-linux-gnu/include/grass/vask.h:5:20: fatal error: curses.h: No such file or directory

Change History (5)

comment:1 by strk, 10 years ago

Component: DefaultCompiling

comment:2 by neteler, 10 years ago

libncurses4.x/5.x is a requirement for GRASS GIS 6:

http://grass.osgeo.org/grass64/source/REQUIREMENTS.html

You will need to install (n)curses-dev(el).

comment:3 by strk, 10 years ago

In that case shouldn't ./configure exit with an error ?

in reply to:  2 comment:4 by glynn, 10 years ago

Replying to neteler:

libncurses4.x/5.x is a requirement for GRASS GIS 6:

Sort of. If you build without curses, most of GRASS will still be built. While the end result is rather "rough", it may well be sufficient for some people. But where it fails, it won't fail particularly gracefully (some parts of GRASS simply assume that certain modules will exist, and with curses disabled, they won't).

Building GRASS 6.x without curses support is sufficiently uncommon that it isn't worth the (significant) effort of "polishing". --without-curses was added so that people who could live with the end result had that option, rather than simply having the configure script fail.

This doesn't apply to GRASS 7, where curses support has been removed entirely (no configure checks, modules which use curses have been re-written, disabled, or removed).

comment:5 by neteler, 8 years ago

Milestone: 6.4.46.4.6
Note: See TracTickets for help on using tickets.