Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Prefix on OSX: bash builds in bootstrap but fails at
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
twork
Apprentice
Apprentice


Joined: 28 Jul 2006
Posts: 190

PostPosted: Sun Aug 19, 2012 3:24 pm    Post subject: [SOLVED]Prefix on OSX: bash builds in bootstrap but fails at Reply with quote

I'm trying to set up a fresh install of Prefix on an OSX/Darwin 10.8.0 machine (is that Snow Leopard?), following the instructions at http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml

Everything seems to work fine up to the point where we try to emerge bash inside the prefix. "bootstrap-prefix.sh $EPREFIX/tmp bash" ran fine. The specific error is:

Code:
[...]
gcc -m32 -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/til
de  -L./lib/sh -Wl,-search_paths_first -L/Users/mjinks/Gentoo/usr/lib -L/Users/m
jinks/Gentoo/lib -L/Users/mjinks/Gentoo/tmp/usr/lib    -march=prescott -o bash s
hell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o  dispose_cmd.o execute_cm
d.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashl
ib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o a
lias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o  l
ist.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xma
lloc.o  -lbuiltins -lglob -lsh    -ltilde   -liconv  -ldl
ld: warning: directory '/Users/mjinks/Gentoo/lib' following -L not found
Undefined symbols:
  "_enable_hostname_completion", referenced from:
      _shopt_enable_hostname_completion in libbuiltins.a(shopt.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [bash] Error 1
[...]

Maybe the bootstrap script isn't downloading all the right files...? Sorry this is a bit minimal but I'm not sure what's the best approach to gathering more information at this stage. Any tips would help.

Thanks.


Last edited by twork on Mon Aug 20, 2012 2:18 am; edited 1 time in total
Back to top
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Sun Aug 19, 2012 10:07 pm    Post subject: Reply with quote

Does this thread help you?
https://forums.gentoo.org/viewtopic-t-933350.html
_________________
Votre moment detente
What is the nature of conflict?
Back to top
View user's profile Send private message
twork
Apprentice
Apprentice


Joined: 28 Jul 2006
Posts: 190

PostPosted: Mon Aug 20, 2012 2:17 am    Post subject: Reply with quote

Trevoke wrote:
Does this thread help you?
https://forums.gentoo.org/viewtopic-t-933350.html


Yep, that did it. Thanks!

Important bit: specify =app-shells/bash-4.0_p38 instead of the current default, which is 4.2_p36.
Back to top
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Mon Aug 20, 2012 2:26 am    Post subject: Reply with quote

If you manage to get further in the install than I did .. Please write it out!
_________________
Votre moment detente
What is the nature of conflict?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum