View previous topic :: View next topic |
Author |
Message |
stonent Veteran
Joined: 07 Aug 2003 Posts: 1139 Location: Texas
|
Posted: Mon Jul 19, 2004 7:46 pm Post subject: Any official Gentoo-OSX thread? |
|
|
http://article.gmane.org/gmane.linux.gentoo.weekly-news/80
Seeing as this was just announced.
Quote: | "Apple, we have a problem" - Gentoo MacOS X Released
Figure 1.1: Derived from Apple's 'Redmond, we have a problem' campaign:
The Gentoo MacOS announcement
http://www.gentoo.org/images/gwn/20040719_macos_problem.png
Almost exactly one year after the idea of porting Portage to MacOS X came
up - and the joint Metapkg initiative[1] between Fink, Darwinports and
Gentoo took off - a 20-head-strong developer team around Pieter van den
Abeele[2] (strategic lead) and Daniel Ostrow[3] (operational) is now ready
to release an extraordinary beast into the wild: Gentoo MacOS. They
deliver on a promise no other Linux distribution has been daring enough to
make yet: Portage on MacOS is now fully operational, seamlessly integrated
as a package manager in a non-Linux operating system. It initially serves
the main purpose of an SDK for inclusion of new packages, testing and
patching. Granted, KDE isn't ported yet, but make no mistake: Gentoo MacOS
is ready for consumption by Macintosh users who want, say, scientific DTP
via TeX, something they will now be able to simply emerge in OS X just
like they'd do in Gentoo Linux."Right now it's a tool to install lots of
commonly requested applications on OS X", explains Pieter van den Abeele.
"But in a few months, we'll have a port system that builds Darwin from
scratch, provides a standardised lookup and installation routine for
Dashboard widgets[4], enhancements and tools like the Desktop Manager[5]
and many, many more popular OS X applications." Downloading the Gentoo
MacOS Installer provides users with a patched portage, its tree, and the
Python modules. It sets environment variables and demands a bootstrapping
shell script to be run before the first emerge that detects the operating
system (Panther or Tiger), chooses the relevant profiles and injects every
application it finds already installed in MacOS X.
1. http://www.metapkg.org
2. pvdabeel <at> gentoo.org
3. dostrow <at> gentoo.org
4. http://www.apple.com/macosx/tiger/dashboard.html
5. http://wsmanager.sourceforge.net/
Figure 1.2: Taming the Tiger with a double-click: The Gentoo MacOS
Installer
http://www.gentoo.org/images/gwn/20040719_macos_installer.png
Since Gentoo's own GCC ebuild for MacOS X isn't ready yet, compiling is
currently done using the Xcode development tools[6] which include GCC 3.3
provided by Apple. "People already on Tiger can experiment with GCC 3.5",
adds Pieter. Tiger, the new release of MacOS X, is due in 2005 with its
brandnew database filesystem Spotlight[7], modernised video services and
many other features. The Gentoo MacOS developers are busy polishing the
knobs (a Cocoa user interface is part of the plan), getting iSync[8]
integration to work (emerge an application on one machine, automatically
replicate onto all other Macs in a LAN), right down to making Catalyst
produce Darwin LiveCDs... "But first the cool stuff, then Darwin",
chuckles strategic lead Pieter. Even though his team is already larger
than the entire Gentoo Linux PPC developer group, they still train new
devs almost daily, and whoever wants to help with the project is very
welcome to get in touch. The public Wiki[9] holds installation
instructions and serves as a reporting tool for packages outside of
Portage that already compile without bombing out. The Gentoo MacOS
Installer can be downloaded from here[10].
6. http://www.apple.com/macosx/tiger/xcode.html
7. http://www.apple.com/macosx/tiger/spotlighttech.html
8. http://www.apple.com/isync/
9. http://gentoo-wiki.com/Gentoo_MacOS
10. http://www.metadistribution.org/macos/
Full size (1024x768) screenshots of the Gentoo MacOS installation
procedure:
* Installer starts[11]
* Detection of OS version and installed software[12]
* Still busy injecting detected applications, 'emerge info'[13]
* First 'emerge --pretend --verbose system' on MacOS X 10.4 (Tiger)[14]
* Pulling in and unpacking sources...[15]
* Configuring...[16]
* Compiling...[17]
* Merged![18]
* Modified make.conf to accomodate the alien kernel and userland
environment[19]
11. http://www.metadistribution.org/macos/1.png
12. http://www.metadistribution.org/macos/2.png
13. http://www.metadistribution.org/macos/3.png
14. http://www.metadistribution.org/macos/4.png
15. http://www.metadistribution.org/macos/5.png
16. http://www.metadistribution.org/macos/6.png
17. http://www.metadistribution.org/macos/7.png
18. http://www.metadistribution.org/macos/8.png
19. http://www.metadistribution.org/macos/9.png |
_________________ Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Last edited by stonent on Tue Jul 20, 2004 8:08 am; edited 1 time in total |
|
Back to top |
|
|
Anticipat3 n00b
Joined: 20 Dec 2003 Posts: 35 Location: Madison, WI
|
Posted: Mon Jul 19, 2004 9:48 pm Post subject: |
|
|
Not that I've found... this is a very exciting day for me. Now I don't have to choose between the sexy OSX and 1337 ppc linux... I will run all the tasty GNU apps on the tasty OSX.
Already installed it, and everything seems to be working great... not many packages unmasked for macos though! I'm sure that'll change in a couple weeks once folks figure out what does and doesn't work.
Rock on! _________________ ~Anticipat3~ |
|
Back to top |
|
|
aethyr Veteran
Joined: 06 Apr 2003 Posts: 1085 Location: NYC
|
Posted: Mon Jul 19, 2004 10:54 pm Post subject: |
|
|
I'm sort of curious as to how it works because I've been debating buying an iBook vs. x86 subnotebook and this could influence my decision.
Does it use a fork of the portage tree or does it use the regular tree? How nicely does it play along with the rest of the OS X system? |
|
Back to top |
|
|
JohnGalt00 n00b
Joined: 13 Jan 2004 Posts: 38
|
Posted: Tue Jul 20, 2004 12:14 am Post subject: |
|
|
aethyr wrote: | Does it use a fork of the portage tree or does it use the regular tree? How nicely does it play along with the rest of the OS X system? |
Because of the design of the tree, I'd expect they just add MacOS as another architecture like x86 or ppc, and then unmask apps as they test them.
There are already other programs that install OSS, one of them is called fink. Supposedly it works fairly well. I'll tell you how nicely it plays with OS X once I get my own powerbook. |
|
Back to top |
|
|
BennyP Guru
Joined: 09 May 2003 Posts: 503 Location: Jerusalem, Israel
|
Posted: Tue Jul 20, 2004 6:09 am Post subject: |
|
|
I'm very excited to get my fingers messy with this one! ill be buying an ibook soon and will intsall this asap.
my plan is to run osx off the internal harddrive, and then eventually purchase a faster .xternal drive to run pure gentoo from. my goal is to have a portable sound studio for live music production! I cant wait to start bugtesting! _________________ Could it be? |
|
Back to top |
|
|
cmoad n00b
Joined: 03 Aug 2003 Posts: 40 Location: Indianapolis, IN
|
Posted: Tue Jul 20, 2004 2:12 pm Post subject: |
|
|
I've been messing with it and it seems to be running fine. "emerge sync" takes abnormally long, and a lot of packages don't work. You can see on the gentoo wiki page how to add the macos keyword to an ebuild. This can get old since you have to add the keyword to the package you want as well as all dependencies.
I agree we should add a forum topic for just gentoo-osx. I can't wait until they add support for native osx applications!
- Charlie |
|
Back to top |
|
|
Anticipat3 n00b
Joined: 20 Dec 2003 Posts: 35 Location: Madison, WI
|
Posted: Tue Jul 20, 2004 3:11 pm Post subject: |
|
|
Yeah, that would be sweet... just "Emerge Colloquy" and it downloads and installs the .app file... would be cool.
I've been playing with it since yesterday, and since finally getting it working, things seem to be going OK -- as stated above, very few things are unmasked yet, but I'm sure within a month or so the basics will be unmasked. _________________ ~Anticipat3~ |
|
Back to top |
|
|
ruben Guru
Joined: 04 Jul 2003 Posts: 462
|
Posted: Tue Jul 20, 2004 4:31 pm Post subject: |
|
|
Anyone knows whether this also works on Jaguar ?
And if not, what the issues are and how hard it would be to get it working ? |
|
Back to top |
|
|
richwareham n00b
Joined: 20 Jul 2004 Posts: 6
|
Posted: Tue Jul 20, 2004 4:53 pm Post subject: Heh. Couldn't resist |
|
|
Quote: | But in a few months, we'll have a port system that builds Darwin from scratch, provides a standardised lookup and installation routine for Dashboard widgets, enhancements and tools like the Desktop Manager and many, many more popular OS X applications. |
I couldn't resist making a little ebuild after seeing that.
Any idea where there might be information on how to do this properly (aside from the ebuild docs)?
--
Rich Wareham
Desktop Manager developer |
|
Back to top |
|
|
cmoad n00b
Joined: 03 Aug 2003 Posts: 40 Location: Indianapolis, IN
|
Posted: Tue Jul 20, 2004 6:40 pm Post subject: |
|
|
From their site they have a ton of docs here.
I usually just look at an existing ebuild that is similar, but obviously that will be hard for you. Good luck and keep us posted.
- Charlie |
|
Back to top |
|
|
mean Guru
Joined: 25 Sep 2002 Posts: 313
|
Posted: Tue Jul 20, 2004 7:14 pm Post subject: |
|
|
Things are masked but that does no mean it does not work
I have fairly good sucess till now to emerge avidemux dependancies
(mad,a52dec,sdl for Xv display...)
The only one that failed is libvorbis out of about 10 |
|
Back to top |
|
|
daSilVetZ n00b
Joined: 28 Apr 2003 Posts: 66 Location: CT
|
Posted: Tue Jul 20, 2004 7:35 pm Post subject: |
|
|
just finished installing gentoo-macos, seems flawless for now, i'm very impressed. sure, alot of builds are masked but as previously pointed out, that does not mean they won't work. i just emerged links, worked like a charm. _________________ Think Different, Think Emerge.
:: TiBook 1Ghz :: 768 RAM :: 60GB HD+80GB Ext FW
:: 19" EN9110 LCD ::
:: iSight :: Apple Wireless Mouse :: iPod mini Silver:: |
|
Back to top |
|
|
aethyr Veteran
Joined: 06 Apr 2003 Posts: 1085 Location: NYC
|
Posted: Tue Jul 20, 2004 7:53 pm Post subject: |
|
|
What's that business about Code: | hdiutil create -size 750m <Imagename> -volname <Volumename> -fs UFS |
They don't really explain why you need to create an image, or what it does, or how to use it. |
|
Back to top |
|
|
cmoad n00b
Joined: 03 Aug 2003 Posts: 40 Location: Indianapolis, IN
|
Posted: Tue Jul 20, 2004 8:15 pm Post subject: |
|
|
I saw mention that there was a case sensitivity issue in HFS, but I have not seemed to have any problems. I am guessing they recommend you put the portage tree on this UFS volume, but does anyone know if you "really" have to?
Last edited by cmoad on Tue Jul 20, 2004 9:44 pm; edited 1 time in total |
|
Back to top |
|
|
ChrisParrott n00b
Joined: 20 Jul 2004 Posts: 1 Location: Kyle, TX
|
Posted: Tue Jul 20, 2004 8:37 pm Post subject: |
|
|
Kudos to the Gentoo Mac OS X team for all their hard work!
From looking at the following page on the Gentoo Wiki:
http://gentoo-wiki.com/Gentoo_MacOS_compiles
It seems that they would like for users to report packages known to work on macos but happen to be missing the macos keyword in the ebuild. However, the Bugzilla infrastructure at bugs.gentoo.org does not seem to have been updated to specifically mention MacOS yet. Should we just use "PPC" for the hardware platform, and "All" for the operating system? Or, should we early birds just wait until they get around to updating Bugzilla?
At any rate, I would like to mention that the tin-1.6.2 ebuild builds out of the box just fine for me on Panther, with USE="ipv6 ncurses".
+chris
P.S. For what it's worth, my entire filesystem is HFS+, and I have not encountered any problems with Gentoo so far. I did have to rerun the bootstrap-macos.sh script after doing an "emerge sync" before everything seemed to work just right for me, though. Prior to that, I had problems with emerge not being able to find dependencies like virtual/os-headers and other general weirdness. (Sorry, I didn't save any of those error messages...) |
|
Back to top |
|
|
aethyr Veteran
Joined: 06 Apr 2003 Posts: 1085 Location: NYC
|
Posted: Tue Jul 20, 2004 9:38 pm Post subject: |
|
|
cmoad wrote: | I saw mention that there was a case sensitivity issue in HFS, but I have not seemed to have any problems. I am guessing they recommend you put the portage tree on this UFS volume, but does anyone no if you "really" have to? |
Isn't the entire portage tree lowercase now? I remember that being an issue a couple months ago. |
|
Back to top |
|
|
richwareham n00b
Joined: 20 Jul 2004 Posts: 6
|
Posted: Tue Jul 20, 2004 9:43 pm Post subject: |
|
|
cmoad wrote: | From their site they have a ton of docs here.
I usually just look at an existing ebuild that is similar, but obviously that will be hard for you. Good luck and keep us posted.
- Charlie |
I meant more about making Mac OS X native app ebuilds, specifically ones using Xcode as a build environment. The ebuild I worte kinda hacked it and I was wondering if there will be an xcode project eclass. |
|
Back to top |
|
|
atom Tux's lil' helper
Joined: 25 Nov 2002 Posts: 122 Location: Columbus, Ohio, USA
|
Posted: Wed Jul 21, 2004 1:49 am Post subject: |
|
|
richwareham wrote: |
I meant more about making Mac OS X native app ebuilds, specifically ones using Xcode as a build environment. The ebuild I worte kinda hacked it and I was wondering if there will be an xcode project eclass. |
my friend and i were talking about this. it would allow programs such as adium to be installed using portage. a world of possibilities. |
|
Back to top |
|
|
milligig n00b
Joined: 21 Jul 2004 Posts: 3 Location: Dallas, TX
|
Posted: Wed Jul 21, 2004 3:33 am Post subject: Emerge Errors |
|
|
After fighting with fink and portage for a couple of hours, I finally got rid of every last trace of fink and portage seemed to install correctly. (PowerBook G4, 1GHz, 10.3.4)
Now I'm getting errors when trying to emerge system. I managed to get one package emerged without problems (autoconf i think), but ever other package i've tried has failed miserably.
wget fails with stdio.h missing. I had gotten this error a couple months back when i first installed gentoo on my desktop and it fixed itself after a kernel recompile. So, I've tried re-installing developer tools and running the bootstrap-macos.sh script again. I haven't reinstalled portage from scratch yet because frankly, I'm tired of looking at the incredibly slow installation program.
other packages I've tried:
nano - fails because of no glib, glib masked
gentoolkit - ncurses include-path not found
Has anyone found a solution to any of these? I'm open to suggestions. |
|
Back to top |
|
|
daSilVetZ n00b
Joined: 28 Apr 2003 Posts: 66 Location: CT
|
Posted: Wed Jul 21, 2004 3:51 am Post subject: Re: Emerge Errors |
|
|
milligig wrote: |
other packages I've tried:
nano - fails because of no glib, glib masked
gentoolkit - ncurses include-path not found
Has anyone found a solution to any of these? I'm open to suggestions. |
no need to emerge nano, it comes packaged with osx, as far as gentoolkit, it emerged fine here, im not sure why you would be getting the ncurses error. maybe it has something to do with fink? _________________ Think Different, Think Emerge.
:: TiBook 1Ghz :: 768 RAM :: 60GB HD+80GB Ext FW
:: 19" EN9110 LCD ::
:: iSight :: Apple Wireless Mouse :: iPod mini Silver:: |
|
Back to top |
|
|
milligig n00b
Joined: 21 Jul 2004 Posts: 3 Location: Dallas, TX
|
Posted: Wed Jul 21, 2004 4:21 am Post subject: Emerge Error Fix |
|
|
Whoops!
I had only installed DeveloperTools.pkg on my system earlier because I didn't have a need for anything more elaborate. Installing DeveloperTools.mpkg cleared up all my errors.
I suppose sometimes the asking of the question itself helps shed light on the answers. |
|
Back to top |
|
|
noobroot n00b
Joined: 20 Jul 2004 Posts: 5
|
Posted: Wed Jul 21, 2004 6:48 am Post subject: |
|
|
ok so i wasnt sure as to which thread i shuld post this under but here goes...
im completely unfamiliar with gentoo and have just about got the hang of fink and os x...used this site>>>gentoo-wiki.com to gimme a lil more info as to how i can install but i seem to be having some problems. got up to this part and well im kinda unsure where to go from here....
* >>> Injecting sys-darwin/X11-4.3.99 ... [ok ]
Portage successfully tamed your Panther.
typed in #emerge system but it sais command not found
where have i gone rong |
|
Back to top |
|
|
milligig n00b
Joined: 21 Jul 2004 Posts: 3 Location: Dallas, TX
|
Posted: Wed Jul 21, 2004 7:05 am Post subject: Fink and Portage |
|
|
Are you trying to use terminal to run the command or X11? I ran in to the problem of emerge not being in my path in X11. In terminal.app type
# which emerge
if it doens't come up with anything, then I think you're having issues with fink being installed. Just as a test, I searched for all files with fink in the name (using finder) and dragged them over to the trash (for safe keeping ). I then got rid of all the portage files using the uninstall info from the wiki page. Portage should install correctly after that, but obviously you won't be able to use fink unless you get rid of portage and pull fink back out of the trash (you will loose all your apps installed with fink).
There is a way to do this without getting rid of fink, by modifying some config files or something, but I could never find out how. You might try poking around the irc channel.
I fought this same problem for a long time. Good luck. |
|
Back to top |
|
|
pindar Apprentice
Joined: 30 Apr 2004 Posts: 220
|
Posted: Wed Jul 21, 2004 8:32 am Post subject: |
|
|
I had the same problem. emerge is installed in /usr/lib/portage/bin , and that's usually not in your $PATH (this has nothing to do with fink, AFAIK). So in order to use emerge, you can either give the entire path or add the directory to your path. I use zsh, so I had to add it in .zshenv; I forget which file it is when you're using bash (.profile maybe?), but that won't be difficult to figure out. I had to re-run boostrap-macos.sh after doing emerge-sync, but after that, everything ran just fine:
Code: | 8:19AM:pindar@homer: ~ % /usr/portage/scripts/bootstrap-macos.sh
Gentoo Mac OS ; http://www.gentoo.org/
Copyright 2004 The Gentoo Foundation ; Distributed under the GPL v2
* Portage will attempt taming your Panther...
* >>> Injecting app-admin/sudo-1.6.6 ... [ ok ]
.
.
.
Portage successfully tamed your Panther
8:29AM:pindar@homer: ~ % sudo emerge system
Password:
Calculating system dependencies ...done!
>>> emerge (1 of 3) sys-devel/gnuconfig-20040214 to /
.
.
.
* Regenerating GNU info directory index...
* Processed 209 info files.
|
I'm extremely excited about the new possibilities this opens up. Thanks to all the developers who worked on it! |
|
Back to top |
|
|
AvantLegion n00b
Joined: 12 Nov 2003 Posts: 59
|
Posted: Wed Jul 21, 2004 8:50 am Post subject: |
|
|
For me, "emerge sync" just gives me a stream of "Failed cache update" errors for every ebuild.
I'm guessing I need to create that image, but the wiki doesn't explain crap.
Quote: | hdiutil create -size 750m <Imagename> -volname <Volumename> -fs UFS |
Well that's nice. What should "Imagename" be, what should "Volumename" be, and then WTF do I do with it?
I can't wait for this to be ready for prime time. I was able to emerge swi-prolog-lite with no issue, and that's something I was really needing (Fink doesn't have it for 10.3, not even in unstable). And of course my Linux boxes are all Gentoo. |
|
Back to top |
|
|
|