r6702 - in branches/cross-lfs/BOOK: . introduction/common temp-tools temp-tools/64

jim at linuxfromscratch.org jim at linuxfromscratch.org
Thu Aug 18 08:41:00 PDT 2005


Author: jim
Date: 2005-08-18 09:40:59 -0600 (Thu, 18 Aug 2005)
New Revision: 6702

Added:
   branches/cross-lfs/BOOK/temp-tools/64/expect-64bit.xml
Modified:
   branches/cross-lfs/BOOK/
   branches/cross-lfs/BOOK/introduction/common/changelog.xml
   branches/cross-lfs/BOOK/temp-tools/64/perl-64bit.xml
   branches/cross-lfs/BOOK/temp-tools/mips64-64-chapter.xml
   branches/cross-lfs/BOOK/temp-tools/sparc64-64-chapter.xml
   branches/cross-lfs/BOOK/temp-tools/x86_64-64-chapter.xml
Log:
 r7168 at server:  jim | 2005-08-18 08:05:29 -0700
 Updates to temp-tools for Pure 64 builds. Thanx to
 Doug Ronne



Property changes on: branches/cross-lfs/BOOK
___________________________________________________________________
Name: svk:merge
   - 7321b066-45f8-0310-a5e2-f63eff31be55:/cross-lfs:7167
dfc39d96-41f8-0310-9e44-b84af8e7c7f6:/books/local:5516
   + 7321b066-45f8-0310-a5e2-f63eff31be55:/cross-lfs:7168
dfc39d96-41f8-0310-9e44-b84af8e7c7f6:/books/local:5516

Modified: branches/cross-lfs/BOOK/introduction/common/changelog.xml
===================================================================
--- branches/cross-lfs/BOOK/introduction/common/changelog.xml	2005-08-18 15:40:47 UTC (rev 6701)
+++ branches/cross-lfs/BOOK/introduction/common/changelog.xml	2005-08-18 15:40:59 UTC (rev 6702)
@@ -205,6 +205,15 @@
 -->
 
     <listitem>
+      <para>August 18, 2005</para>
+      <itemizedlist>
+        <listitem>
+          <para>[jim] - Updates to temp-tools section for Pure 64 builds. Thanx to Doug Ronne.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>August 16, 2005</para>
       <itemizedlist>
         <listitem>

Added: branches/cross-lfs/BOOK/temp-tools/64/expect-64bit.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-tools/64/expect-64bit.xml	2005-08-18 15:40:47 UTC (rev 6701)
+++ branches/cross-lfs/BOOK/temp-tools/64/expect-64bit.xml	2005-08-18 15:40:59 UTC (rev 6702)
@@ -0,0 +1,172 @@
+<?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">
+  <!ENTITY % patches-entities SYSTEM "../../patches.ent">
+  %general-entities;
+  %patches-entities;
+]>
+
+<sect1 id="ch-temp-tools-expect" role="wrap">
+  <?dbhtml filename="expect-64bit.html"?>
+
+  <title>Expect-&expect-version; 64 Bit</title>
+
+  <indexterm zone="ch-temp-tools-expect">
+    <primary sortas="a-Expect">Expect 64 Bit</primary>
+  </indexterm>
+
+  <sect2 id="package-expect" role="package">
+    <title/>
+
+    <para>The Expect package contains a program for carrying out scripted
+    dialogues with other interactive programs.</para>
+
+    <segmentedlist>
+      <segtitle>&buildtime;</segtitle>
+      <segtitle>&diskspace;</segtitle>
+
+      <seglistitem>
+        <seg>Not checked yet</seg>
+        <seg>Not checked yet</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <segmentedlist>
+      <segtitle>&dependencies;</segtitle>
+
+      <seglistitem>
+        <seg>Bash, Binutils, Coreutils, Diffutils,
+        GCC, Glibc, Grep, Make, Sed, and Tcl</seg>
+      </seglistitem>
+    </segmentedlist>
+
+  </sect2>
+
+  <sect2 id="install-expect" role="installation">
+    <title>Installation of Expect</title>
+
+    <para>First, fix a bug that can result in false failures during the GCC
+    test suite run:</para>
+
+<screen><userinput>patch -Np1 -i ../&expect-spawn-patch;</userinput></screen>
+
+    <para>Now prepare Expect for compilation:</para>
+
+<screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \
+   --with-tclinclude=$TCLPATH --with-x=no</userinput></screen>
+
+    <variablelist>
+      <title>The meaning of the configure options:</title>
+
+      <varlistentry>
+        <term><parameter>--with-tcl=/tools/lib</parameter></term>
+        <listitem>
+          <para>This ensures that the configure script finds the Tcl
+          installation in the temporary temp-tools location.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><parameter>--with-tclinclude=$TCLPATH</parameter></term>
+        <listitem>
+          <para>This explicitly tells Expect where to find Tcl's source
+          directory and internal headers. Using this option avoids conditions
+          where <command>configure</command> fails because it cannot
+          automatically discover the location of the Tcl source directory.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><parameter>--with-x=no</parameter></term>
+        <listitem>
+          <para>This tells the configure script not to search for Tk
+          (the Tcl GUI component) or the X Window System libraries, both of
+          which may reside on the host system but will not exist when
+          building the final system.</para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+    <para>Build the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+    <para>To test the results, issue: <userinput>make test</userinput>.
+    Note that the Expect test suite is known to experience failures under
+    certain host conditions that are not within our control. Therefore,
+    test suite failures here are not surprising and are not considered
+    critical.</para>
+
+    <para>Install the package:</para>
+
+<screen><userinput>make SCRIPTS="" install</userinput></screen>
+
+    <variablelist>
+      <title>The meaning of the make parameter:</title>
+
+      <varlistentry>
+        <term><parameter>SCRIPTS=""</parameter></term>
+        <listitem>
+          <para>This prevents installation of the supplementary expect
+          scripts, which are not needed.</para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+    <para>Now remove the <envar>TCLPATH</envar> variable:</para>
+
+<screen><userinput>unset TCLPATH</userinput></screen>
+
+    <para>The source directories of both Tcl and Expect can now
+    be removed.</para>
+
+  </sect2>
+
+  <sect2 id="contents-expect" role="content">
+    <title>Contents of Expect</title>
+
+    <segmentedlist>
+      <segtitle>Installed program</segtitle>
+      <segtitle>Installed library</segtitle>
+
+      <seglistitem>
+        <seg>expect</seg>
+        <seg>libexpect-&expect-lib-version;.a</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="expect">
+        <term><command>expect</command></term>
+        <listitem>
+          <para>Communicates with other interactive programs according
+          to a script</para>
+          <indexterm zone="ch-temp-tools-expect expect">
+            <primary sortas="b-expect">expect</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libexpect">
+        <term><filename class="libraryfile">libexpect-&expect-lib-version;.a</filename></term>
+        <listitem>
+          <para>Contains functions that allow Expect to be used as a Tcl
+          extension or to be used directly from C or C++ (without Tcl)</para>
+          <indexterm zone="ch-temp-tools-expect libexpect">
+            <primary sortas="c-libexpect-&expect-lib-version;">libexpect-&expect-lib-version;</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: branches/cross-lfs/BOOK/temp-tools/64/perl-64bit.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-tools/64/perl-64bit.xml	2005-08-18 15:40:47 UTC (rev 6701)
+++ branches/cross-lfs/BOOK/temp-tools/64/perl-64bit.xml	2005-08-18 15:40:59 UTC (rev 6702)
@@ -51,11 +51,6 @@
     href="../common/perl.xml"
     xpointer="xpointer(//*[@role='installation']/screen[1])"/>
 
-    <para>Make sure Perl looks at <filename
-    class="directory">/tools/lib64</filename> for shared libraries:</para>
-
-<screen><userinput>sed -i 's@\${prefix}/lib@\${prefix}/lib64 at g' hints/linux.sh</userinput></screen>
-
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/perl.xml"
     xpointer="xpointer(//*[@role='installation']/para[2])"/>

Modified: branches/cross-lfs/BOOK/temp-tools/mips64-64-chapter.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-tools/mips64-64-chapter.xml	2005-08-18 15:40:47 UTC (rev 6701)
+++ branches/cross-lfs/BOOK/temp-tools/mips64-64-chapter.xml	2005-08-18 15:40:59 UTC (rev 6702)
@@ -14,7 +14,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/flags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/tcl-64bit.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/expect-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/expect-64bit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/dejagnu.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/perl-64bit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/texinfo.xml"/>

Modified: branches/cross-lfs/BOOK/temp-tools/sparc64-64-chapter.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-tools/sparc64-64-chapter.xml	2005-08-18 15:40:47 UTC (rev 6701)
+++ branches/cross-lfs/BOOK/temp-tools/sparc64-64-chapter.xml	2005-08-18 15:40:59 UTC (rev 6702)
@@ -14,7 +14,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc64/flags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/tcl-64bit.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/expect-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/expect-64bit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/dejagnu.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/perl-64bit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/texinfo.xml"/>

Modified: branches/cross-lfs/BOOK/temp-tools/x86_64-64-chapter.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-tools/x86_64-64-chapter.xml	2005-08-18 15:40:47 UTC (rev 6701)
+++ branches/cross-lfs/BOOK/temp-tools/x86_64-64-chapter.xml	2005-08-18 15:40:59 UTC (rev 6702)
@@ -14,7 +14,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86_64/flags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/tcl-64bit.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/expect-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/expect-64bit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/dejagnu.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/perl-64bit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/texinfo.xml"/>




More information about the lfs-book mailing list