lfs 2.4.3 bash compiling problem

Matthias Benkmann mbenkmann at gmx.de
Sun Dec 3 15:11:15 PST 2000


> > gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob
> > -L./lib/tilde -L./lib/malloc -L./lib/sh -static -rdynamic  -g -O2 -o bash
> > shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o  dispose_cmd.o
> > execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o
> > hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o
> > sig.o test.o version.o alias.o array.o braces.o bracecomp.o bashhist.o
> > bashline.o siglist.o list.o stringlib.o locale.o findcmd.o redir.o
> > pcomplete.o pcomplib.o xmalloc.o -lbuiltins -lreadline -lhistory -ltermcap
> > -lglob -ltilde -lmalloc -lsh
> > /usr/bin/ld: cannot find -ltermcap
> > collect2: ld returned 1 exit status
> > make: *** [bash] Error 1
> 
> Did you remember to use "--with-ncurses" in the ./configure flags?  That 
> should make it look for libcurses (the lib you made the symlink for) instead 
> of libtermcap.

There is no --with-ncurses option in bash's configure. It's the same as 
--with-this-option-doesnt-exist. The correct option is called 
--with-curses. 

MSB

----
God is real, unless declared integer.


-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list