On 05/06/2014 10:06 PM, Bruce Dubbs wrote: > Armin K. wrote: >> On 05/06/2014 09:47 PM, Bruce Dubbs wrote: >>> Armin K. wrote: >>>> It seems to use bundled termcap lib >>>> >>>> gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob >>>> -L./lib/tilde -L./lib/sh -L./lib/termcap -L./lib/termcap >>>> -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 >>>> arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o list.o >>>> stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o >>>> xmalloc.o -lbuiltins -lglob -lsh -lreadline -lhistory >>>> ./lib/termcap/libtermcap.a -ltilde -ldl >>>> >>>> Note the "./lib/termcap/libtermcap.a" >>>> >>>> configure has this: >>>> >>>> checking for tgetent in -ltermcap... no >>>> checking for tgetent in -ltinfo... no >>>> checking for tgetent in -lcurses... no >>>> checking for tgetent in -lncurses... no >>>> >>>> Culprit for this one is that ncurses now installs widec libs whereas it >>>> didn't install them in LFS-7.4, but the non-widec ones. Compat symlinks >>>> and dummy libs creation for chapter 5 ncurses is necessary like in >>>> chapter 6. >>>> >>> >>> Why do you think this is needed? Does it impact building anything in >>> Chapter 5 or 6? > >> I believe bash is only user of ncurses in chapter 5 and since it doesn't >> use the one built by user it might be unnecessary. > > If it's not needed, then I don't mind removing ncurses from Chapter 5. > It makes things simpler. > > -- Bruce
I spoke too soon. I just checked for programs that link to ncurses on my host and some of these are programs from gettext, coreutils, util-linux which are available in chapter 5. Would be nice if bash used shared ncurses isntead of bundled termcap library. -- Note: My last name is not Krejzi. -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
