Added a note to the Tcl and Tk instructions to ensure the environment variables are properly set

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5054 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2005-09-11 00:46:32 +00:00
parent 10bffdc851
commit daa8f42368
3 changed files with 18 additions and 18 deletions

View File

@ -87,6 +87,13 @@ TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\"," tclConfig.sh</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<caution>
<para>If you don't use <command>su</command> to become the
<systemitem class="username">root</systemitem> user, ensure you set the
environment variables <envar>VERSION</envar> and <envar>V</envar> again
before running the installation commands.</para>
</caution>
<screen role="root"><userinput>make install &amp;&amp;
install -v -d /usr/include/tcl${V}/unix &amp;&amp;
install -v -m644 *.h /usr/include/tcl${V}/unix/ &amp;&amp;
@ -104,15 +111,6 @@ ln -v -sf tclsh${V} /usr/bin/tclsh</userinput></screen>
unset V &amp;&amp;
unset DIR</userinput></screen>
<!--
<caution>
<para>If you build the package as an ordinary user and then switch to
root to install the package, ensure you set the environment variables
<envar>V</envar> and <envar>VERSION</envar> before running the installation
commands.</para>
</caution>
-->
</sect2>
<sect2 role="commands">

View File

@ -85,6 +85,13 @@ sed -i "s:${DIR}:/usr/include/tk${V}:" tkConfig.sh</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<caution>
<para>If you don't use <command>su</command> to become the
<systemitem class="username">root</systemitem> user, ensure you set the
environment variables <envar>VERSION</envar> and <envar>V</envar> again
before running the installation commands.</para>
</caution>
<screen role="root"><userinput>make install &amp;&amp;
install -v -d /usr/include/tk${V}/unix &amp;&amp;
install -v -m644 *.h /usr/include/tk${V}/unix/ &amp;&amp;
@ -102,15 +109,6 @@ ln -v -sf wish${V} /usr/bin/wish</userinput></screen>
unset V &amp;&amp;
unset DIR</userinput></screen>
<!--
<caution>
<para>If you build the package as an ordinary user and then switch to
root to install the package, ensure you set the environment variables
<envar>V</envar> and <envar>VERSION</envar> before running the installation
commands.</para>
</caution>
-->
</sect2>
<sect2 role="commands">

View File

@ -44,6 +44,10 @@
<listitem>
<para>September 10th, 2005</para>
<itemizedlist>
<listitem>
<para>[randy] - Added a note to the Tcl and Tk instructions to ensure
the environment variables are properly set.</para>
</listitem>
<listitem>
<para>[randy] - Added a GCC-4 patch to the Xorg instructions.</para>
</listitem>