[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: build bash-5.2.21 on debian-hurd-x86_64
From: |
Chet Ramey |
Subject: |
Re: Fwd: build bash-5.2.21 on debian-hurd-x86_64 |
Date: |
Fri, 5 Jan 2024 10:18:09 -0500 |
User-agent: |
Mozilla Thunderbird |
On 1/5/24 5:19 AM, Guy-Fleury Iteriteka wrote:
-------- Original Message --------
From: gfleury <gfleury@disroot.org>
Sent: January 5, 2024 10:02:30 AM GMT+02:00
To: bug-hurd@gnu.org
Subject: build bash-5.2.21 on debian-hurd-x86_64
Hello,
I copy bash-5.2.21 source to build it on debian hurd x86_64 and it failed with
---------
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde
-L./lib/malloc -L./lib/sh -L./lib/termcap -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 -lmalloc -ldl
/usr/bin/ld:
./lib/termcap/libtermcap.a(termcap.o):/home/gfleury/bash-5.2.21/build/lib/termcap/../../../lib/termcap/termcap.c:298:
multiple definition of `PC';
./lib/readline/libreadline.a(terminal.o):/home/gfleury/bash-5.2.21/build/lib/readline/../../../lib/readline/terminal.c:109:
first defined here
It looks like you don't have the curses or ncurses library in a place
where the bash configure can find it. Lots of things aren't going to
work with the minimal replacement termcap library bash includes. The
initialize-bracketed-paste sequence is just one of them. I'd figure
that out first.
For the time being, you can add -DNEED_EXTERN_PC to the LOCAL_CFLAGS
value in lib/readline/Makefile and rebuild the library.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature