Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Mac OS X] Gentoo prefix installation failure
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
Diacred
n00b
n00b


Joined: 02 Apr 2011
Posts: 1

PostPosted: Sat Apr 02, 2011 3:23 pm    Post subject: [Mac OS X] Gentoo prefix installation failure Reply with quote

Hello,

As the Gentoo Prefix section of this board is closed, I end up posting here.

I'm currently trying to install Gentoo Prefix on my Mac OS X 10.6 Snow Leopard.

I have followed every path of the guide http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml, so here is my profile :

Code:
export EPREFIX=/Library/Gentoo
export PATH=$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:$PATHMacBook-Pro-de-Votre-Maitre-a-Tous:~ Diacred$


Here is exactly what i type in the command line :

Code:
$ cd /Library/
$ mkdir Gentoo
$ cd Gentoo
$ chmod 755 bootstrap-prefix.sh
$ ./bootstrap-prefix.sh $EPREFIX tree
[... Ok]
$ ./bootstrap-prefix.sh $EPREFIX/tmp make
[... Ok]
$ ./bootstrap-prefix.sh $EPREFIX/tmp wget
[... Ok]
$ ./bootstrap-prefix.sh $EPREFIX/tmp sed
[... Ok]
$ ./bootstrap-prefix.sh $EPREFIX/tmp python
[... Ok]
$ ./bootstrap-prefix.sh $EPREFIX/tmp coreutils6
[... Ok]
$ ./bootstrap-prefix.sh $EPREFIX/tmp findutils
[... Ok]
$ ./bootstrap-prefix.sh $EPREFIX/tmp tar15
[... Ok]
$ ./bootstrap-prefix.sh $EPREFIX/tmp patch9
[... Ok]
$ ./bootstrap-prefix.sh $EPREFIX/tmp grep
[... Ok]
$ ./bootstrap-prefix.sh $EPREFIX/tmp gawk
[... Ok]
$ ./bootstrap-prefix.sh $EPREFIX/tmp bash
[... Ok]
$ ./bootstrap-prefix.sh $EPREFIX portage
[... Ok]
$ hash -r


[... Ok] Means that everything went fine.

But then I get this message
Code:
$ emerge --oneshot sed
!!! main-repo not set in DEFAULT and PORTDIR is empty.
!!! If you have just changed your profile configuration, you should revert
!!! back to the previous configuration. Due to your current profile being
!!! invalid, allowed actions are limited to --help, --info, --sync, and
!!! --version.

$ emerge --info
!!! main-repo not set in DEFAULT and PORTDIR is empty.
!!! CONFIG_PROTECT is empty
emerge: incomplete set configuration, missing set(s): "selected", "system", and "world"
        This usually means that '/Library/Gentoo/usr/share/portage/config/sets/portage.conf'
        is missing or corrupt.
        Falling back to default world and system set configuration!!!
Portage 2.2.01.17555-prefix (unavailable, gcc-4.2.1, unavailable, 10.6.0 i386)
=================================================================
System uname: Darwin-10.6.0-i386-64bit
Timestamp of tree: Unknown
distcc 3.1-toolwhip.1 i386-apple-darwin10.0 [disabled]
Repositories:
ACCEPT_LICENSE="* -@EULA"
FEATURES=""
PORTDIR_OVERLAY=""
USE=""
Unset:  ACCEPT_KEYWORDS, CFLAGS, CHOST, CONFIG_PROTECT, CONFIG_PROTECT_MASK, CXXFLAGS, DISTDIR, EMERGE_DEFAULT_OPTS, GENTOO_MIRRORS, PKGDIR, PORTAGE_BUNZIP2_COMMAND, PORTAGE_TMPDIR, PORTDIR, SYNC

$ ls /Library/Gentoo/usr/
bin  portage  sbin


(So there are no usr/share anyway)

Does anyone has a clue ?

Thanks.
Back to top
View user's profile Send private message
txl263
n00b
n00b


Joined: 10 Dec 2003
Posts: 3

PostPosted: Fri Aug 12, 2011 6:14 pm    Post subject: Reply with quote

I think you made a mistake that
Code:
./bootstrap-prefix.sh $EPREFIX portage

maybe write to
Code:
./bootstrap-prefix.sh $EPREFIX/tmp portage

Did you?
_________________
-EricTien
Back to top
View user's profile Send private message
grobian
Developer
Developer


Joined: 31 May 2006
Posts: 67

PostPosted: Sun Dec 04, 2011 7:42 pm    Post subject: Reply with quote

did bootstrap-prefix.sh $EPREFIX portage end with a blurb about setting up some guessed profiles? It looks like it didn't somehow. What does the header look like when you call bootsrtap-prefix.sh? Does it detect your chost correctly? I'd expect i686-apple-darwin10
_________________
Gentoo on a different level
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