/[gentoo-src]/portage/README.mac
Gentoo

Contents of /portage/README.mac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Jun 11 07:55:01 2003 UTC (11 years, 6 months ago) by drobbins
Branch: MAIN
CVS Tags: portage_2_0_51_pre7b, portage_2_0_50_pre16b, portage_2_0_48_r3, portage_2_0_50_pre12, portage_2_0_50_pre16, portage_2_0_51_pre10, portage_2_0_51_pre11, portage_2_0_51_pre12, portage_2_0_51_pre13, portage_2_0_51_pre14, portage_2_0_51_pre15, portage_2_0_51_pre16, portage_2_0_51_pre18, portage_2_0_51_pre19, portage_2_0_48_r2, portage_2_0_50, portage_2_0_51_rc1, portage_2_0_51_rc3, portage_2_0_51_rc5, portage_2_0_51_rc4, portage_2_0_51_pre8, portage_2_0_51_pre9, portage_2_0_51_pre6, portage_2_0_51_pre7, portage_2_0_51_pre4, portage_2_0_51_pre5, portage_2_0_51_rc7, portage_2_0_49_r17_pre1, portage_2_0_50_r1, portage_2_0_50_r2, portage_2_0_50_pre20, portage_2_0_49_r3, portage_2_0_50_pre22, portage_2_0_49_pre17, portage_2_0_49_r4, portage_2_0_49_r14, portage_2_0_49_r15, portage_2_0_49_r16, portage_2_0_49, portage_2_0_49_r13, portage_2_0_50_pre5, portage_2_0_51_pre20, portage_2_0_51_pre23, portage_2_0_51_pre22, portage_2_0_50_pre1, portage_2_0_51_pre24, portage_2_0_50_pre4
Changes since 1.1: +1 -0 lines
glaring ommission

1 drobbins 1.1 To install under Mac OS X:
2    
3     Requirements:
4     Mac OS X 10.2 (Jaguar) or greater
5     Apple Developer Tools or gcc toolchain if you want to compile
6    
7     Steps:
8    
9     First, create the Portage user. Type "sudo su" to become root, then:
10    
11     niutil -create / /users/portage
12     niutil -appendprop . /users/portage uid 250
13     niutil -create / /groups/portage
14     niutil -appendprop . /groups/portage gid 250
15    
16     The portage user and group will now be created.
17    
18     Now, assuming this source tree is in /Users/drobbins, perform the following:
19    
20     # ln -s /Users/drobbins/portage /usr/lib/portage
21 drobbins 1.2 # cp /usr/lib/portage/pym/*.py /usr/lib/python2.2/site-packages/
22 drobbins 1.1 # ln -s /usr/lib/portage/bin/emerge /usr/bin/emerge
23     # ln -s /usr/lib/portage/bin/ebuild.sh /usr/sbin/ebuild.sh
24     # cp /Users/drobbins/portage/cnf/make.conf.mac /etc/make.conf
25     # cp /Users/drobbins/portage/cnf/make.globals.mac /etc/make.globals
26     # mkdir /etc/make.profile
27     # vi /etc/make.profile/make.defaults (add the following lines:)
28    
29     ARCH="ppc"
30     USE=""
31     ACCEPT_KEYWORDS="ppc"
32     COMPILER="gcc3"
33    
34     Note that the "ppc" stuff above is interim as we have not started using the "mac"
35     keyword yet.
36    
37     Now, emerge sync:
38    
39     # emerge sync
40    
41     Now, copy all files from /usr/portage/profiles/default-ppc-1.4/ to /etc/make.profile
42     *except* for the already-existing /etc/make.profile/make.defaults file.
43    
44     You should now be able to do things like:
45    
46     # emerge -eup world
47    
48     Note that nearly everything will b0rk hard if you try to emerge it. A few things
49     will work with no issues as long as use use the --nodeps option. Try:
50    
51     # emerge --nodeps nano
52    
53     Happy hacking!
54    
55     Email drobbins@gentoo.org and cc: pvdabeel@gentoo.org regarding any needed changes
56     or improvements to this document.

  ViewVC Help
Powered by ViewVC 1.1.20