[Clfs-support] Problem to compile bash 4.0 with readlines

yermandu yermandu at useplanta.com.br
Wed Sep 30 13:07:49 PDT 2009

I still day on trying compiling bash 4.0

I receive the error

making lib/readline/libreadline.a in ./lib/readline
make[1]: Entering directory `/pub/clfs/sources/bash-4.0/lib/readline'
rm -f terminal.o
i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL   -I. 
-I/pub/clfs/sources/bash-4.0 -I../.. -I../../lib  -g -O2 terminal.c
terminal.c: In function 'get_term_capabilities':
terminal.c:415: warning: assignment makes pointer from integer without a 
terminal.c: In function '_rl_init_terminal_io':
terminal.c:498: error: 'PC' undeclared (first use in this function)
terminal.c:498: error: (Each undeclared identifier is reported only once
terminal.c:498: error: for each function it appears in.)
terminal.c:499: error: 'BC' undeclared (first use in this function)
terminal.c:500: error: 'UP' undeclared (first use in this function)
make[1]: *** [terminal.o] Error 1
make[1]: Leaving directory `/pub/clfs/sources/bash-4.0/lib/readline'
make: *** [lib/readline/libreadline.a] Error 1

Can someone give a help to do this, it is just this and install vim to 
finish system basic.


yermandu [at] useplanta [dot] com [dot] br

More information about the Clfs-support mailing list