1 |
Fabian Groffen <mailto:grobian@g.o> wrote: |
2 |
> On 28-03-2008 23:30:22 -0700, alessandro salvatori wrote: |
3 |
>> has somebody setup some page with the current progress on Interix? |
4 |
> |
5 |
> Good question, I failed after patch, as all other necessary packages |
6 |
> don't compile out of the box. |
7 |
|
8 |
The steps i use to bootstrap on interix is the following: |
9 |
|
10 |
1) check out a copy of prefix-launcher HEAD from sourceforge svn (using |
11 |
a windows svn client). |
12 |
(svn repo: |
13 |
http://prefix-launcher.svn.sf.net/svnroot/prefix-launcher/prefix-launche |
14 |
r/trunk) |
15 |
the checkout should be somewhere beneath the SFU/SUA directory tree |
16 |
(e.g. C:\SFU on XP/SFU 3.5, |
17 |
and %windir%\SUA on Server 2003 R2/SUA 5.2 and later). Simply create |
18 |
a tools dir there (so |
19 |
for example C:\SFU\tools and checkout prefix-launcher in a subdir of |
20 |
that tools dir). |
21 |
2) get GNU make sources (3.81) from some GNU mirror. (use the tar.gz, |
22 |
not bz2!) |
23 |
3) build GNU make in some temporary directory: |
24 |
(fire up a korn shell, the link is somewhere on the start menu). |
25 |
$ cd /tools (this is the one created earlier from windows for the |
26 |
prefix-launcher checkout) |
27 |
$ tar xfz /dev/fs/C/path/to/make-3.81.tar.gz |
28 |
$ cd make* |
29 |
$ ./configure --program-prefix=g |
30 |
$ make && make install |
31 |
4) build prefix-launcher: |
32 |
$ cd /tools/prefix-launcher-trunk (or wherever you checked it out). |
33 |
$ gmake install PREFIX=/tools DISTTYPE=SNAPSHOT |
34 |
|
35 |
the PREFIX default is /usr/local. Under $PREFIX prefix-launcher |
36 |
creates a directory named |
37 |
prefix-launcher-1pre.<date> for example, so don't worry about |
38 |
colissions with installed |
39 |
software. |
40 |
5) create the directory where the gentoo prefix should be installed (i |
41 |
use /opt/gentoo): |
42 |
$ mkdir /opt/gentoo |
43 |
6) use the eprefix-bootstrap script from prefix-launcher to start |
44 |
bootstrapping: |
45 |
$ /tools/prefix-launcher.1pre.*/*/bin/eprefix-bootstrap |
46 |
--eprefix=/opt/gentoo |
47 |
7) the script stops after emerging an initial portage. Now is the time |
48 |
to add at least |
49 |
one mirror to /opt/gentoo/etc/make.conf, just as eprefix-bootstrap |
50 |
will tell you. |
51 |
8) before continuing, update the portage tree with the windows svn |
52 |
client. The portage |
53 |
tree can be found under C:\SFU\opt\gentoo\usr\portage on XP and |
54 |
under |
55 |
%windir%\SUA\opt\gentoo\usr\portage on Server 2003 R2 and later. |
56 |
9) simply repeat the bootstrap command: |
57 |
$ /tools/prefix-launcher.1pre.*/*/bin/eprefix-bootstrap |
58 |
--eprefix=/opt/gentoo |
59 |
10) the bootstrap script stops at stage useconfig again to allow |
60 |
configuration of the USE |
61 |
flags used for the emerge -e system. Is use "-fortran ncurses nls |
62 |
python readline ssl zlib" |
63 |
11) again repeat the bootstrap command: |
64 |
$ /tools/prefix-launcher.1pre.*/*/bin/eprefix-bootstrap |
65 |
--eprefix=/opt/gentoo |
66 |
|
67 |
That should give a gentoo prefix just like any other :) |
68 |
|
69 |
Troubleshooting: |
70 |
1) If it complains, that portage failed to verify Manifest's, the do |
71 |
this (this is due to |
72 |
an old python in prefix-launcher, but i didn't manage to update |
73 |
it... Arg): |
74 |
$ find /opt/gentoo/usr/portage -name Manifest -exec rm -f {} ';' |
75 |
after that continue with the same command as before. |
76 |
|
77 |
If you have questions, just ask me. |
78 |
Another thing: you will need some good profiles, and i have some. If you |
79 |
are interested, just write me, and i'll send the along with some |
80 |
instructions. |
81 |
|
82 |
Cheers, Markus |
83 |
|
84 |
> |
85 |
> |
86 |
> -- |
87 |
> Fabian Groffen |
88 |
> Gentoo on a different level |
89 |
|
90 |
-- |
91 |
gentoo-alt@l.g.o mailing list |