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

Contents of /portage/README.mac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jun 11 07:06:09 2003 UTC (11 years, 6 months ago) by drobbins
Branch: MAIN
new readme file for mac users

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 # ln -s /usr/lib/portage/bin/emerge /usr/bin/emerge
22 # ln -s /usr/lib/portage/bin/ebuild.sh /usr/sbin/ebuild.sh
23 # cp /Users/drobbins/portage/cnf/make.conf.mac /etc/make.conf
24 # cp /Users/drobbins/portage/cnf/make.globals.mac /etc/make.globals
25 # mkdir /etc/make.profile
26 # vi /etc/make.profile/make.defaults (add the following lines:)
27
28 ARCH="ppc"
29 USE=""
30 ACCEPT_KEYWORDS="ppc"
31 COMPILER="gcc3"
32
33 Note that the "ppc" stuff above is interim as we have not started using the "mac"
34 keyword yet.
35
36 Now, emerge sync:
37
38 # emerge sync
39
40 Now, copy all files from /usr/portage/profiles/default-ppc-1.4/ to /etc/make.profile
41 *except* for the already-existing /etc/make.profile/make.defaults file.
42
43 You should now be able to do things like:
44
45 # emerge -eup world
46
47 Note that nearly everything will b0rk hard if you try to emerge it. A few things
48 will work with no issues as long as use use the --nodeps option. Try:
49
50 # emerge --nodeps nano
51
52 Happy hacking!
53
54 Email drobbins@gentoo.org and cc: pvdabeel@gentoo.org regarding any needed changes
55 or improvements to this document.

  ViewVC Help
Powered by ViewVC 1.1.20