[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash 4.0 build error (Mac OS X)
From: |
Chet Ramey |
Subject: |
Re: bash 4.0 build error (Mac OS X) |
Date: |
Sat, 28 Feb 2009 22:40:19 -0500 |
User-agent: |
Thunderbird 2.0.0.19 (Macintosh/20081209) |
Marius Schamschula wrote:
> Hi,
>
> I just tried building bash 4.0 under Mac OS X. Under 10.3.9, 10.4.11 and
> 10.5.6 I get the following error:
>
> ./lib/sh/libsh.a(getenv.o) definition of _setenv in section (__TEXT,__text)
> /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libc.dylib(setenv.So)
> definition of _setenv
> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
> _rl_menu_completion_entry_function
> _rl_completion_invoking_key
> collect2: ld returned 1 exit status
> make: *** [bash] Error 1
I can't reproduce this. Since I do my development on Mac OS X, I would
have noticed these. :-)
The setenv error looks like a problem with configure; the undefined symbols
look like you built bash-4.0 against a version of readline earlier than
readline-6.0.
Look at the config.log and config.status files for more information.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/