Blame


1 4ef9ff62 2005-01-14 devnull .TH INSTALL 1
2 4ef9ff62 2005-01-14 devnull .SH NAME
3 4ef9ff62 2005-01-14 devnull install \- notes about Plan 9 from User Space installation
4 4ef9ff62 2005-01-14 devnull .SH SYNOPSIS
5 4ef9ff62 2005-01-14 devnull .B
6 4ef9ff62 2005-01-14 devnull cd \*9; ./INSTALL
7 4ef9ff62 2005-01-14 devnull .SH DESCRIPTION
8 4ef9ff62 2005-01-14 devnull To obtain the Plan 9 tree, use CVS
9 4ef9ff62 2005-01-14 devnull (see
10 4ef9ff62 2005-01-14 devnull .IR cvs (1))
11 4ef9ff62 2005-01-14 devnull or download a tar file from
12 4ef9ff62 2005-01-14 devnull .HR http://swtch.com/plan9port "" .
13 4ef9ff62 2005-01-14 devnull .PP
14 4ef9ff62 2005-01-14 devnull In the root of the tree, run
15 4ef9ff62 2005-01-14 devnull .BR ./INSTALL .
16 4ef9ff62 2005-01-14 devnull This script first uses
17 4ef9ff62 2005-01-14 devnull .IR make (1)
18 4ef9ff62 2005-01-14 devnull to build the Plan 9 build program
19 4ef9ff62 2005-01-14 devnull .IR mk (1)
20 4ef9ff62 2005-01-14 devnull if necessary.
21 4ef9ff62 2005-01-14 devnull It cleans all previously built object files and libraries out of the tree,
22 4ef9ff62 2005-01-14 devnull rebuilds and installs everything, and then cleans up.
23 4ef9ff62 2005-01-14 devnull .PP
24 4ef9ff62 2005-01-14 devnull There are a few files in tree which have the root
25 4ef9ff62 2005-01-14 devnull hard-coded in them.
26 4ef9ff62 2005-01-14 devnull After the build,
27 4ef9ff62 2005-01-14 devnull .I INSTALL
28 4ef9ff62 2005-01-14 devnull edits these files to replace the string
29 4ef9ff62 2005-01-14 devnull .B /usr/local/plan9
30 4ef9ff62 2005-01-14 devnull with the name of the root of the current tree.
31 4ef9ff62 2005-01-14 devnull .PP
32 4ef9ff62 2005-01-14 devnull Finally,
33 4ef9ff62 2005-01-14 devnull .I INSTALL
34 4ef9ff62 2005-01-14 devnull builds an HTML version of the manual and installs it in
35 4ef9ff62 2005-01-14 devnull .BR \*9/man .
36 4ef9ff62 2005-01-14 devnull .PP
37 4ef9ff62 2005-01-14 devnull .I INSTALL
38 4ef9ff62 2005-01-14 devnull can safely be repeated to rebuild the system from scratch.
39 3dc1ecc1 2005-01-14 devnull .PP
40 7c604f0d 2005-01-23 devnull At the end of the build,
41 7c604f0d 2005-01-23 devnull .I INSTALL
42 7c604f0d 2005-01-23 devnull prints suggested settings for the environment variables
43 7c604f0d 2005-01-23 devnull .B $PLAN9
44 7c604f0d 2005-01-23 devnull and
45 7c604f0d 2005-01-23 devnull .BR $PATH .
46 7c604f0d 2005-01-23 devnull After setting those, the script
47 7c604f0d 2005-01-23 devnull .B $PLAN9/dist/isum
48 7c604f0d 2005-01-23 devnull will print a short summary of the installation output,
49 7c604f0d 2005-01-23 devnull omitting the usual command chatter but preserving
50 7c604f0d 2005-01-23 devnull compiler warnings and errors.
51 7c604f0d 2005-01-23 devnull .PP
52 7c604f0d 2005-01-23 devnull Plan 9 from User Space uses different threading implementations on Linux 2.6 and
53 3dc1ecc1 2005-01-14 devnull later kernels than on 2.4 and earlier;
54 3dc1ecc1 2005-01-14 devnull and on FreeBSD 5 and later kernels than on FreeBSD 4 and earlier.
55 b04c42e9 2005-01-17 devnull Running binaries from one class on another will not work.
56 b04c42e9 2005-01-17 devnull .PP
57 b04c42e9 2005-01-17 devnull Some Linux 2.6 systems (e.g., Gentoo) do not use the new NPTL pthread library
58 b04c42e9 2005-01-17 devnull even though the kernel supports them. On these systems, plan9port must
59 b04c42e9 2005-01-17 devnull fall back on the threading code intended for Linux 2.4. To accomplish this,
60 b04c42e9 2005-01-17 devnull .I INSTALL
61 b04c42e9 2005-01-17 devnull checks whether the running system uses NPTL and sets
62 b04c42e9 2005-01-17 devnull .B SYSVERSION
63 b04c42e9 2005-01-17 devnull in
64 b04c42e9 2005-01-17 devnull .B \*9/config
65 b04c42e9 2005-01-17 devnull accordingly.
66 4ef9ff62 2005-01-14 devnull .SH FILES
67 4ef9ff62 2005-01-14 devnull .TP
68 4ef9ff62 2005-01-14 devnull .B \*9/lib/moveplan9.files
69 4ef9ff62 2005-01-14 devnull the list of files that need to have
70 4ef9ff62 2005-01-14 devnull .B /usr/local/plan9
71 4ef9ff62 2005-01-14 devnull edited out of them
72 4ef9ff62 2005-01-14 devnull .TP
73 4ef9ff62 2005-01-14 devnull .B \*9/lib/moveplan9.sh
74 4ef9ff62 2005-01-14 devnull the script that edits the files
75 4ef9ff62 2005-01-14 devnull .TP
76 4ef9ff62 2005-01-14 devnull .B \*9/src/mkmk.sh
77 4ef9ff62 2005-01-14 devnull the shell script used to build
78 4ef9ff62 2005-01-14 devnull .IR mk (1)
79 4ef9ff62 2005-01-14 devnull .TP
80 4ef9ff62 2005-01-14 devnull .B \*9/dist/manweb
81 4ef9ff62 2005-01-14 devnull the shell script that builds the HTML manual
82 4ef9ff62 2005-01-14 devnull .TP
83 4ef9ff62 2005-01-14 devnull .B \*9/man/index.html
84 4ef9ff62 2005-01-14 devnull the top-level page in the HTML version of the manual
85 7c604f0d 2005-01-23 devnull .TP
86 7c604f0d 2005-01-23 devnull .B \*9/install.log
87 7c604f0d 2005-01-23 devnull logged output from the last run of
88 7c604f0d 2005-01-23 devnull .I INSTALL
89 4ef9ff62 2005-01-14 devnull .SH SEE ALSO
90 4ef9ff62 2005-01-14 devnull .IR intro (1),
91 4ef9ff62 2005-01-14 devnull .IR cvs (1)