[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Bash 2.05b build failure on OSX10.4
From: |
Geoff Down |
Subject: |
Re: [Help-bash] Bash 2.05b build failure on OSX10.4 |
Date: |
Sun, 02 Nov 2014 01:52:09 +0000 |
I tried some things:
'configure --with-installed-readline'
gives
'configure: WARNING: installed readline library is too old to be linked
with bash
configure: WARNING: using private bash version'
and then with gcc4.0 the 'multiple definition' warnings I mentioned.
Whilst gcc4.2 gives no multiple definitions, but lots of Undefined
symbols e.g. "_rl_unbind_function_in_map".
So the old readline dynlib is clearly needed to define all the symbols,
but some are duplicated elsewhere.
What I can't figure out is how a definition of _tilde_expand gets into
./lib/tilde/libtilde.a(tilde.o) (for example) when the string '
_tilde_expand' doesn't appear anywhere in the source files or in /usr/
or /opt/local/ as far as I can tell - only in
/usr/lib/libreadline.dylib . Where's the duplicate being pulled in
from??
And is there a way of replacing the dynlib?
GD
----- Original message -----
From: Geoff Down <address@hidden>
To: address@hidden
Subject: [Help-bash] Bash 2.05b build failure on OSX10.4
Date: Sun, 05 Oct 2014 20:04:28 +0100
Hi,
I'm trying to build patched bash2.05b under OSX10.4 PPC. I downloaded
the tarball and patches from http://ftp.gnu.org/gnu/bash/ - 'patch'
gave some warnings about 'missing context diff headers' but seemed to
apply the patches anyway.
Configure gives lots of errors (log attached) but completes. Make gives
quite a few warnings and then fails at this point:
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob
-L./lib/tilde -L./lib/sh -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 -ldl
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _tilde_expand
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _tilde_expand
./lib/tilde/libtilde.a(tilde.o) definition of _tilde_expand in section
(__TEXT,__text)
[edit]
--
http://www.fastmail.fm - Accessible with your email software
or over the web
config.log.txt
Description: Text Data
- Re: [Help-bash] Bash 2.05b build failure on OSX10.4,
Geoff Down <=