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

System can't find emerge

Running Portage on Mac OS X and need help with a problem? Post here.
Locked
Advanced search
3 posts • Page 1 of 1
Author
Message
spankmygentoo
n00b
n00b
Posts: 39
Joined: Mon Jun 20, 2005 6:07 pm
Location: Utah
Contact:
Contact spankmygentoo
Website

System can't find emerge

  • Quote

Post by spankmygentoo » Mon Apr 07, 2008 5:52 am

sudo emerge --oneshot sed
Password:
sudo: emerge: command not found



That's the error I get when trying to emerge sed. I followed the directions step by step on the website, and even found work arounds for sed not being gnu, etc. I searched the forums and was unable to find anything about this error.

I'm running:

Macbook Intel Core 2 Duo running Leopard with 1GB ram. Any help is appreciated, thanks. Oh yeah, did the bootstrap from here: http://www.gentoo.org/proj/en/gentoo-al ... -macos.xml
--Time moves forward, whether or not you do.
Top
di1bert
l33t
l33t
User avatar
Posts: 963
Joined: Thu May 16, 2002 10:00 am
Location: Oslo, Norway

  • Quote

Post by di1bert » Mon Apr 07, 2008 6:41 am

I haven't used sudo in a while, but have you tried running the command with the full path to emerge ?

Code: Select all

sudo /usr/bin/emerge sed
I remember this being a "problem" when I was doing the same thing a while ago...

HTH

-m
Top
spankmygentoo
n00b
n00b
Posts: 39
Joined: Mon Jun 20, 2005 6:07 pm
Location: Utah
Contact:
Contact spankmygentoo
Website

  • Quote

Post by spankmygentoo » Mon Apr 07, 2008 6:22 pm

It's not located there. I had to switch to the directory: $EPREFIX/tmp or something like that, then usr then bin to be able to run emerge. Then when I tried it, it gave me this error:

sudo ./emerge --oneshot sed
Traceback (most recent call last):
File "./emerge", line 20, in <module>
retval = _emerge.emerge_main()
File "/private/tmp/usr/lib/portage/pym/_emerge/__init__.py", line 7395, in emerge_main
settings, trees, mtimedb = load_emerge_config()
File "/private/tmp/usr/lib/portage/pym/_emerge/__init__.py", line 7278, in load_emerge_config
root_trees["root_config"] = RootConfig(root_trees, setconfig)
File "/private/tmp/usr/lib/portage/pym/_emerge/__init__.py", line 746, in __init__
self.sets = self.setconfig.getSets()
File "/private/tmp/usr/lib/portage/pym/portage/sets/__init__.py", line 86, in getSets
self._parse()
File "/private/tmp/usr/lib/portage/pym/portage/sets/__init__.py", line 76, in _parse
self.psets[setname] = setclass.singleBuilder(optdict, self.settings, self.trees)
File "/private/tmp/usr/lib/portage/pym/portage/sets/profiles.py", line 25, in singleBuilder
return PackagesSystemSet(settings.profiles)
File "/private/tmp/usr/lib/portage/pym/portage/sets/profiles.py", line 17, in __init__
self.description = "System packages for profile %s" % self._profile_paths[-1]
IndexError: list index out of range
-----

Could it be because I have macports installed with python? I'll try and uninstall it then. I bet Xcode already comes with it. My bad.
--Time moves forward, whether or not you do.
Top
Locked

3 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