Changeset 19711e7


Ignore:
Timestamp:
06/25/2005 11:24:19 AM (19 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Branches:
6.1, 6.1.1
Children:
2682464
Parents:
df10d3d
Message:

Added --with-tclinclude flag to Expect. (merged from trunk r6134, r6135 & r6140)

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1/BOOK@6160 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rdf10d3d r19711e7  
    8888</listitem>
    8989
     90<listitem><para>June 25th, 2005 [jhuntwork]: Added a --with-tclinclude flag to
     91Expect build to ensure that it knows where to find the Tcl source directory.</para></listitem>
     92
    9093<listitem><para>June 25th, 2005 [matthew]: Updated to the latest version of the
    9194mktemp tempfile patch, which supports building outside the source directory</para></listitem>
  • chapter05/expect.xml

    rdf10d3d r19711e7  
    3737<para>Now prepare Expect for compilation:</para>
    3838
    39 <screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib --with-x=no</userinput></screen>
     39<screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \
     40   --with-tclinclude=$TCLPATH --with-x=no</userinput></screen>
    4041
    4142<para>The meaning of the configure options:</para>
     
    4748the temporary tools location instead of possibly locating an existing
    4849one on the host system.</para></listitem>
     50</varlistentry>
     51
     52<varlistentry>
     53<term><parameter>--with-tclinclude=$TCLPATH</parameter></term>
     54<listitem><para>This explicitly tells Expect where to find Tcl's source
     55directory and internal headers. Using this option avoids conditions
     56where <command>configure</command> fails because it hasn't automatically
     57discovered the location of the Tcl source directory.</para></listitem>
    4958</varlistentry>
    5059
     
    8089</varlistentry>
    8190</variablelist>
     91
     92<para>Now remove the TCLPATH variable:</para>
     93
     94<screen><userinput>unset TCLPATH</userinput></screen>
    8295
    8396<para>The source directories of both Tcl and Expect can now be removed.</para>
  • chapter05/tcl.xml

    rdf10d3d r19711e7  
    6767will need its internal headers.</para></warning>
    6868
     69<para>Set a variable containing the full path of the current directory.
     70The next package, Expect, will use this variable to find Tcl's headers.</para>
     71
     72<screen><userinput>cd ..
     73export TCLPATH=`pwd`</userinput></screen>
     74
    6975<para>Now make a necessary symbolic link:</para>
    7076
Note: See TracChangeset for help on using the changeset viewer.