1 README.opensolaris.g11n v1.9 22 Dec 2006 - 07:49 GMT |
1 README.opensolaris.g11n v2.0, Jul 3, 2007 |
2 |
2 |
3 OPENSOLARIS.ORG G11N WORKSPACE BUILDABLE SOURCE |
|
4 |
3 |
5 This file contains the instructions for downloading and building the G11n |
4 OPENSOLARIS.ORG NEVADA G11N WORKSPACE BUILD INSTRUCTIONS |
|
5 |
|
6 This file contains the instructions for checking out and building the G11N |
6 workspace for OpenSolaris, where to file bug or RFE (Request For Enhancement) |
7 workspace for OpenSolaris, where to file bug or RFE (Request For Enhancement) |
7 reports, and also how to contribute. |
8 reports, and also how to contribute. |
|
9 |
8 |
10 |
9 |
11 |
10 G11N Workspace Build Instructions |
12 G11N Workspace Build Instructions |
11 --------------------------------- |
13 --------------------------------- |
12 |
14 |
14 |
16 |
15 http://www.sun.com/software/solaris/solaris-express/get.jsp |
17 http://www.sun.com/software/solaris/solaris-express/get.jsp |
16 |
18 |
17 Currently, the build machines must have Developer System Support or higher |
19 Currently, the build machines must have Developer System Support or higher |
18 meta-cluster and all locales installed. It is recommended to have at least |
20 meta-cluster and all locales installed. It is recommended to have at least |
19 1GB of swan space or memory combined for a proper build. |
21 1GB of swap space or memory combined for a proper build. |
20 |
22 |
21 After the build machine installation, about 3.2GB of free disk space is |
23 After the build machine installation, about 3.2GB of free disk space is |
22 needed to keep the downloaded tarballs and also to build. |
24 needed to keep the downloaded tarballs and also to build. |
23 |
25 |
24 2. Download an install image of Sun Studio 11 for OpenSolaris, SPARC or |
26 2. Download an install image of Sun Studio 11 for OpenSolaris, SPARC or |
45 system. The tarballs are also organized by date, where the date is in |
47 system. The tarballs are also organized by date, where the date is in |
46 the format of YYYYMMDD. |
48 the format of YYYYMMDD. |
47 |
49 |
48 4. Unpack the binary tarballs at the root file system as root: |
50 4. Unpack the binary tarballs at the root file system as root: |
49 |
51 |
50 $ su |
52 $ su - |
51 # bzcat g11n-closed-bins-20061220.sparc.tar.bz2 | (cd / ; tar xvf -) |
53 # bzcat g11n-closed-bins-20061220.sparc.tar.bz2 | (cd / ; tar xvf -) |
52 # bzcat g11n-GPL-bins-20061220.sparc.tar.bz2 | (cd / ; tar xvf -) |
54 # bzcat g11n-GPL-bins-20061220.sparc.tar.bz2 | (cd / ; tar xvf -) |
53 |
55 |
54 5. Download the latest source tarball by following the link shown in |
56 5. Check out the latest source codes from live repository |
55 the following: |
|
56 |
57 |
57 http://www.opensolaris.org/os/community/int_localization/sources/ |
58 # cd /build |
|
59 # hg clone ssh://[email protected]/hg/nv-g11n/g11n |
58 |
60 |
59 and unpack the tarball to a directory of your choosing, for instance: |
61 More details about G11N live repository can be found from: |
60 |
62 |
61 # cd /build |
63 http://www.opensolaris.org/os/project/nv-g11n/documents/repository/ |
62 # bzcat g11n-src-20061220.tar.bz2 | tar xvf - |
|
63 |
|
64 This will give you a g11n directory containing all of the code. |
|
65 |
64 |
66 6. Set an environment variable called 'SRC' to the full path of the g11n |
65 6. Set an environment variable called 'SRC' to the full path of the g11n |
67 directory, i.e., if you extracted it into a /build directory then SRC |
66 directory, i.e., if you extracted it into a /build directory then SRC |
68 should be /build/g11n. In ksh: |
67 should be /build/g11n. In ksh: |
69 |
68 |
71 |
70 |
72 7. Add the necessary paths to your $PATH variable such as '/usr/ccs/bin' for |
71 7. Add the necessary paths to your $PATH variable such as '/usr/ccs/bin' for |
73 make and '/opt/SUNWspro/bin' for compilers. These should be near |
72 make and '/opt/SUNWspro/bin' for compilers. These should be near |
74 the beginning so that they are the first to be picked up. |
73 the beginning so that they are the first to be picked up. |
75 |
74 |
76 # export PATH=/usr/ccs/bin:/opt/SUNWspro/bin:$PATH |
75 # export PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/bin |
77 |
76 |
78 8. Run 'make all' to build the workspace in its entirety. This will compile |
77 8. Run 'make all' to build the workspace in its entirety. This will compile |
79 and generate binary files and create an empty directory tree in |
78 and generate binary files and create an empty directory tree in |
80 $SRC/proto/$arch/fileroot where $arch is your machine's architecture, |
79 $SRC/proto/$arch/fileroot where $arch is your machine's architecture, |
81 i.e., sparc or i386: |
80 i.e., sparc or i386: |
132 updating /usr/openwin/lib/locale/ko.UTF-8/X11/fonts/TrueType/fonts.cache-1... |
131 updating /usr/openwin/lib/locale/ko.UTF-8/X11/fonts/TrueType/fonts.cache-1... |
133 updating /usr/openwin/lib/locale/en_US.UTF-8/X11/fonts/misc/fonts.cache-1... |
132 updating /usr/openwin/lib/locale/en_US.UTF-8/X11/fonts/misc/fonts.cache-1... |
134 updating /usr/openwin/lib/locale/ko/X11/fonts/TrueType/fonts.cache-1... |
133 updating /usr/openwin/lib/locale/ko/X11/fonts/TrueType/fonts.cache-1... |
135 # |
134 # |
136 |
135 |
|
136 |
|
137 |
|
138 |
137 Bug/RFE Reports |
139 Bug/RFE Reports |
138 --------------- |
140 --------------- |
139 |
141 |
140 To report a bug or an RFE, use the following web interface: |
142 To report a bug or an RFE, use the following web interface: |
141 |
143 |
175 http://www.opensolaris.org/jive/forum.jspa?forumID=27 |
179 http://www.opensolaris.org/jive/forum.jspa?forumID=27 |
176 |
180 |
177 Shortly after your email, there will be a sponsor contacting you and work |
181 Shortly after your email, there will be a sponsor contacting you and work |
178 together with you to integrate your contributions into G11N or any other |
182 together with you to integrate your contributions into G11N or any other |
179 consolidation/community's workspaces as needed. |
183 consolidation/community's workspaces as needed. |
|
184 |