* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2007-09-07 16:05 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2007-09-07 16:05 UTC (permalink / raw
To: gentoo-commits
grobian 07/09/07 16:05:07
Added: bootstrap-linux.xml
Log:
Add a preliminary linux bootstrapping guide. Not linked yet, will first
throw it in the group for some testing.
Revision Changes Path
1.1 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.1&content-type=text/plain
Index: bootstrap-linux.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.1 2007/09/07 16:05:07 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
<author title="Author">
<mail link="grobian@gentoo.org">Fabian Groffen</mail>
</author>
<abstract>
How to bootstrap Prefixed Portage on your Linux system
</abstract>
<!-- The content of this document is licensed under the CC-BY-SA license -->
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
<version>1.0</version>
<date>2007-09-07</date>
<chapter>
<title>Bootstrapping on OS X</title>
<section><!-- {{{ Introduction -->
<title>Introduction</title>
<body>
<p>
Bootstrapping on Linux gets simpler with the freshness of the
Linux distribution. An old linux distribution requires more
bootstrapping. Because the huge variety of Linux
distributions, this guide can only considered to be a mere
guideline; the actual bootstrap process might require some
additional steps based on what goes wrong. When problems
occur, please search and post to the <c>gentoo-alt</c> mailing
list for additional help.
</p>
</body>
</section><!-- }}} -->
<section><!-- {{{ Bootstrapping -->
<title>Bootstrapping</title>
<body>
<p>
As prerequisite, you need a GCC compiler, the GNU binutils
linker and system headers, such that source code can be
compiled into workin executables.
</p>
<p>
The first step is to chose a path to install into. We refer
to this path as "prefix path", stored in the variable
<c>$EPREFIX</c>. A suggestion for your prefix path is
<path>$HOME/gentoo</path>.
Whatever you chose, make sure you set it in your environment:
</p>
<pre caption="Export EPREFIX variable">
$ <i>export EPREFIX="$HOME/gentoo"</i>
</pre>
<note>
tcsh users can use <c>setenv EPREFIX "$HOME/gentoo"</c>
instead.
</note>
<p>
Next, add the following paths in your soon to be prefix to
your <c>PATH</c> environment.
<path>$EPREFIX/bin</path>,
<path>$EPREFIX/usr/bin</path>,
<path>$EPREFIX/tmp/bin</path> and
<path>$EPREFIX/tmp/usr/bin</path>.
Adding these paths makes sure that they will be available
later on in the process.
</p>
<pre caption="Add prefix paths to your PATH">
$ <i>export PATH="$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:$PATH"</i>
</pre>
<p>
Now the path is set, start with downloading the bootstrap
script from
<uri>http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/scripts/bootstrap-prefix.sh?format=txt</uri>.
From the directory where the bootstrap script was stored execute
the following commands:
</p>
<pre caption="Use the bootstrap script">
$ <i>chmod 755 bootstrap-prefix.sh</i>
$ <i>./bootstrap-prefix.sh $EPREFIX tree</i>
$ <i>./bootstrap-prefix.sh $EPREFIX/tmp python</i>
$ <i>./bootstrap-prefix.sh $EPREFIX portage</i>
</pre>
<note>Please note that <c>python</c> is installed in
<path>$EPREFIX/tmp</path>! You can skip bootstrapping
python if you already have a working Python 2.4 in your
path.</note>
<p>
The script will setup the <path>$EPREFIX</path>
directory, download a portage tree snapshot, unpack it and
download and install portage. Afterwards it will try to setup
some sane defaults. We continue with a little hack necessary
for a successful bootstrap:
</p>
<pre caption="Setup ld directions">
$ <i>export LDFLAGS="-L${EPREFIX}/usr/lib -Wl,-rpath=${EPREFIX}/usr/lib -L${EPREFIX}/lib -Wl,-rpath=${EPREFIX}/lib"</i>
$ <i>export CPPFLAGS="-I${EPREFIX}/usr/include"</i>
</pre>
<p>
Because we installed some new applications, we will instruct
bash to reconsider all paths we have:
</p>
<pre caption="rehash in bash">
$ <i>hash -r</i>
</pre>
<note>
tcsh users can use the <c>rehash</c> command.
</note>
<p>
We continue adding some necessary tools which will deal with
many errors and warnings you might see during emerging.
</p>
<pre caption="emerge sed">
$ <i>emerge --oneshot sed</i>
</pre>
<p>
Next, we emerge the <c>bash</c> shell and its dependency
ncurses. <c>bash</c> is used extensively within portage and
other applications.
</p>
<pre caption="emerge bash">
$ <i>emerge --oneshot bash</i>
</pre>
<note>
It is safe to ignore the "1 config files in XXX need updating"
message that appears till the end of the bootstrap process.
</note>
<p>
We continue getting some autotools stuff into our prefix.
</p>
<pre caption="emerge autotools">
$ <i>emerge --oneshot --nodeps "m4"</i>
$ <i>emerge --oneshot --nodeps "=autoconf-2.1*" "=autoconf-2.6*" "autoconf-wrapper"</i>
$ <i>emerge --oneshot --nodeps "=automake-1.4*" "=automake-1.5*" "=automake-1.6*" "=automake-1.7*" "=automake-1.8*" "automake-wrapper"</i>
</pre>
<note><c>>=automake-1.9</c> and <c>libtool</c> are not (yet)
installed at this stage.</note>
<p>
Next, we have to get some tools in order to finalise getting
the autotools in our prefix. Because we installed <c>wget</c>
in a temporary location, let's not forget to install it
properly by emerging it now:
</p>
<pre caption="emerge wget">
$ <i>emerge --oneshot --nodeps wget</i>
</pre>
<p>
After this we can emerge texinfo, which <c>automake-1.9</c>
needs.
</p>
<pre caption="emerge texinfo">
$ <i>emerge --oneshot --nodeps texinfo</i>
</pre>
<p>
Now we can finish installing the autotools:
</p>
<pre caption="finalise emerge autotools">
$ <i>emerge --oneshot --nodeps "=automake-1.9*" "=automake-1.10*"</i>
$ <i>emerge --oneshot --nodeps libtool</i>
</pre>
<p>
Now we have some decent autotooling stuff around, we can get
some decent core utilities in our prefix.
</p>
<pre caption="emerge coreutils">
$ <i>emerge --oneshot --nodeps sys-apps/coreutils</i>
</pre>
<p>
Finally we emerge <c>python</c>, <c>findutils</c> and
<c>tar</c> in our prefix. These are the last packages that we
temporarily installed to bootstrap our system.
</p>
<pre caption="emerge python">
$ <i>emerge --oneshot --nodeps python</i>
$ <i>emerge --oneshot --nodeps findutils</i>
$ <i>emerge --oneshot --nodeps tar</i>
</pre>
<p>
Before we continue to emerge all ebuilds from <c>system</c>,
we first install <c>portage</c>. We need to overwrite the
version that was installed by the bootstrap script.
Installing a new portage will make sure it uses the tools
provided by the prefix, and forget about the temporary
installed tools.
</p>
<pre caption="emerge portage">
$ <i>env FEATURES="-collision-protect" emerge --oneshot --nodeps portage</i>
</pre>
<p>
Next, we get GNU <c>awk</c>, as most ebuild expect this
<c>awk</c> when they use it.
</p>
<pre caption="emerge gawk">
$ <i>emerge --oneshot gawk</i>
</pre>
<p>
Some, if not many, scripts and tools within a Gentoo system
assume the availability of the <c>baselayout</c> package. We
make sure here we have it, for this reason. In fact, it would
be emerged too late if we wouldn't do it manually now:
</p>
<pre caption="emerge baselayout-prefix">
$ <i>emerge --oneshot --nodeps baselayout-prefix</i>
</pre>
<p>
Now we're about to start the big work, we remove the temporary
directory and its use as we got it all in our prefix now. You
may have not used this directory if you didn't bootstrap
python.
</p>
<pre caption="remove tmp directory">
$ <i>rm -Rf $EPREFIX/tmp/*</i>
$ <i>hash -r</i>
</pre>
<p>
Next, we do the real work where all packages get reemerged in
such an order that they make use of packages in the prefix
itself.
</p>
<pre caption="emerge system">
$ <i>emerge -e system</i>
</pre>
<p>
This will happily install a lot of stuff and reinstall what
you emerged before. This is necessary to avoid compilation
failures due to dependencies.
</p>
<p>
Since we have some basic stuff now, we might want the benefit
of an updated tree. To use it, emerge <c>subversion</c>:
</p>
<pre caption="emerge subversion">
$ <i>emerge subversion</i>
</pre>
<p>
We can now update the tree. Since snapshots now are actually
(anonymous) SVN checkouts of the tree, we can immediately use
SVN commands on the tree instead of checking a tree out first.
Because Portage knows how to deal with the SVN tree, and the
bootstrap script has set a correct <c>SYNC</c> variable in
your <path>etc/make.conf</path>, updating the tree is done
using:
</p>
<pre caption="Updating the tree">
$ <i>emerge --sync</i>
</pre>
<p>
To really do this properly, after emerging <c>system</c>, one
should re-emerge <c>world</c>, because now all packages can
be compiled with all tools from the prefix, instead of based
on tools in the system root. Before you do though, this is
the good time to set your general <c>USE</c>-flags, such as
<c>nls</c> to get localised messages in
<path>$EPREFIX/etc/make.conf</path>. In that file, you
can also set <c>CFLAGS</c> for your compilation. Be
conservative with <c>CFLAGS</c>! Note that the code below is
an example, and is meant for inspiration only.
</p>
<pre caption="Customising the prefix installation - example">
$ <i>echo 'USE="unicode nls"' >> $EPREFIX/etc/make.conf</i>
$ <i>echo 'CFLAGS="-O2 -pipe"' >> $EPREFIX/etc/make.conf</i>
</pre>
<p>
Since we're about to rebuild our system for the last time, we
can unset all hacks we made to help the bootstrap process.
This time we emerge <c>world</c> to include the packages
necessary for <c>subversion</c>.
</p>
<pre caption="Unsetting LDFLAGS and CPPFLAGS variables">
$ <i>unset LDFLAGS</i>
$ <i>unset CPPFLAGS</i>
$ <i>emerge -e world</i>
</pre>
<note>
tcsh users can use <c>unsetenv LDFLAGS</c> and alike for
<c>CPPFLAGS</c>.
</note>
<p>
After <c>world</c> has emerged successfully, your prefix will
be set up properly, and you can emerge the whichever tools you
choose from the prefix tree.
</p>
</body>
</section><!-- }}} -->
<section><!-- {{{ Using the Prefix -->
<title>Using the Prefix</title>
<body>
<p>
To use your bootstrapped prefix environment, you best start a
shell from the prefix, such that your path and other
environment variables are set correctly. To facilitate in
this, a small helper script can be created by the bootstrap
script.
</p>
<pre caption="Creating a start-script">
$ <i>cd $EPREFIX/usr/portage/scripts</i>
$ <i>./bootstrap-prefix.sh $EPREFIX startscript</i>
</pre>
<p>
After running this, a script <c>startprefix</c> will be
present in <c>$EPREFIX</c>. You can freely move the script to
e.g. your homedir for convenience. Running the script will
drop you into a prefix shell, where for example <c>emerge</c>
is directly at your disposal. Enjoy your prefix!
</p>
</body>
</section>
</chapter>
</guide>
<!-- vim: set expandtab ts=2 sw=2 foldmethod=marker foldenable spell spelllang=en_gb: -->
<!-- kate: space-indent on; indent-width 2; replace-tabs on; -->
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2007-09-07 17:50 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2007-09-07 17:50 UTC (permalink / raw
To: gentoo-commits
grobian 07/09/07 17:50:42
Modified: bootstrap-linux.xml
Log:
This is a Linux guide, not OSX.
Revision Changes Path
1.2 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.1&r2=1.2
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bootstrap-linux.xml 7 Sep 2007 16:05:07 -0000 1.1
+++ bootstrap-linux.xml 7 Sep 2007 17:50:41 -0000 1.2
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.1 2007/09/07 16:05:07 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.2 2007/09/07 17:50:41 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
@@ -23,7 +23,7 @@
<date>2007-09-07</date>
<chapter>
- <title>Bootstrapping on OS X</title>
+ <title>Bootstrapping on Linux</title>
<section><!-- {{{ Introduction -->
<title>Introduction</title>
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2007-09-07 17:56 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2007-09-07 17:56 UTC (permalink / raw
To: gentoo-commits
grobian 07/09/07 17:56:14
Modified: bootstrap-linux.xml
Log:
typot
Revision Changes Path
1.3 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.2&r2=1.3
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- bootstrap-linux.xml 7 Sep 2007 17:50:41 -0000 1.2
+++ bootstrap-linux.xml 7 Sep 2007 17:56:14 -0000 1.3
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.2 2007/09/07 17:50:41 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.3 2007/09/07 17:56:14 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
@@ -47,7 +47,7 @@
<p>
As prerequisite, you need a GCC compiler, the GNU binutils
linker and system headers, such that source code can be
- compiled into workin executables.
+ compiled into working executables.
</p>
<p>
The first step is to chose a path to install into. We refer
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2007-09-07 19:37 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2007-09-07 19:37 UTC (permalink / raw
To: gentoo-commits
grobian 07/09/07 19:37:01
Modified: bootstrap-linux.xml
Log:
Add note for 64-bits users.
Revision Changes Path
1.5 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.4&r2=1.5
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- bootstrap-linux.xml 7 Sep 2007 18:30:26 -0000 1.4
+++ bootstrap-linux.xml 7 Sep 2007 19:37:00 -0000 1.5
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.4 2007/09/07 18:30:26 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.5 2007/09/07 19:37:00 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
@@ -104,6 +104,8 @@
$ <i>export LDFLAGS="-L${EPREFIX}/usr/lib -Wl,-rpath=${EPREFIX}/usr/lib -L${EPREFIX}/lib -Wl,-rpath=${EPREFIX}/lib"</i>
$ <i>export CPPFLAGS="-I${EPREFIX}/usr/include"</i>
</pre>
+ <note>If you are on a 64-bits Linux system, such as an AMD64
+ system, you have to replace <c>lib</c> by <c>lib64</c>.</note>
<p>
Because we installed some new applications, we will instruct
bash to reconsider all paths we have:
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2007-09-19 18:07 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2007-09-19 18:07 UTC (permalink / raw
To: gentoo-commits
grobian 07/09/19 18:07:03
Modified: bootstrap-linux.xml
Log:
Do some show off BS on what linuxes we can give love to.
Revision Changes Path
1.8 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.7&r2=1.8
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- bootstrap-linux.xml 12 Sep 2007 07:33:23 -0000 1.7
+++ bootstrap-linux.xml 19 Sep 2007 18:07:03 -0000 1.8
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.7 2007/09/12 07:33:23 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.8 2007/09/19 18:07:03 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
@@ -36,7 +36,10 @@
guideline; the actual bootstrap process might require some
additional steps based on what goes wrong. When problems
occur, please search and post to the <c>gentoo-alt</c> mailing
- list for additional help.
+ list for additional help. Success with bootstrapping on the
+ following platforms has been reported: RedHat Enterprise
+ Linux 4 and 5 for x86, x86_64 and ia64 and Fedora (Core) 6 and
+ 7 on amd64.
</p>
</body>
</section><!-- }}} -->
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2007-10-29 8:40 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2007-10-29 8:40 UTC (permalink / raw
To: gentoo-commits
grobian 07/10/29 08:40:51
Modified: bootstrap-linux.xml
Log:
Properly expand the LDFLAGS in the document, as {x,y} expansion doesn't
work in strings (duh).
Revision Changes Path
1.11 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.10&r2=1.11
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- bootstrap-linux.xml 25 Oct 2007 20:29:26 -0000 1.10
+++ bootstrap-linux.xml 29 Oct 2007 08:40:51 -0000 1.11
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.10 2007/10/25 20:29:26 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.11 2007/10/29 08:40:51 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
@@ -107,7 +107,15 @@
for a successful bootstrap:
</p>
<pre caption="Setup ld directions">
-$ <i>export LDFLAGS="-L${EPREFIX}/usr/lib{64,} -Wl,-rpath=${EPREFIX}/usr/lib{64,} -L${EPREFIX}/lib{64,} -Wl,-rpath=${EPREFIX}/lib{64,}"</i>
+$ <i>export LDFLAGS="\
+ -L${EPREFIX}/usr/lib64 \
+ -Wl,-rpath=${EPREFIX}/usr/lib64 \
+ -L${EPREFIX}/usr/lib \
+ -Wl,-rpath=${EPREFIX}/usr/lib \
+ -L${EPREFIX}/lib64 \
+ -Wl,-rpath=${EPREFIX}/lib64 \
+ -L${EPREFIX}/lib \
+ -Wl,-rpath=${EPREFIX}/lib"</i>
$ <i>export CPPFLAGS="-I${EPREFIX}/usr/include"</i>
</pre>
<p>
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2007-12-01 14:07 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2007-12-01 14:07 UTC (permalink / raw
To: gentoo-commits
grobian 07/12/01 14:07:50
Modified: bootstrap-linux.xml
Log:
emerge wget with USE=-ssl as suggested in bug #199104
Revision Changes Path
1.13 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.12&r2=1.13
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- bootstrap-linux.xml 29 Oct 2007 09:58:01 -0000 1.12
+++ bootstrap-linux.xml 1 Dec 2007 14:07:50 -0000 1.13
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.12 2007/10/29 09:58:01 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.13 2007/12/01 14:07:50 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
@@ -19,8 +19,8 @@
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
- <version>1.1</version>
- <date>2007-10-29</date>
+ <version>1.2</version>
+ <date>2007-12-01</date>
<chapter>
<title>Bootstrapping on Linux</title>
@@ -164,7 +164,7 @@
properly by emerging it now:
</p>
<pre caption="emerge wget">
-$ <i>emerge --oneshot --nodeps wget</i>
+$ <i>env USE="-ssl" emerge --oneshot --nodeps wget</i>
</pre>
<p>
After this we can emerge texinfo, which <c>automake-1.9</c>
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2007-12-01 14:17 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2007-12-01 14:17 UTC (permalink / raw
To: gentoo-commits
grobian 07/12/01 14:17:17
Modified: bootstrap-linux.xml
Log:
Incorporate suggestions made in bug #197391, looks like it cleans up a lot
Revision Changes Path
1.14 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.13&r2=1.14
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- bootstrap-linux.xml 1 Dec 2007 14:07:50 -0000 1.13
+++ bootstrap-linux.xml 1 Dec 2007 14:17:16 -0000 1.14
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.13 2007/12/01 14:07:50 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.14 2007/12/01 14:17:16 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
@@ -19,7 +19,7 @@
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
- <version>1.2</version>
+ <version>1.3</version>
<date>2007-12-01</date>
<chapter>
@@ -151,36 +151,21 @@
We continue getting some autotools stuff into our prefix.
</p>
<pre caption="emerge autotools">
+$ <i>emerge --oneshot --nodeps "=autoconf-2.6*" "autoconf-wrapper"</i>
+$ <i>emerge --oneshot --nodeps texinfo</i>
$ <i>emerge --oneshot --nodeps "m4"</i>
-$ <i>emerge --oneshot --nodeps "=autoconf-2.1*" "=autoconf-2.6*" "autoconf-wrapper"</i>
-$ <i>emerge --oneshot --nodeps "=automake-1.4*" "=automake-1.5*" "=automake-1.6*" "=automake-1.7*" "=automake-1.8*" "automake-wrapper"</i>
+$ <i>emerge --oneshot --nodeps "=autoconf-2.1*"</i>
+$ <i>emerge --oneshot --nodeps "=automake-1.4*" "=automake-1.5*" "=automake-1.6*" "=automake-1.7*" "=automake-1.8*" "=automake-1.9*" "=automake-1.10*" "automake-wrapper"</i>
+$ <i>emerge --oneshot --nodeps libtool</i>
</pre>
- <note><c>>=automake-1.9</c> and <c>libtool</c> are not (yet)
- installed at this stage.</note>
<p>
- Next, we have to get some tools in order to finalise getting
- the autotools in our prefix. Because we installed <c>wget</c>
- in a temporary location, let's not forget to install it
- properly by emerging it now:
+ Because we installed <c>wget</c> in a temporary location,
+ let's not forget to install it properly by emerging it now:
</p>
<pre caption="emerge wget">
$ <i>env USE="-ssl" emerge --oneshot --nodeps wget</i>
</pre>
<p>
- After this we can emerge texinfo, which <c>automake-1.9</c>
- needs.
- </p>
- <pre caption="emerge texinfo">
-$ <i>emerge --oneshot --nodeps texinfo</i>
- </pre>
- <p>
- Now we can finish installing the autotools:
- </p>
- <pre caption="finalise emerge autotools">
-$ <i>emerge --oneshot --nodeps "=automake-1.9*" "=automake-1.10*"</i>
-$ <i>emerge --oneshot --nodeps libtool</i>
- </pre>
- <p>
Now we have some decent autotooling stuff around, we can get
some decent core utilities in our prefix.
</p>
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2007-12-01 14:24 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2007-12-01 14:24 UTC (permalink / raw
To: gentoo-commits
grobian 07/12/01 14:24:49
Modified: bootstrap-linux.xml
Log:
note that we need a C++ compiler
Revision Changes Path
1.15 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.14&r2=1.15
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- bootstrap-linux.xml 1 Dec 2007 14:17:16 -0000 1.14
+++ bootstrap-linux.xml 1 Dec 2007 14:24:49 -0000 1.15
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.14 2007/12/01 14:17:16 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.15 2007/12/01 14:24:49 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
@@ -19,7 +19,7 @@
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
- <version>1.3</version>
+ <version>1.4</version>
<date>2007-12-01</date>
<chapter>
@@ -50,7 +50,8 @@
<p>
As prerequisite, you need a GCC compiler, the GNU binutils
linker and system headers, such that source code can be
- compiled into working executables.
+ compiled into working executables. Note that this document
+ assumes you have both gcc and g++ available on your system.
</p>
<p>
The first step is to choose a path to install into. We refer
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2007-12-14 11:56 Michael Haubenwallner (haubi)
0 siblings, 0 replies; 17+ messages in thread
From: Michael Haubenwallner (haubi) @ 2007-12-14 11:56 UTC (permalink / raw
To: gentoo-commits
haubi 07/12/14 11:56:32
Modified: bootstrap-linux.xml
Log:
added 'unset PYTHONPATH' to linux bootstrap guide
Revision Changes Path
1.16 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.15&r2=1.16
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- bootstrap-linux.xml 1 Dec 2007 14:24:49 -0000 1.15
+++ bootstrap-linux.xml 14 Dec 2007 11:56:32 -0000 1.16
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.15 2007/12/01 14:24:49 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.16 2007/12/14 11:56:32 haubi Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
@@ -68,6 +68,17 @@
instead.
</note>
<p>
+ As a safety measure, especially if your host system is Gentoo
+ Linux, you should unset PYTHONPATH, to avoid finding wrong portage
+ by accident.
+ </p>
+ <pre caption="Unset PYTHONPATH variable">
+$ <i>unset PYTHONPATH</i>
+ </pre>
+ <note>
+ tcsh users can use <c>unsetenv PYTHONPATH</c> instead.
+ </note>
+ <p>
Next, add the following paths in your soon to be prefix to
your <c>PATH</c> environment.
<path>$EPREFIX/bin</path>,
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2008-01-02 9:34 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2008-01-02 9:34 UTC (permalink / raw
To: gentoo-commits
grobian 08/01/02 09:34:21
Modified: bootstrap-linux.xml
Log:
Reemerge autoconf-2.6 after we've installed m4, such that it works properly, bug #203363
Revision Changes Path
1.17 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.17&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.17&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.16&r2=1.17
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- bootstrap-linux.xml 14 Dec 2007 11:56:32 -0000 1.16
+++ bootstrap-linux.xml 2 Jan 2008 09:34:20 -0000 1.17
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.16 2007/12/14 11:56:32 haubi Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.17 2008/01/02 09:34:20 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
@@ -166,7 +166,7 @@
$ <i>emerge --oneshot --nodeps "=autoconf-2.6*" "autoconf-wrapper"</i>
$ <i>emerge --oneshot --nodeps texinfo</i>
$ <i>emerge --oneshot --nodeps "m4"</i>
-$ <i>emerge --oneshot --nodeps "=autoconf-2.1*"</i>
+$ <i>emerge --oneshot --nodeps "=autoconf-2.1*" "=autoconf-2.6*"</i>
$ <i>emerge --oneshot --nodeps "=automake-1.4*" "=automake-1.5*" "=automake-1.6*" "=automake-1.7*" "=automake-1.8*" "=automake-1.9*" "=automake-1.10*" "automake-wrapper"</i>
$ <i>emerge --oneshot --nodeps libtool</i>
</pre>
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2008-01-02 9:35 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2008-01-02 9:35 UTC (permalink / raw
To: gentoo-commits
grobian 08/01/02 09:35:58
Modified: bootstrap-linux.xml
Log:
Forgot to bump revision and date
Revision Changes Path
1.18 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.17&r2=1.18
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- bootstrap-linux.xml 2 Jan 2008 09:34:20 -0000 1.17
+++ bootstrap-linux.xml 2 Jan 2008 09:35:57 -0000 1.18
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.17 2008/01/02 09:34:20 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.18 2008/01/02 09:35:57 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
@@ -19,8 +19,8 @@
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
- <version>1.4</version>
- <date>2007-12-01</date>
+ <version>1.5</version>
+ <date>2008-01-02</date>
<chapter>
<title>Bootstrapping on Linux</title>
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2008-01-09 18:33 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2008-01-09 18:33 UTC (permalink / raw
To: gentoo-commits
grobian 08/01/09 18:33:14
Modified: bootstrap-linux.xml
Log:
Adjust to latest bootstrap image
Revision Changes Path
1.19 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.19&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.19&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.18&r2=1.19
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- bootstrap-linux.xml 2 Jan 2008 09:35:57 -0000 1.18
+++ bootstrap-linux.xml 9 Jan 2008 18:33:14 -0000 1.19
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.18 2008/01/02 09:35:57 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.19 2008/01/09 18:33:14 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
@@ -19,8 +19,8 @@
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
- <version>1.5</version>
- <date>2008-01-02</date>
+ <version>1.6</version>
+ <date>2008-01-09</date>
<chapter>
<title>Bootstrapping on Linux</title>
@@ -119,15 +119,7 @@
for a successful bootstrap:
</p>
<pre caption="Setup ld directions">
-$ <i>export LDFLAGS="\
- -L${EPREFIX}/usr/lib64 \
- -Wl,-rpath=${EPREFIX}/usr/lib64 \
- -L${EPREFIX}/usr/lib \
- -Wl,-rpath=${EPREFIX}/usr/lib \
- -L${EPREFIX}/lib64 \
- -Wl,-rpath=${EPREFIX}/lib64 \
- -L${EPREFIX}/lib \
- -Wl,-rpath=${EPREFIX}/lib"</i>
+$ <i>export LDFLAGS="-L${EPREFIX}/usr/lib -Wl,-rpath=${EPREFIX}/usr/lib -L${EPREFIX}/lib -Wl,-rpath=${EPREFIX}/lib"</i>
$ <i>export CPPFLAGS="-I${EPREFIX}/usr/include"</i>
</pre>
<p>
@@ -164,7 +156,7 @@
</p>
<pre caption="emerge autotools">
$ <i>emerge --oneshot --nodeps "=autoconf-2.6*" "autoconf-wrapper"</i>
-$ <i>emerge --oneshot --nodeps texinfo</i>
+$ <i>emerge --oneshot --nodeps help2man texinfo</i>
$ <i>emerge --oneshot --nodeps "m4"</i>
$ <i>emerge --oneshot --nodeps "=autoconf-2.1*" "=autoconf-2.6*"</i>
$ <i>emerge --oneshot --nodeps "=automake-1.4*" "=automake-1.5*" "=automake-1.6*" "=automake-1.7*" "=automake-1.8*" "=automake-1.9*" "=automake-1.10*" "automake-wrapper"</i>
@@ -193,6 +185,7 @@
$ <i>emerge --oneshot --nodeps python</i>
$ <i>emerge --oneshot --nodeps findutils</i>
$ <i>emerge --oneshot --nodeps tar</i>
+$ <i>emerge --oneshot gawk</i>
</pre>
<note>If you feel above tools are up-to-date enough on your
system, you may try skipping their installation here.</note>
@@ -208,13 +201,6 @@
$ <i>env FEATURES="-collision-protect" emerge --oneshot --nodeps portage</i>
</pre>
<p>
- Next, we get GNU <c>awk</c>, as most ebuilds expect this
- <c>awk</c> when they use it.
- </p>
- <pre caption="emerge gawk">
-$ <i>emerge --oneshot gawk</i>
- </pre>
- <p>
Some, if not many, scripts and tools within a Gentoo system
assume the availability of the <c>baselayout</c> package. We
make sure here we have it, for this reason. In fact, it would
@@ -247,13 +233,6 @@
failures due to dependencies.
</p>
<p>
- Since we have some basic stuff now, we might want the benefit
- of an updated tree. To use it, emerge <c>subversion</c>:
- </p>
- <pre caption="emerge subversion">
-$ <i>emerge subversion</i>
- </pre>
- <p>
We can now update the tree. Since snapshots now are actually
(anonymous) SVN checkouts of the tree, we can immediately use
SVN commands on the tree instead of checking a tree out first.
@@ -267,7 +246,7 @@
</pre>
<p>
To really do this properly, after emerging <c>system</c>, one
- should re-emerge <c>world</c>, because now all packages can
+ should re-emerge <c>system</c>, because now all packages can
be compiled with all tools from the prefix, instead of based
on tools in the system root. Before you do though, this is
the good time to set your general <c>USE</c>-flags, such as
@@ -285,20 +264,18 @@
<p>
Since we're about to rebuild our system for the last time, we
can unset all hacks we made to help the bootstrap process.
- This time we emerge <c>world</c> to include the packages
- necessary for <c>subversion</c>.
</p>
<pre caption="Unsetting LDFLAGS and CPPFLAGS variables">
$ <i>unset LDFLAGS</i>
$ <i>unset CPPFLAGS</i>
-$ <i>emerge -e system world</i>
+$ <i>emerge -e system</i>
</pre>
<note>
tcsh users can use <c>unsetenv LDFLAGS</c> and alike for
<c>CPPFLAGS</c>.
</note>
<p>
- After <c>world</c> has emerged successfully, your prefix will
+ After <c>system</c> has emerged successfully, your prefix will
be set up properly, and you can emerge the whichever tools you
choose from the prefix tree.
</p>
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2008-02-21 17:17 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2008-02-21 17:17 UTC (permalink / raw
To: gentoo-commits
grobian 08/02/21 17:17:53
Modified: bootstrap-linux.xml
Log:
Add a note that bootstrapping on Linux is most certainly broken.
Revision Changes Path
1.20 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.20&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.20&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.19&r2=1.20
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- bootstrap-linux.xml 9 Jan 2008 18:33:14 -0000 1.19
+++ bootstrap-linux.xml 21 Feb 2008 17:17:53 -0000 1.20
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.19 2008/01/09 18:33:14 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.20 2008/02/21 17:17:53 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
@@ -47,6 +47,16 @@
<section><!-- {{{ Bootstrapping -->
<title>Bootstrapping</title>
<body>
+ <note>
+ As there are many Linux distributions, this guide will almost
+ certainly not be correct for you. Use it as a guideline only,
+ and feel free to be creative with the order of packages when
+ problems arise. Also look at the directions in the Mac OS X
+ and Solaris bootstrap guides when you have trouble, as they
+ might help you to get past problems. Unfortunately there is
+ no single bootstrap document that can describe the wide
+ variety of Linux distributions available.
+ </note>
<p>
As prerequisite, you need a GCC compiler, the GNU binutils
linker and system headers, such that source code can be
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2008-04-12 8:58 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2008-04-12 8:58 UTC (permalink / raw
To: gentoo-commits
grobian 08/04/12 08:58:25
Modified: bootstrap-linux.xml
Log:
According to Rabbe Fogelholm, just emerging gnuconfig and lzma-utils before coreutils makes bootstrapping work. Bug #215304
Revision Changes Path
1.22 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.22&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.22&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.21&r2=1.22
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- bootstrap-linux.xml 18 Mar 2008 21:52:27 -0000 1.21
+++ bootstrap-linux.xml 12 Apr 2008 08:58:25 -0000 1.22
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.21 2008/03/18 21:52:27 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.22 2008/04/12 08:58:25 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefix Bootstrap Process for Linux</title>
@@ -19,8 +19,8 @@
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
- <version>1.6</version>
- <date>2008-01-09</date>
+ <version>1.7</version>
+ <date>2008-04-12</date>
<chapter>
<title>Bootstrapping on Linux</title>
@@ -184,6 +184,8 @@
some decent core utilities in our prefix.
</p>
<pre caption="emerge coreutils">
+$ <i>emerge --oneshot gnuconfig</i>
+$ <i>emerge --oneshot lzma-utils</i>
$ <i>emerge --oneshot --nodeps sys-apps/coreutils</i>
</pre>
<p>
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2008-04-25 10:53 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2008-04-25 10:53 UTC (permalink / raw
To: gentoo-commits
grobian 08/04/25 10:53:13
Modified: bootstrap-linux.xml
Log:
emerge an m4 that doesn't depend on lzma (which depends on autotools) such that we don't get a nice dependency cycle
Revision Changes Path
1.23 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.23&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.23&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.22&r2=1.23
Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- bootstrap-linux.xml 12 Apr 2008 08:58:25 -0000 1.22
+++ bootstrap-linux.xml 25 Apr 2008 10:53:12 -0000 1.23
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.22 2008/04/12 08:58:25 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.23 2008/04/25 10:53:12 grobian Exp $ -->
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
<title>Gentoo Prefix Bootstrap Process for Linux</title>
@@ -19,8 +19,8 @@
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
- <version>1.7</version>
- <date>2008-04-12</date>
+ <version>1.8</version>
+ <date>2008-04-25</date>
<chapter>
<title>Bootstrapping on Linux</title>
@@ -184,6 +184,7 @@
some decent core utilities in our prefix.
</p>
<pre caption="emerge coreutils">
+$ <i>emerge --oneshot "<m4-1.4.11"</i>
$ <i>emerge --oneshot gnuconfig</i>
$ <i>emerge --oneshot lzma-utils</i>
$ <i>emerge --oneshot --nodeps sys-apps/coreutils</i>
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml
@ 2008-12-27 18:13 Fabian Groffen (grobian)
0 siblings, 0 replies; 17+ messages in thread
From: Fabian Groffen (grobian) @ 2008-12-27 18:13 UTC (permalink / raw
To: gentoo-commits
grobian 08/12/27 18:13:18
Removed: bootstrap-linux.xml
Log:
nuke linux bootstrap page, bug #246580
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2008-12-27 18:13 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-07 19:37 [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml Fabian Groffen (grobian)
-- strict thread matches above, loose matches on Subject: below --
2008-12-27 18:13 Fabian Groffen (grobian)
2008-04-25 10:53 Fabian Groffen (grobian)
2008-04-12 8:58 Fabian Groffen (grobian)
2008-02-21 17:17 Fabian Groffen (grobian)
2008-01-09 18:33 Fabian Groffen (grobian)
2008-01-02 9:35 Fabian Groffen (grobian)
2008-01-02 9:34 Fabian Groffen (grobian)
2007-12-14 11:56 Michael Haubenwallner (haubi)
2007-12-01 14:24 Fabian Groffen (grobian)
2007-12-01 14:17 Fabian Groffen (grobian)
2007-12-01 14:07 Fabian Groffen (grobian)
2007-10-29 8:40 Fabian Groffen (grobian)
2007-09-19 18:07 Fabian Groffen (grobian)
2007-09-07 17:56 Fabian Groffen (grobian)
2007-09-07 17:50 Fabian Groffen (grobian)
2007-09-07 16:05 Fabian Groffen (grobian)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox