Gentoo Archives: gentoo-alt

From: Dirk Tilger <dirk@××××××.de>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] bash compilation problems during bootstrapping
Date: Sat, 31 Oct 2009 10:11:26
Message-Id: hch2fl$nj1$1@ger.gmane.org
1 Hi everyone,
2
3 I'm currently freshly bootstrapping prefix on a Debian system. Bash
4 fails compilation with:
5
6 -----8<-----
7 gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/sh -Wl,-O1 -rdynamic -O2 -march=i686 -pipe -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 -lcurses -lglob -ltilde -ldl
8 /usr/bin/ld: cannot find -lcurses
9 collect2: ld returned 1 exit status
10 make: *** [bash] Error 1
11 * ERROR: app-shells/bash-3.2_p48-r1 failed:
12 * make failed
13 -----8<-----
14
15 For some reason the prefix linkage path ($EPREFIX/usr/lib) does not make
16 it into the compilation script. I had the ebuild dropping into a bash
17 and noticed no LD_LIBRARY_FLAGS&Co had been set either. Where are these
18 things set normally?
19
20 I've also seen there's a new way to deal with the prefix overlay now.
21 Cheers for that one. :) Do I have to modify anything in my prefix
22 configuration for it to work (i.e. adding overlays)?
23
24 I had to fix ncurses as well, I can't rule out that I broke something.
25 ;)
26
27 http://bugs.gentoo.org/show_bug.cgi?id=291238
28
29 Best regards,
30 Dirk.

Replies

Subject Author
[gentoo-alt] Re: bash compilation problems during bootstrapping Dirk Tilger <dirk@××××××.de>