Changed absolute symlinks to relative in Tcl/Tk installation instructions, suggested by Nico R.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2569 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Igor Živković 2004-08-05 21:02:44 +00:00
parent 5391b98a78
commit e2aa32b3a7
2 changed files with 4 additions and 4 deletions

View File

@ -68,11 +68,11 @@ install -m644 *.h /usr/include/tcl${V}/unix/ &&
install -d /usr/include/tcl${V}/generic &&
install -c -m644 ../generic/*.h /usr/include/tcl${V}/generic/ &&
rm -f /usr/include/tcl${V}/generic/{tcl,tclDecls,tclPlatDecls}.h &&
ln -nsf /usr/include/tcl${V} /usr/lib/tcl${V}/include &&
ln -nsf ../../include/tcl${V} /usr/lib/tcl${V}/include &&
ln -sf libtcl${V}.so /usr/lib/libtcl.so &&
ln -sf tclsh${V} /usr/bin/tclsh</command></userinput></screen>
<note><para>If you build the package as one user, then switch to root to
<note><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></note>

View File

@ -62,11 +62,11 @@ install -m644 *.h /usr/include/tk${V}/unix/ &amp;&amp;
install -d /usr/include/tk${V}/generic &amp;&amp;
install -m644 ../generic/*.h /usr/include/tk${V}/generic/ &amp;&amp;
rm -f /usr/include/tk${V}/generic/{tk,tkDecls,tkPlatDecls}.h &amp;&amp;
ln -nsf /usr/include/tk${V} /usr/lib/tk${V}/include &amp;&amp;
ln -nsf ../../include/tk${V} /usr/lib/tk${V}/include &amp;&amp;
ln -sf libtk${V}.so /usr/lib/libtk.so &amp;&amp;
ln -sf wish${V} /usr/bin/wish</command></userinput></screen>
<note><para>If you build the package as one user, then switch to root to
<note><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></note>