Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED!] HOWTO gentoo-prefix on yosemite
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
Gurn
n00b
n00b


Joined: 21 Nov 2014
Posts: 3
Location: Seattle, WA USA

PostPosted: Thu Nov 27, 2014 6:34 am    Post subject: Reply with quote

Another update today. The bootstrap script now works without having to set the LATEST_TREE_YES flag. Just download the script and run it.
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Mon Dec 01, 2014 1:57 pm    Post subject: Reply with quote

confirmed, did some quick edits to delete that part of the guide.
Back to top
View user's profile Send private message
gentoo-freak
n00b
n00b


Joined: 11 Sep 2009
Posts: 16

PostPosted: Fri Feb 13, 2015 8:05 am    Post subject: Yosemite and Mavericks confirmed Reply with quote

confirmed under mavericks 10.9.5 with "USE_LATEST_TREE_YES=1", just works!

yosemite 10.10.2 just works!

credits dude +2

cheers
Back to top
View user's profile Send private message
unixj
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2003
Posts: 147

PostPosted: Sun Feb 15, 2015 6:36 am    Post subject: Reply with quote

Same here, works perfectly with Yosemite 10.10.2. I may try to update python to the latest when I have time, but this is a lot newer than what I had.

Thanks!
Back to top
View user's profile Send private message
MadMarcsen
n00b
n00b


Joined: 30 Dec 2012
Posts: 2

PostPosted: Mon Feb 16, 2015 5:53 pm    Post subject: Reply with quote

hello,

so after a while without a prefix, i just bootstrapped the system on 10.10.2.

At the end of the process i got the following message:

Code:

* Creating the Prefix start script (startprefix)
* To start Gentoo Prefix, run the script /Volumes/Home/Gentoo/startprefix
* You can copy this file to a more convenient place if you like.
* WARNING: your shell initialisation (.cshrc, .bashrc, .profile)
*          seems to prepend to your PATH, this might kill your
*          Prefix:
*          /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:
*          You better fix this, YOU HAVE BEEN WARNED!


So, what am i doing wrong?

Here's what export tells me:

Code:

declare -x Apple_PubSub_Socket_Render="/private/tmp/com.apple.launchd.2GBi5HrOuz/Render"
declare -x HOME="/Volumes/Home"
declare -x LANG="de_DE.UTF-8"
declare -x LOGNAME="XXXXX"
declare -x OLDPWD="/Volumes/Home/Gentoo"
declare -x PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
declare -x PWD="/Volumes/Home"
declare -x SECURITYSESSIONID="186a6"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_AUTH_SOCK="/private/tmp/com.apple.launchd.cT1rK2efgC/Listeners"
declare -x TERM="xterm-256color"
declare -x TERM_PROGRAM="Apple_Terminal"
declare -x TERM_PROGRAM_VERSION="343.6"
declare -x TERM_SESSION_ID="54EB4AAC-28E3-4865-99F9-82144099436B"
declare -x TMPDIR="/var/folders/w2/ly_fls0s0tqcd92bp82m3pj40000gn/T/"
declare -x USER="XXX"
declare -x XPC_FLAGS="0x0"
declare -x XPC_SERVICE_NAME="0"
declare -x __CF_USER_TEXT_ENCODING="0x1F5:0x0:0x3"


Tell me if you need more informations. Thank you.
Back to top
View user's profile Send private message
unixj
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2003
Posts: 147

PostPosted: Tue Feb 17, 2015 4:28 am    Post subject: Reply with quote

Check your .cshrc, .bashrc, or .profile. Presumably there is a line like:

PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH

When you run startprefix it sources the gentoo profile, which puts the gentoo bins at the beginning of your $PATH. Then your .profile is sourced and it is sticking the paths above in front of the gentoo bins.

Presumably you can switch that around to:

PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
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
Goto page Previous  1, 2
Page 2 of 2

 
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