Author: jhuntwork Date: 2005-04-30 10:00:26 -0600 (Sat, 30 Apr 2005) New Revision: 5150
Added: branches/cross-lfs/BOOK/temp-tools/perl.xml Removed: branches/cross-lfs/BOOK/temp-system/perl.xml Modified: branches/cross-lfs/BOOK/chroot/util-linux.xml branches/cross-lfs/BOOK/general.ent branches/cross-lfs/BOOK/introduction/changelog.xml branches/cross-lfs/BOOK/temp-system/chapter.xml branches/cross-lfs/BOOK/temp-system/ncurses.xml branches/cross-lfs/BOOK/temp-tools/chapter.xml Log: Removed Texinfo in Chapter 6 Moved Chapter 6 perl to Chapter 9 Fixed Chapter 6 ncurses build flag Modified: branches/cross-lfs/BOOK/chroot/util-linux.xml =================================================================== --- branches/cross-lfs/BOOK/chroot/util-linux.xml 2005-04-30 06:13:07 UTC (rev 5149) +++ branches/cross-lfs/BOOK/chroot/util-linux.xml 2005-04-30 16:00:26 UTC (rev 5150) @@ -35,23 +35,22 @@ <para>Prepare Util-linux for compilation:</para> -<screen><userinput>./configure</userinput></screen> +<screen><userinput>./configure --host=${LFS_TARGET}</userinput></screen> <para>Compile some support routines:</para> -<screen><userinput>make ARCH="" CPU="" -C lib</userinput></screen> +<screen><userinput>make -C lib</userinput></screen> <para>Since only a couple of the utilities contained in this package are needed, build only those:</para> -<screen><userinput>make ARCH="" CPU="" -C mount mount umount -make ARCH="" CPU="" -C text-utils more</userinput></screen> +<screen><userinput>make -C mount mount umount</userinput></screen> <para>This package does not come with a test suite.</para> <para>Copy these programs to the temporary tools directory:</para> -<screen><userinput>cp mount/{,u}mount text-utils/more /tools/bin</userinput></screen> +<screen><userinput>cp mount/{,u}mount /tools/bin</userinput></screen> </sect2> Modified: branches/cross-lfs/BOOK/general.ent =================================================================== --- branches/cross-lfs/BOOK/general.ent 2005-04-30 06:13:07 UTC (rev 5149) +++ branches/cross-lfs/BOOK/general.ent 2005-04-30 16:00:26 UTC (rev 5150) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!ENTITY version "7.0-cross-lfs-20050429"> +<!ENTITY version "7.0-cross-lfs-20050430"> <!ENTITY version-x86 "&version;-x86"> <!ENTITY version-alpha "&version;-alpha"> <!ENTITY version-ppc "&version;-PowerPC"> Modified: branches/cross-lfs/BOOK/introduction/changelog.xml =================================================================== --- branches/cross-lfs/BOOK/introduction/changelog.xml 2005-04-30 06:13:07 UTC (rev 5149) +++ branches/cross-lfs/BOOK/introduction/changelog.xml 2005-04-30 16:00:26 UTC (rev 5150) @@ -106,6 +106,17 @@ </itemizedlist> <itemizedlist> +<listitem><para>April 30, 2005 [jhuntwork]</para> +<itemizedlist> +<listitem><para>Removed building of texinfo in chapter 6 (matching the scripts).</para></listitem> +<listitem><para>Moved building of perl in chapter 6 to chapter 9 (Puts it in same place as other tools needed for +testing, and means that it won't be cross-compiled).</para></listitem> +<listitem><para>Changed chapter 6 ncurses build flags back to --with-build-cc=gcc to match the target scripts.</para></listitem> +</itemizedlist> +</listitem> +</itemizedlist> + +<itemizedlist> <listitem><para>April 29, 2005 [jhuntwork]</para> <itemizedlist> <listitem><para>Swapped --host and --build for glibc in cross-tools, minor changes to gcc.</para></listitem> Modified: branches/cross-lfs/BOOK/temp-system/chapter.xml =================================================================== --- branches/cross-lfs/BOOK/temp-system/chapter.xml 2005-04-30 06:13:07 UTC (rev 5149) +++ branches/cross-lfs/BOOK/temp-system/chapter.xml 2005-04-30 16:00:26 UTC (rev 5150) @@ -30,8 +30,6 @@ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="patch.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tar.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bash.xml"/> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="texinfo.xml"/> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="perl.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="choose.xml"/> </chapter> Modified: branches/cross-lfs/BOOK/temp-system/ncurses.xml =================================================================== --- branches/cross-lfs/BOOK/temp-system/ncurses.xml 2005-04-30 06:13:07 UTC (rev 5149) +++ branches/cross-lfs/BOOK/temp-system/ncurses.xml 2005-04-30 16:00:26 UTC (rev 5150) @@ -31,7 +31,7 @@ <screen><userinput>./configure --prefix=/tools --with-shared \ --host=${LFS_TARGET} --without-debug \ - --with-build-cc=${LFS_TARGET}-gcc</userinput></screen> + --with-build-cc=gcc</userinput></screen> <para>The meaning of the configure options:</para> Deleted: branches/cross-lfs/BOOK/temp-system/perl.xml =================================================================== --- branches/cross-lfs/BOOK/temp-system/perl.xml 2005-04-30 06:13:07 UTC (rev 5149) +++ branches/cross-lfs/BOOK/temp-system/perl.xml 2005-04-30 16:00:26 UTC (rev 5150) @@ -1,76 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ - <!ENTITY % general-entities SYSTEM "../general.ent"> - %general-entities; -]> -<sect1 id="ch-temp-system-perl" role="wrap"> -<title>Perl-&perl-version;</title> -<?dbhtml filename="perl.html"?> - -<indexterm zone="ch-temp-system-perl"> -<primary sortas="a-Perl">Perl</primary> -<secondary>temporary system</secondary></indexterm> - -<sect2 role="package"><title/> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../final-system/perl.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> - -<segmentedlist> -<segtitle>&buildtime;</segtitle> -<segtitle>&diskspace;</segtitle> -<seglistitem><seg>0.8 SBU</seg><seg>74 MB</seg></seglistitem> -</segmentedlist> - -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../final-system/perl.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> - -</sect2> - -<sect2 role="installation"> -<title>Installation of Perl</title> - -<para>First adapt some hard-wired paths to the C library by applying -the following patch:</para> - -<screen><userinput>patch -Np1 -i ../perl-&perl-version;-libc-1.patch</userinput></screen> - -<para>Prepare Perl for compilation (make sure to get the 'IO Fcntl POSIX' -part of the command correct—they are all letters):</para> - -<screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl POSIX'</userinput></screen> - -<para>The meaning of the configure option:</para> - -<variablelist> -<varlistentry> -<term><parameter>-Dstatic_ext='IO Fcntl POSIX'</parameter></term> -<listitem><para>This tells Perl to build the minimum set of static -extensions needed for installing and testing the Coreutils package in -the next chapter.</para></listitem> -</varlistentry> -</variablelist> - - -<para>Compile only the required tools:</para> - -<screen><userinput>make perl utilities</userinput></screen> - -<para>Although Perl comes with a test suite, it is not recommended to -run it at this point. Only part of Perl was built and running -<userinput>make test</userinput> now will cause the rest of Perl to be -built as well, which is unnecessary at this point. The test suite can -be run in the next chapter if desired.</para> - -<para>Copy these tools and their libraries:</para> - -<screen><userinput>cp perl pod/pod2man /tools/bin -install -d /tools/lib/perl5/&perl-version; -cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen> - -</sect2> - -<sect2 role="content"><title/> -<para>Details on this package are located in <xref -linkend="contents-perl" role="."/></para> -</sect2> - -</sect1> - Modified: branches/cross-lfs/BOOK/temp-tools/chapter.xml =================================================================== --- branches/cross-lfs/BOOK/temp-tools/chapter.xml 2005-04-30 06:13:07 UTC (rev 5149) +++ branches/cross-lfs/BOOK/temp-tools/chapter.xml 2005-04-30 16:00:26 UTC (rev 5150) @@ -12,5 +12,6 @@ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tcl.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="expect.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="dejagnu.xml"/> +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="perl.xml"/> </chapter> Added: branches/cross-lfs/BOOK/temp-tools/perl.xml =================================================================== --- branches/cross-lfs/BOOK/temp-tools/perl.xml 2005-04-30 06:13:07 UTC (rev 5149) +++ branches/cross-lfs/BOOK/temp-tools/perl.xml 2005-04-30 16:00:26 UTC (rev 5150) @@ -0,0 +1,76 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> +<sect1 id="ch-temp-tools-perl" role="wrap"> +<title>Perl-&perl-version;</title> +<?dbhtml filename="perl.html"?> + +<indexterm zone="ch-temp-tools-perl"> +<primary sortas="a-Perl">Perl</primary> +<secondary>temporary system</secondary></indexterm> + +<sect2 role="package"><title/> +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../final-system/perl.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> + +<segmentedlist> +<segtitle>&buildtime;</segtitle> +<segtitle>&diskspace;</segtitle> +<seglistitem><seg>0.8 SBU</seg><seg>74 MB</seg></seglistitem> +</segmentedlist> + +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../final-system/perl.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> + +</sect2> + +<sect2 role="installation"> +<title>Installation of Perl</title> + +<para>First adapt some hard-wired paths to the C library by applying +the following patch:</para> + +<screen><userinput>patch -Np1 -i ../perl-&perl-version;-libc-1.patch</userinput></screen> + +<para>Prepare Perl for compilation (make sure to get the 'IO Fcntl POSIX' +part of the command correct—they are all letters):</para> + +<screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl POSIX'</userinput></screen> + +<para>The meaning of the configure option:</para> + +<variablelist> +<varlistentry> +<term><parameter>-Dstatic_ext='IO Fcntl POSIX'</parameter></term> +<listitem><para>This tells Perl to build the minimum set of static +extensions needed for installing and testing the Coreutils package in +the next chapter.</para></listitem> +</varlistentry> +</variablelist> + + +<para>Compile only the required tools:</para> + +<screen><userinput>make perl utilities</userinput></screen> + +<para>Although Perl comes with a test suite, it is not recommended to +run it at this point. Only part of Perl was built and running +<userinput>make test</userinput> now will cause the rest of Perl to be +built as well, which is unnecessary at this point. The test suite can +be run in the next chapter if desired.</para> + +<para>Copy these tools and their libraries:</para> + +<screen><userinput>cp perl pod/pod2man /tools/bin +install -d /tools/lib/perl5/&perl-version; +cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen> + +</sect2> + +<sect2 role="content"><title/> +<para>Details on this package are located in <xref +linkend="contents-perl" role="."/></para> +</sect2> + +</sect1> + -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page