Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge: superuser access is required
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
swanner
n00b
n00b


Joined: 06 Aug 2007
Posts: 6

PostPosted: Mon Aug 06, 2007 6:57 pm    Post subject: [SOLVED] emerge: superuser access is required Reply with quote

Having followed the instructions "Gentoo Prefixed Portage Bootstrap Process for Mac OS X" on:

http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,

the installation fails where I try to emerge the first package:

Quote:
powerbook:/gentoo swanner$ emerge --oneshot sed
Password:
emerge: superuser access is required.

powerbook:/gentoo swanner$



I'am using a powerbook G4 with OS X 10.4.10 and gcc 4.0.1

Any idea? Thanks!


Last edited by swanner on Sun Aug 19, 2007 3:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
mattsteven
Apprentice
Apprentice


Joined: 27 Oct 2003
Posts: 240
Location: Your Planet

PostPosted: Mon Aug 06, 2007 7:05 pm    Post subject: Reply with quote

This may sound obvious, but enter the correct root password?

Or type the su command and then emerge things.
_________________
Matthew Steven
Linux-only desktop since 1998
Graying hair since 2006
Back to top
View user's profile Send private message
swanner
n00b
n00b


Joined: 06 Aug 2007
Posts: 6

PostPosted: Mon Aug 06, 2007 7:13 pm    Post subject: Reply with quote

I did enter the correct root password. Typing the wrong password gives an error.
Back to top
View user's profile Send private message
swanner
n00b
n00b


Joined: 06 Aug 2007
Posts: 6

PostPosted: Sat Aug 11, 2007 8:41 am    Post subject: Reply with quote

I still have this problem.
Does anybody have an idea what to do?

Thank you!
Back to top
View user's profile Send private message
mattsteven
Apprentice
Apprentice


Joined: 27 Oct 2003
Posts: 240
Location: Your Planet

PostPosted: Tue Aug 14, 2007 9:10 pm    Post subject: Reply with quote

I'd try running it as root.
Code:
$ su root
[enter pass]

emerge .....

_________________
Matthew Steven
Linux-only desktop since 1998
Graying hair since 2006
Back to top
View user's profile Send private message
Graymi
n00b
n00b


Joined: 25 Jan 2005
Posts: 50

PostPosted: Tue Aug 14, 2007 9:12 pm    Post subject: Reply with quote

use the su command first

then run emerge
Back to top
View user's profile Send private message
swanner
n00b
n00b


Joined: 06 Aug 2007
Posts: 6

PostPosted: Wed Aug 15, 2007 5:13 pm    Post subject: Reply with quote

Sorry, but using "su" doesn't work:
Quote:

powerbook:~/src/gentoo swanner$ su
Password:
powerbook:/Users/swanner/src/gentoo root# emerge --oneshot sed
emerge: superuser access is required.

powerbook:/Users/swanner/src/gentoo root#
Back to top
View user's profile Send private message
mattsteven
Apprentice
Apprentice


Joined: 27 Oct 2003
Posts: 240
Location: Your Planet

PostPosted: Wed Aug 15, 2007 9:35 pm    Post subject: Reply with quote

I'd take this one to IRC.

You might find someone in #gentoo-osx who knows about gentoo on your system.
http://www.gentoo.org/main/en/irc.xml
_________________
Matthew Steven
Linux-only desktop since 1998
Graying hair since 2006
Back to top
View user's profile Send private message
swanner
n00b
n00b


Joined: 06 Aug 2007
Posts: 6

PostPosted: Thu Aug 16, 2007 8:43 pm    Post subject: Reply with quote

Here my emerge --info output:

Quote:

powerbook:~/src/gentoo swanner$ emerge --info
Portage 2.2.00.7595-prefix (default-prefix/darwin/macos/10.4/ppc, gcc-4.0.1, unavailable, 8.10.0 Power Macintosh)
=================================================================
System uname: 8.10.0 Power Macintosh powerpc
Unknown Host Operating System
Timestamp of tree: Unknown
distcc 2.18.3-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin8"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
DISTDIR="/gt/usr/portage/distfiles"
EPREFIX="/gt"
FEATURES="collision-protect distlocks metadata-transfer nostrip sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-search_paths_first -L/gt/usr/lib -L/gt/lib"
PKGDIR="/gt/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/gt/var/tmp"
PORTDIR="/gt/usr/portage"
SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay"
USE="aqua coreaudio cracklib midi ncurses objc objc++ ppc-macos prefix readline ssl zlib" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset: CFLAGS, CTARGET, CXXFLAGS, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
swanner
n00b
n00b


Joined: 06 Aug 2007
Posts: 6

PostPosted: Sun Aug 19, 2007 3:17 pm    Post subject: Reply with quote

Thanks to grobian we found out that there was an old alias for emerge in /etc/profile that caused the problem:
Quote:

alias emerge='sudo emerge'
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) 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