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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.