Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo for Mac OS X (Portage for Mac OS X)
  • Search

[SOLVED] emerge: superuser access is required

Running Portage on Mac OS X and need help with a problem? Post here.
Locked
Advanced search
10 posts • Page 1 of 1
Author
Message
swanner
n00b
n00b
Posts: 6
Joined: Mon Aug 06, 2007 6:47 pm

[SOLVED] emerge: superuser access is required

  • Quote

Post by swanner » Mon Aug 06, 2007 6:57 pm

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

http://www.gentoo.org/proj/en/gentoo-al ... -macos.xml,

the installation fails where I try to emerge the first package:
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.
Top
mattsteven
Apprentice
Apprentice
User avatar
Posts: 240
Joined: Mon Oct 27, 2003 2:30 pm
Location: Your Planet
Contact:
Contact mattsteven
Website

  • Quote

Post by mattsteven » Mon Aug 06, 2007 7:05 pm

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
Top
swanner
n00b
n00b
Posts: 6
Joined: Mon Aug 06, 2007 6:47 pm

  • Quote

Post by swanner » Mon Aug 06, 2007 7:13 pm

I did enter the correct root password. Typing the wrong password gives an error.
Top
swanner
n00b
n00b
Posts: 6
Joined: Mon Aug 06, 2007 6:47 pm

  • Quote

Post by swanner » Sat Aug 11, 2007 8:41 am

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

Thank you!
Top
mattsteven
Apprentice
Apprentice
User avatar
Posts: 240
Joined: Mon Oct 27, 2003 2:30 pm
Location: Your Planet
Contact:
Contact mattsteven
Website

  • Quote

Post by mattsteven » Tue Aug 14, 2007 9:10 pm

I'd try running it as root.

Code: Select all

$ su root
[enter pass]

emerge .....
Matthew Steven
Linux-only desktop since 1998
Graying hair since 2006
Top
Graymi
n00b
n00b
Posts: 50
Joined: Tue Jan 25, 2005 2:14 am

  • Quote

Post by Graymi » Tue Aug 14, 2007 9:12 pm

use the su command first

then run emerge
Top
swanner
n00b
n00b
Posts: 6
Joined: Mon Aug 06, 2007 6:47 pm

  • Quote

Post by swanner » Wed Aug 15, 2007 5:13 pm

Sorry, but using "su" doesn't work:
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#
Top
mattsteven
Apprentice
Apprentice
User avatar
Posts: 240
Joined: Mon Oct 27, 2003 2:30 pm
Location: Your Planet
Contact:
Contact mattsteven
Website

  • Quote

Post by mattsteven » Wed Aug 15, 2007 9:35 pm

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
Top
swanner
n00b
n00b
Posts: 6
Joined: Mon Aug 06, 2007 6:47 pm

  • Quote

Post by swanner » Thu Aug 16, 2007 8:43 pm

Here my emerge --info output:
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/dis ... ons/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 ... ix-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
Top
swanner
n00b
n00b
Posts: 6
Joined: Mon Aug 06, 2007 6:47 pm

  • Quote

Post by swanner » Sun Aug 19, 2007 3:17 pm

Thanks to grobian we found out that there was an old alias for emerge in /etc/profile that caused the problem:
alias emerge='sudo emerge'
Top
Locked

10 posts • Page 1 of 1

Return to “Gentoo for Mac OS X (Portage for Mac OS X)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic