Gentoo Archives: gentoo-alt

From: Marshall McMullen <marshall.mcmullen@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Re: gcc: binary path
Date: Fri, 20 Apr 2007 20:21:58
Message-Id: ecea57780704201321r5dce672au9c777f7f8ce0c8b7@mail.gmail.com
1 I know this is an old thread, but what I was trying to say is that
2 this script assumes that the shell used outside of prefix is in the
3 same path as the one inside prefix. Specifically, there is no
4 "/bin/bash" on our AIX 5.2, only /usr/bin/bash. Whereas in the
5 prefix, it's looking for $EPREFIX/bin/bash. This line fouls things
6 up:
7
8 export SHELL=${EPREFIX}${SHELL}
9
10 Since my shell is /usr/bin/bash It's going to look for
11 $EPREFIX/usr/bin/bash, which is not installed in $EPREFIX, it's at
12 $EPREFIX/bin/bash.
13
14 ....
15
16 On 3/31/07, Fabian Groffen <grobian@g.o> wrote:
17 > On 30-03-2007 16:16:35 -0500, Marshall McMullen wrote:
18 > > Is there a bug in this file? I have bash emerged already and is at
19 > > $EPREFIX/bin/bash
20 > >
21 > > But this shell script is looking in @GENTOO_PORTAGE_EPREFIX@/usr/bin/bash
22 >
23 > You need to replace @GENTOO_PORTAGE_EPREFIX@ by your actual prefix
24 > value. and place the file somewhere you think that's handy.
25 >
26 > --
27 > Fabian Groffen
28 > Gentoo on a different level
29 >
30 > --
31 > gentoo-alt@g.o mailing list
32 >
33 >
34
35
36 --
37 Marshall McMullen
38 marshall.mcmullen@×××××.com
39 mjmcmullen@×××××.net
40 mdmcmullen@××××××.com
41
42 In France, there's a popular saying about Linux that essentially translates as:
43 "Linux? You can get a less powerful system, but it will cost you more."
44 --
45 gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] Re: gcc: binary path Fabian Groffen <grobian@g.o>