source: general/prog/tk/tk-inst.xml@ 113161b0

10.0 10.1 11.0 11.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb v5_1 v5_1-pre1 xry111/intltool xry111/test-20220226
Last change on this file since 113161b0 was 113161b0, checked in by Igor Živković <igor@…>, 19 years ago

fixed tcl/tk installation instructions

git-svn-id: svn:// af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 983 bytes
2<title>Installation of <application>Tk</application></title>
4<para>Install <application>Tk</application> by running the following commands:</para>
6<screen><userinput><command>VERSION=&tk-version; &amp;&amp;
7export V=`echo $VERSION | cut -d "." -f 1,2` &amp;&amp;
8DIR=$PWD &amp;&amp;
9cd unix &amp;&amp;
10./configure --prefix=/usr &amp;&amp;
11make &amp;&amp;
12sed -i "s:${DIR}/unix:/usr/lib:" &amp;&amp;
13sed -i "s:${DIR}:/usr/include/tk${V}:" &amp;&amp;
14make install &amp;&amp;
15install -d /usr/include/tk${V}/unix &amp;&amp;
16install -m644 *.h /usr/include/tk${V}/unix/ &amp;&amp;
17install -d /usr/include/tk${V}/generic &amp;&amp;
18install -m644 ../generic/*.h /usr/include/tk${V}/generic/ &amp;&amp;
19rm -f /usr/include/tk${V}/generic/{tk,tkDecls,tkPlatDecls}.h &amp;&amp;
20ln -nsf /usr/include/tk${V} /usr/lib/tk${V}/include &amp;&amp;
21ln -sf libtk${V}.so /usr/lib/ &amp;&amp;
22ln -sf wish${V} /usr/bin/wish</command></userinput></screen>
Note: See TracBrowser for help on using the repository browser.