r5395 - in branches/cross-lfs/BOOK: introduction/sparc64 temp-tools temp-tools/multilib

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sun May 22 17:27:35 PDT 2005


Author: jhuntwork
Date: 2005-05-22 18:27:34 -0600 (Sun, 22 May 2005)
New Revision: 5395

Added:
   branches/cross-lfs/BOOK/temp-tools/multilib/expect-64bit.xml
   branches/cross-lfs/BOOK/temp-tools/multilib/expect.xml
Modified:
   branches/cross-lfs/BOOK/introduction/sparc64/changelog.xml
   branches/cross-lfs/BOOK/temp-tools/multilib/tcl.xml
   branches/cross-lfs/BOOK/temp-tools/sparc64-chapter.xml
Log:
Added 64-bit Expect install - adjusted instructions for tcl

Modified: branches/cross-lfs/BOOK/introduction/sparc64/changelog.xml
===================================================================
--- branches/cross-lfs/BOOK/introduction/sparc64/changelog.xml	2005-05-22 23:30:38 UTC (rev 5394)
+++ branches/cross-lfs/BOOK/introduction/sparc64/changelog.xml	2005-05-23 00:27:34 UTC (rev 5395)
@@ -50,6 +50,7 @@
 <itemizedlist>
 <listitem><para>May 22, 2005 [jhuntwork]</para>
 <itemizedlist>
+<listitem><para>Added 64-bit Expect install.</para></listitem>
 <listitem><para>Changed the way we enter chroot and added a 64-bit tcl install.</para></listitem>
 <listitem><para>Changed binutils install in temp-system to copy libiberty.h to /tools/include.</para></listitem>
 </itemizedlist>

Copied: branches/cross-lfs/BOOK/temp-tools/multilib/expect-64bit.xml (from rev 5393, branches/cross-lfs/BOOK/temp-tools/common/expect.xml)
===================================================================
--- branches/cross-lfs/BOOK/temp-tools/common/expect.xml	2005-05-22 22:02:29 UTC (rev 5393)
+++ branches/cross-lfs/BOOK/temp-tools/multilib/expect-64bit.xml	2005-05-23 00:27:34 UTC (rev 5395)
@@ -0,0 +1,127 @@
+<?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-64" role="wrap">
+<title>Expect-&expect-version; 64-Bit</title>
+<?dbhtml filename="expect64.html"?>
+
+<indexterm zone="ch-temp-tools-expect-64"><primary sortas="a-Expect-64">Expect 64-Bit</primary></indexterm>
+
+<sect2 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>0.1 SBU</seg><seg>3.9 MB</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 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>CC="gcc ${BUILD64}" ./configure --prefix=/tools \
+   --with-tcl=/tools/lib64 --libdir=/tools/lib64 --with-x=no</userinput></screen>
+
+<para>The meaning of the configure options:</para>
+
+<variablelist>
+<varlistentry>
+<term><parameter>--with-tcl=/tools/lib64</parameter></term>
+<listitem><para>This ensures that the configure script finds the Tcl installation in
+the temporary temp-tools location instead of possibly locating an existing
+one on the host system.</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.</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>
+
+<para>The meaning of the make parameter:</para>
+
+<variablelist>
+<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>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-5.42.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-5.42.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-5.42">libexpect-5.42</primary></indexterm>
+</listitem>
+</varlistentry>
+</variablelist>
+
+</sect2>
+
+</sect1>
+

Copied: branches/cross-lfs/BOOK/temp-tools/multilib/expect.xml (from rev 5393, branches/cross-lfs/BOOK/temp-tools/common/expect.xml)
===================================================================
--- branches/cross-lfs/BOOK/temp-tools/common/expect.xml	2005-05-22 22:02:29 UTC (rev 5393)
+++ branches/cross-lfs/BOOK/temp-tools/multilib/expect.xml	2005-05-23 00:27:34 UTC (rev 5395)
@@ -0,0 +1,125 @@
+<?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">
+<title>Expect-&expect-version;</title>
+<?dbhtml filename="expect.html"?>
+
+<indexterm zone="ch-temp-tools-expect"><primary sortas="a-Expect">Expect</primary></indexterm>
+
+<sect2 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>0.1 SBU</seg><seg>3.9 MB</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 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>CC="gcc ${BUILD32}" ./configure --prefix=/tools \
+   --with-tcl=/tools/lib --with-x=no</userinput></screen>
+
+<para>The meaning of the configure options:</para>
+
+<variablelist>
+<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 instead of possibly locating an existing
+one on the host system.</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.</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>
+
+<para>The meaning of the make parameter:</para>
+
+<variablelist>
+<varlistentry>
+<term><parameter>SCRIPTS=""</parameter></term>
+<listitem><para>This prevents installation of the supplementary expect
+scripts, which are not needed.</para></listitem>
+</varlistentry>
+</variablelist>
+
+</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-5.42.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-5.42.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-5.42">libexpect-5.42</primary></indexterm>
+</listitem>
+</varlistentry>
+</variablelist>
+
+</sect2>
+
+</sect1>
+

Modified: branches/cross-lfs/BOOK/temp-tools/multilib/tcl.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-tools/multilib/tcl.xml	2005-05-22 23:30:38 UTC (rev 5394)
+++ branches/cross-lfs/BOOK/temp-tools/multilib/tcl.xml	2005-05-23 00:27:34 UTC (rev 5395)
@@ -66,14 +66,6 @@
 <screen><userinput>make install</userinput></screen>
 
 
-<warning><para><emphasis>Do not</emphasis> remove the
-<filename class="directory">tcl&tcl-version;</filename> source directory yet, as the next package
-will need its internal headers.</para></warning>
-
-<para>Now make a necessary symbolic link:</para>
-
-<screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen>
-
 </sect2>
 
 <sect2 id="contents-tcl" role="content"><title>Contents of Tcl</title>
@@ -96,14 +88,6 @@
 </listitem>
 </varlistentry>
 
-<varlistentry id="tclsh">
-<term><command>tclsh</command></term>
-<listitem>
-<para>A link to tclsh8.4</para>
-<indexterm zone="ch-temp-tools-tcl tclsh"><primary sortas="b-tclsh">tclsh</primary></indexterm>
-</listitem>
-</varlistentry>
-
 <varlistentry id="libtcl8.4.so">
 <term><filename class="libraryfile">libtcl8.4.so</filename></term>
 <listitem>

Modified: branches/cross-lfs/BOOK/temp-tools/sparc64-chapter.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-tools/sparc64-chapter.xml	2005-05-22 23:30:38 UTC (rev 5394)
+++ branches/cross-lfs/BOOK/temp-tools/sparc64-chapter.xml	2005-05-23 00:27:34 UTC (rev 5395)
@@ -11,7 +11,8 @@
 <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="multilib/tcl.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/tcl-64bit.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/expect.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/expect.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="common/dejagnu.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/perl.xml"/>
 




More information about the lfs-book mailing list