View previous topic :: View next topic |
Author |
Message |
swanner n00b
Joined: 06 Aug 2007 Posts: 6
|
Posted: Mon Aug 06, 2007 6:57 pm Post subject: [SOLVED] emerge: superuser access is required |
|
|
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 |
|
|
mattsteven Apprentice
Joined: 27 Oct 2003 Posts: 240 Location: Your Planet
|
Posted: Mon Aug 06, 2007 7:05 pm Post subject: |
|
|
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 |
|
|
swanner n00b
Joined: 06 Aug 2007 Posts: 6
|
Posted: Mon Aug 06, 2007 7:13 pm Post subject: |
|
|
I did enter the correct root password. Typing the wrong password gives an error. |
|
Back to top |
|
|
swanner n00b
Joined: 06 Aug 2007 Posts: 6
|
Posted: Sat Aug 11, 2007 8:41 am Post subject: |
|
|
I still have this problem.
Does anybody have an idea what to do?
Thank you! |
|
Back to top |
|
|
mattsteven Apprentice
Joined: 27 Oct 2003 Posts: 240 Location: Your Planet
|
Posted: Tue Aug 14, 2007 9:10 pm Post subject: |
|
|
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 |
|
|
Graymi n00b
Joined: 25 Jan 2005 Posts: 50
|
Posted: Tue Aug 14, 2007 9:12 pm Post subject: |
|
|
use the su command first
then run emerge |
|
Back to top |
|
|
swanner n00b
Joined: 06 Aug 2007 Posts: 6
|
Posted: Wed Aug 15, 2007 5:13 pm Post subject: |
|
|
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 |
|
|
mattsteven Apprentice
Joined: 27 Oct 2003 Posts: 240 Location: Your Planet
|
Posted: Wed Aug 15, 2007 9:35 pm Post subject: |
|
|
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 |
|
|
swanner n00b
Joined: 06 Aug 2007 Posts: 6
|
Posted: Thu Aug 16, 2007 8:43 pm Post subject: |
|
|
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 |
|
|
swanner n00b
Joined: 06 Aug 2007 Posts: 6
|
Posted: Sun Aug 19, 2007 3:17 pm Post subject: |
|
|
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 |
|
|
|