5.0.3 release candidate 1 - was: Re: [GRASS5] Roadmap: Numbering

Markus Neteler neteler at itc.it
Sun Aug 24 15:14:28 EDT 2003


Followup: I forgot to mention that below was tested in 5.1
But it should be valid for all GRASS 5.0.x/CVS HEAD/5.1 versions.

Markus

On Sun, Aug 24, 2003 at 09:10:56PM +0200, Markus Neteler wrote:
> Concerning the readline support:
> 
> I have made a test on Mandrake 9.1 (current):
> 
> configure:6605: checking whether to use Readline
> configure:6626: checking for location of Readline includes
> configure:6652: checking for readline/readline.h
> configure:6660: gcc -E   conftest.c >/dev/null 2>conftest.out
> configure:6696: checking for readline/history.h
> configure:6704: gcc -E   conftest.c >/dev/null 2>conftest.out
> configure:6738: checking for location of Readline library
> configure:6763: checking for readline in -lreadline
> configure:6780: gcc -o conftest -g -O2    -rdynamic conftest.c -lreadline   1>&5
> /usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libreadline.so: undefined reference to `tgetnum'
> /usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libreadline.so: undefined reference to `tgoto'
> /usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libreadline.so: undefined reference to `tgetflag'
> /usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libreadline.so: undefined reference to `BC'
> /usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libreadline.so: undefined reference to `tputs'
> /usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libreadline.so: undefined reference to `PC'
> /usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libreadline.so: undefined reference to `tgetent'
> /usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libreadline.so: undefined reference to `UP'
> /usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../libreadline.so: undefined reference to `tgetstr'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 6769 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char readline();
> 
> int main() {
> readline()
> ; return 0; }
> 
> 
> 
> When adding -lncurses the test passes. Could be add -lncurses to
> the config script (how) for the test?
>  
> Markus
> 
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5




More information about the grass-dev mailing list