Difference between pages "Gentoo Prefix On Mac OS X" and "Template:DisplayBuilds"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
There is a way to install Gentoo so that it runs within Mac OS X. This install method is called "Gentoo Prefix".
<includeonly>
 
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=build=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@build,variant=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@variant,latest=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@latest,path=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@path,download=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@download}}
There is a handy script you can use to install Gentoo Prefix on any Mac OS X machine.  
<tr>
 
<td>{{#external_value:build}}</td>
== Requirements ==
<td>{{#vardefine:v|{{#external_value:variant}}}}{{#if:{{#var:v}}|{{#var:v}}|<span style="color: #888;">standard</span>}}</td>
 
<td>{{#external_value:latest}}</td>
For Gentoo Prefix installation to work, you must have the Xcode command-line tools installed, so that a compiler toolchain exists. Here are the steps to install the Xcode command-line tools:
<td>*'''[http://ftp.osuosl.org/pub/funtoo{{#external_value:download}} osuosl.org]'''
 
* '''[http://build.funtoo.org{{#external_value:download}} funtoo.org]'''</td>
# Install Xcode itself from the Apple Mac OS X install media. If you are using Mac OS Lion, then the Apple App Store has Xcode available. Search for "Xcode" and you will be able to download and install it.
<td>* [http://ftp.osuosl.org/pub/funtoo{{#external_value:path}} osuosl.org]
# Now, start Xcode.
* [http://build.funtoo.org{{#external_value:path}} funtoo.org]</td>
# Go to the Xcode menu, then Preferences, then the Downloads tab.
</tr>
# Click "Install" next to "Command Line Tools".
</includeonly>
# You will need to log in with your Apple Developer ID for the download to continue.
 
Here's how you do it. As root (<tt>sudo su -</tt>), type:
 
The <tt>EPREFIX</tt> variable controls the install location. The default is <tt>~/gentoo</tt>.
 
<console>
$ ##i##wget http://www.cs.stonybrook.edu/~ryao/prefix-install.sh && chmod u+x ./prefix-install.sh && env MAKEOPTS=-j5 ./prefix-install.sh
</console>
 
Bam!
 
Now, let's work on Funtoo Prefix :)

Revision as of 04:21, January 15, 2015