bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Who handles "fails to build" problems for bash?


From: Chet Ramey
Subject: Re: Who handles "fails to build" problems for bash?
Date: Tue, 1 Sep 2009 17:51:50 -0400

> Could not find any groups other than this for bash problems. My build is 
> failing with 
> 
> make[1]: Leaving directory `/home/users/tovrea/BASH/build_sgi_bash/lib/tilde'
> rm -f bash
> /home/users/tovrea/local/sgi6/bin/gcc -L./builtins -L./lib/readline 
> -L./lib/readline -L./lib/glob -L./lib/tilde  -L./lib/sh 
> -L/home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.3.0 
> -L/home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.3.0/32 
> -L/home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/lib32 
> -L/home/users/tovrea/local/sgi6/lib    -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 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 -lsh -lreadline -lhistory -ltermcap -lglob -ltilde  
> lib/intl/libintl.a   -ldl 
> /home/users/tovrea/local/sgi6/bin/ld: non-dynamic relocations refer to 
> dynamic symbol PC
> /home/users/tovrea/local/sgi6/bin/ld: failed to set dynamic section sizes: 
> Bad value
> collect2: ld returned 1 exit status
> make: *** [bash] Error 1

The quick fix should be adding -lcurses or -lncurses (whatever works) as the
value of TERMCAP_LIB in the= Makefile.

The longer fix is to look at config.log and try and figure out why there is
(apparently) no library that contains the termcap functions, and why the
build process is not defaulting to the built-in termcap library if so.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]