[GRASSLIST:6023] Re: compilation: grass5.0.2

Glynn Clements glynn.clements at virgin.net
Fri Apr 11 11:30:09 EDT 2003


javier garcia - CEBAS wrote:

> First of all. Congratulations for grass5.0.2!
> 
> The ./configure can't find the readline libs.
> 
> But I had installed grass5.0.0pre with readline and I've got libreadline.a in 
> /usr/lib and a libreadline.so.4.2 in /lib.
> 
> Could you help me with this?

Failure to detect readline normally occurs because readline requires
some other library (e.g. libncurses, libtermcap or libtinfo). 
Unfortunately, there isn't any obvious way of detecting which
additional libraries we should attempt to use.

For the time being, you have to either:

a) ensure that the libreadline which configure finds is a dynamic
library (libreadline.so) with correct dependency information, or

b) don't use --with-readline, and manually edit src/CMD/head and
src/include/config.h once the configure script has completed.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list