Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Fabian Groffen (grobian)" <grobian@g.o>
Subject: gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-macos.xml bootstrap-solaris.xml
Date: Sun, 04 May 2008 20:25:33 +0000
grobian     08/05/04 20:25:33

  Modified:             bootstrap-macos.xml bootstrap-solaris.xml
  Log:
  Update Solaris and Mac OS X bootstrap guides to work with the latest snapshot (macos verified)

Revision  Changes    Path
1.31                 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?rev=1.31&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?rev=1.31&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?r1=1.30&r2=1.31

Index: bootstrap-macos.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- bootstrap-macos.xml	25 Apr 2008 10:49:08 -0000	1.30
+++ bootstrap-macos.xml	4 May 2008 20:25:32 -0000	1.31
@@ -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-macos.xml,v 1.30 2008/04/25 10:49:08 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v 1.31 2008/05/04 20:25:32 grobian Exp $ -->
 
 <guide link="/proj/en/gentoo-alt/prefix/bootstrap-macos.xml" lang="en">
   <title>Gentoo Prefix Bootstrap Process for Mac OS X</title>
@@ -19,8 +19,8 @@
   <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
   <license/>
 
-  <version>1.9</version>
-  <date>2008-04-25</date>
+  <version>1.10</version>
+  <date>2008-05-04</date>
 
   <chapter>
     <title>Bootstrapping on OS X</title>
@@ -93,18 +93,21 @@
 $ <i>chmod 755 bootstrap-prefix.sh</i>
 $ <i>./bootstrap-prefix.sh $EPREFIX tree</i>
 $ <i>./bootstrap-prefix.sh $EPREFIX/tmp wget</i>
-$ <i>./bootstrap-prefix.sh $EPREFIX/tmp tar</i>
 $ <i>./bootstrap-prefix.sh $EPREFIX/tmp sed</i>
-$ <i>./bootstrap-prefix.sh $EPREFIX/tmp bash</i>
-$ <i>./bootstrap-prefix.sh $EPREFIX/tmp python</i> (10.5: see note!)
-$ <i>./bootstrap-prefix.sh $EPREFIX/tmp gawk</i>
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp python</i>
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp coreutils</i>
 $ <i>./bootstrap-prefix.sh $EPREFIX/tmp findutils</i>
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp tar15</i>
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp patch9</i>
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp grep</i>
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp gawk</i>
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp bash</i>
 $ <i>./bootstrap-prefix.sh $EPREFIX portage</i>
         </pre>
-        <note>Mac OS X Leopard (10.5) users should <b>NOT</b> bootstrap
-          python!  It fails to compile and is not necessary.</note>
-        <note>Please note that <c>wget</c>, <c>sed</c>, <c>python</c>,
-          etc. are installed in <path>$EPREFIX/tmp</path>!</note>
+        <note>
+          Please note that <c>wget</c>, <c>sed</c>, <c>python</c>, etc.
+          are installed in <path>$EPREFIX/tmp</path>!
+        </note>
         <p>
           The script will setup the <path>$EPREFIX</path>
           directory, download a portage tree snapshot, unpack it and
@@ -147,9 +150,38 @@
           we ignore those for the moment.
         </p>
         <pre caption="emerge bash and wget">
-$ <i>emerge --oneshot "&lt;bash-3.2_p33"</i>
 $ <i>emerge --oneshot --nodeps wget</i>
+$ <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>
+          Now, we will emerge a compiler and linker, setup to make use
+          of the Gentoo Prefix environment.  The packages to emerge
+          include the <c>baselayout</c> package.  Some, if not many,
+          scripts and tools within a Gentoo system assume the
+          availability of the <c>baselayout</c> package for all
+          communication using the Gentoo colour scheme.
+        </p>
+        <pre caption="emerge linker and compiler">
+$ <i>emerge --oneshot --nodeps baselayout-prefix</i>
+$ <i>emerge --oneshot --nodeps flex</i>
+$ <i>emerge --oneshot --nodeps binutils-config</i>
+$ <i>emerge --oneshot --nodeps odcctools</i>
+$ <i>emerge --oneshot --nodeps gcc-config</i>
+$ <i>emerge --oneshot --nodeps gcc-apple</i>
+        </pre>
+        <p>
+          Since the tools for building are now installed in your Prefix,
+          the little helpers we used before are no longer necessary.
+          They may even cause trouble, so we unset them.
+        </p>
+        <pre caption="unset no longer needed environment variables">
+$ <i>unset LDFLAGS CPPFLAGS CHOST CC CXX HOSTCC</i>
+        </pre>
+        <note>tcsh users can use <c>unsetenv LDFLAGS</c>, etc.</note>
         <p>
           We continue getting more tools in our Prefix.  We no longer
           ignore dependencies, so a lot of packages will be emerged at
@@ -157,12 +189,13 @@
           here.
         </p>
         <pre caption="emerge several tools">
-$ <i>emerge --oneshot "&lt;m4-1.4.11"</i>
 $ <i>emerge --oneshot coreutils</i>
 $ <i>emerge --oneshot findutils</i>
 $ <i>emerge --oneshot tar</i>
 $ <i>emerge --oneshot grep</i>
 $ <i>emerge --oneshot gawk</i>
+$ <i>emerge --oneshot patch</i>
+$ <i>emerge --oneshot make</i>
         </pre>
         <p>
           Now we have a good bunch of programs that Portage needs, we
@@ -176,15 +209,6 @@
 $ <i>env FEATURES="-collision-protect" emerge --oneshot portage</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 baselayout-prefix</i>
-        </pre>
-        <p>
           Now we have emerged everything we bootstrapped before, we
           remove the temporary directory and its use as it is no longer
           necessary.
@@ -250,21 +274,14 @@
         </note>
         <p>
           Since we have everything in place for a self-catered rebuild,
-          we can unset all hacks we made to help the bootstrap process,
-          and start the final stage to install the Prefix system.  This
-          final stage recompiles everything in the system, but now all
-          packages can be compiled with tools from the Prefix, instead
-          of those from the host system.
-        </p>
-        <pre caption="Unsetting LDFLAGS and CPPFLAGS variables">
-$ <i>unset LDFLAGS</i>
-$ <i>unset CPPFLAGS</i>
+          we can start the final stage to install the Prefix system.
+          This final stage recompiles everything in the system, but now
+          all packages can be compiled with tools from the Prefix,
+          instead of those from the host system.
+        </p>
+        <pre caption="doing the final system installation">
 $ <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>system</c> has emerged successfully, your Prefix will
           be set up properly, and you can emerge the whichever tools you



1.26                 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?rev=1.26&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?rev=1.26&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?r1=1.25&r2=1.26

Index: bootstrap-solaris.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- bootstrap-solaris.xml	19 Apr 2008 20:14:55 -0000	1.25
+++ bootstrap-solaris.xml	4 May 2008 20:25:32 -0000	1.26
@@ -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-solaris.xml,v 1.25 2008/04/19 20:14:55 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml,v 1.26 2008/05/04 20:25:32 grobian Exp $ -->
 
 <guide link="/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml" lang="en">
   <title>Gentoo Prefix Bootstrap Process for Solaris</title>
@@ -19,8 +19,8 @@
   <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
   <license/>
 
-  <version>1.7</version>
-  <date>2008-04-19</date>
+  <version>1.8</version>
+  <date>2008-05-04</date>
 
   <chapter>
     <title>Bootstrapping on Solaris 10</title>
@@ -124,8 +124,8 @@
 $ <i>./bootstrap-prefix.sh $EPREFIX portage</i>
         </pre>
         <note>
-          Please note that <c>wget</c>, <c>sed</c>, etc. are installed
-          in <path>$EPREFIX/tmp</path>!
+          Please note that <c>wget</c>, <c>sed</c>, <c>python</c>, etc.
+          are installed in <path>$EPREFIX/tmp</path>!
         </note>
         <p>
           The script will setup the <path>$EPREFIX</path>
@@ -168,8 +168,8 @@
           we ignore those for the moment.
         </p>
         <pre caption="emerge bash and wget">
-$ <i>emerge --oneshot "&lt;bash-3.2_p33"</i>
 $ <i>emerge --oneshot --nodeps wget</i>
+$ <i>emerge --oneshot bash</i>
         </pre>
         <note>
           It is safe to ignore the "1 config files in XXX need updating"
@@ -187,7 +187,6 @@
           Gentoo colour scheme.
         </p>
         <pre caption="emerge linker and compiler">
-$ <i>emerge --oneshot "&lt;m4-1.4.11"</i>
 $ <i>emerge --oneshot --nodeps baselayout-prefix</i>
 $ <i>emerge --oneshot --nodeps flex</i>
 $ <i>emerge --oneshot --nodeps binutils-config</i>  (64-bits: see note!)



-- 
gentoo-commits@g.o mailing list


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-macos.xml bootstrap-solaris.xml
Next by thread:
gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-macos.xml bootstrap-solaris.xml
Previous by date:
portage r10185 - in main/branches/2.1.2: bin pym
Next by date:
gentoo-x86 commit in games-puzzle/gnudoku: gnudoku-0.93.ebuild ChangeLog


Updated Dec 16, 2011

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.