Changeset 5cc1126a
- Timestamp:
- 05/05/2005 08:35:01 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 516af114
- Parents:
- 16f3afb3
- Location:
- general/prog
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/php.xml
r16f3afb3 r5cc1126a 163 163 164 164 <screen role="root"><userinput>make install && 165 cp php.ini-recommended /etc/php.ini</userinput></screen>165 cp -v php.ini-recommended /etc/php.ini</userinput></screen> 166 166 167 167 <para>Remove the <option>--disable-libxml</option> switch if you -
general/prog/tcl.xml
r16f3afb3 r5cc1126a 5 5 %general-entities; 6 6 7 <!ENTITY tcl-download-http "http://prdownloads.sourceforge.net/tcl/tcl&tcl-version;-src.tar.gz">8 <!ENTITY tcl-download-ftp "ftp://ftp.us.xemacs.org/pub/tcl/tcl8_4/tcl&tcl-version;-src.tar.gz">9 <!ENTITY tcl-md5sum "7e01b409925e4eb59ad44a4c12b9c681">10 <!ENTITY tcl-size "3.4 MB">11 <!ENTITY tcl-buildsize "24.2 MB">12 <!ENTITY tcl-time "0.28 SBU (additional 0.73 SBU to run the test suite)">7 <!ENTITY tcl-download-http "http://prdownloads.sourceforge.net/tcl/tcl&tcl-version;-src.tar.gz"> 8 <!ENTITY tcl-download-ftp "ftp://ftp.us.xemacs.org/pub/tcl/tcl8_4/tcl&tcl-version;-src.tar.gz"> 9 <!ENTITY tcl-md5sum "7e01b409925e4eb59ad44a4c12b9c681"> 10 <!ENTITY tcl-size "3.4 MB"> 11 <!ENTITY tcl-buildsize "24.2 MB"> 12 <!ENTITY tcl-time "0.28 SBU (additional 0.73 SBU to run the test suite)"> 13 13 ]> 14 14 15 15 <sect1 id="tcl" xreflabel="Tcl-&tcl-version;"> 16 <sect1info> 17 <othername>$LastChangedBy$</othername> 18 <date>$Date$</date> 19 </sect1info> 20 <?dbhtml filename="tcl.html"?> 21 <title>Tcl-&tcl-version;</title> 22 <indexterm zone="tcl"> 23 <primary sortas="a-Tcl">Tcl</primary></indexterm> 16 <?dbhtml filename="tcl.html"?> 24 17 25 <sect2> 26 <title>Introduction to <application>Tcl</application></title> 18 <sect1info> 19 <othername>$LastChangedBy$</othername> 20 <date>$Date$</date> 21 </sect1info> 27 22 28 <para>The <application>Tcl</application> package contains the Tool Command 29 Language, a robust general-purpose scripting language.</para> 23 <title>Tcl-&tcl-version;</title> 30 24 31 <sect3><title>Package information</title> 32 <itemizedlist spacing='compact'> 33 <listitem><para>Download (HTTP): <ulink 34 url="&tcl-download-http;"/></para></listitem> 35 <listitem><para>Download (FTP): <ulink 36 url="&tcl-download-ftp;"/></para></listitem> 37 <listitem><para>Download MD5 sum: &tcl-md5sum;</para></listitem> 38 <listitem><para>Download size: &tcl-size;</para></listitem> 39 <listitem><para>Estimated disk space required: 40 &tcl-buildsize;</para></listitem> 41 <listitem><para>Estimated build time: 42 &tcl-time;</para></listitem></itemizedlist> 43 </sect3> 25 <indexterm zone="tcl"> 26 <primary sortas="a-Tcl">Tcl</primary> 27 </indexterm> 44 28 45 </sect2> 29 <sect2 role="package"> 30 <title>Introduction to Tcl</title> 46 31 47 <sect2> 48 <title>Installation of <application>Tcl</application></title>32 <para>The <application>Tcl</application> package contains the Tool Command 33 Language, a robust general-purpose scripting language.</para> 49 34 50 <note><para>This package is also installed in <acronym>LFS</acronym> during 51 the bootstrap phase. The significant difference between the two installations 52 (other than installing to <filename class="directory">/usr</filename>) is the 53 package is installed in such a way that there is no need to keep the build 54 directory around after installation.</para></note> 35 <bridgehead renderas="sect3">Package Information</bridgehead> 36 <itemizedlist spacing="compact"> 37 <listitem> 38 <para>Download (HTTP): <ulink url="&tcl-download-http;"/></para> 39 </listitem> 40 <listitem> 41 <para>Download (FTP): <ulink url="&tcl-download-ftp;"/></para> 42 </listitem> 43 <listitem> 44 <para>Download MD5 sum: &tcl-md5sum;</para> 45 </listitem> 46 <listitem> 47 <para>Download size: &tcl-size;</para> 48 </listitem> 49 <listitem> 50 <para>Estimated disk space required: &tcl-buildsize;</para> 51 </listitem> 52 <listitem> 53 <para>Estimated build time: &tcl-time;</para> 54 </listitem> 55 </itemizedlist> 55 56 56 <para>Install <application>Tcl</application> by running the following 57 commands:</para> 57 </sect2> 58 58 59 <screen><userinput><command>export VERSION=&tcl-version; && 59 <sect2 role="installation"> 60 <title>Installation of Tcl</title> 61 62 <note> 63 <para>This package is also installed in LFS during 64 the bootstrap phase. The significant difference between the two installations 65 (other than installing to <filename class="directory">/usr</filename>) is that 66 the package is installed in such a way that there is no need to keep the build 67 directory around after installation.</para> 68 </note> 69 70 <para>Install <application>Tcl</application> by running the following 71 commands:</para> 72 73 <screen><userinput>export VERSION=&tcl-version; && 60 74 export V=`echo $VERSION | cut -d "." -f 1,2` && 61 75 export DIR=$PWD && … … 66 80 sed -i "s:${DIR}:/usr/include/tcl${V}:" tclConfig.sh && 67 81 sed -i "s,^TCL_LIB_FILE='libtcl${V}..TCL_DBGX..so',\ 68 TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\"," tclConfig.sh</ command></userinput></screen>82 TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\"," tclConfig.sh</userinput></screen> 69 83 70 <para>To test the results, issue: <command>make test</command>.</para>84 <para>To test the results, issue: <command>make test</command>.</para> 71 85 72 <para>Now, as the rootuser:</para>86 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 73 87 74 <screen ><userinput role='root'><command>make install &&75 install - d /usr/include/tcl${V}/unix &&76 install - m644 *.h /usr/include/tcl${V}/unix/ &&77 install - d /usr/include/tcl${V}/generic &&78 install - c -m644 ../generic/*.h /usr/include/tcl${V}/generic/ &&79 rm - f /usr/include/tcl${V}/generic/{tcl,tclDecls,tclPlatDecls}.h &&80 ln - nsf ../../include/tcl${V} /usr/lib/tcl${V}/include &&81 ln - sf libtcl${V}.so /usr/lib/libtcl.so &&82 ln - sf tclsh${V} /usr/bin/tclsh</command></userinput></screen>88 <screen role="root"><userinput>make install && 89 install -v -d /usr/include/tcl${V}/unix && 90 install -v -m644 *.h /usr/include/tcl${V}/unix/ && 91 install -v -d /usr/include/tcl${V}/generic && 92 install -v -c -m644 ../generic/*.h /usr/include/tcl${V}/generic/ && 93 rm -v -f /usr/include/tcl${V}/generic/{tcl,tclDecls,tclPlatDecls}.h && 94 ln -v -nsf ../../include/tcl${V} /usr/lib/tcl${V}/include && 95 ln -v -sf libtcl${V}.so /usr/lib/libtcl.so && 96 ln -v -sf tclsh${V} /usr/bin/tclsh</userinput></screen> 83 97 84 <para>Clean up the unprivileged user's environment using the following85 commands:</para>98 <para>Clean up the unprivileged user's environment using the following 99 commands:</para> 86 100 87 <screen><userinput> <command>unset VERSION &&101 <screen><userinput>unset VERSION && 88 102 unset V && 89 unset DIR</ command></userinput></screen>103 unset DIR</userinput></screen> 90 104 91 105 <!-- 92 <caution><para>If you build the package as an ordinary user and then switch to 93 root to install the package, ensure you set the environment variables 94 <envar>V</envar> and <envar>VERSION</envar> before running the installation 95 commands.</para></caution> 106 <caution> 107 <para>If you build the package as an ordinary user and then switch to 108 root to install the package, ensure you set the environment variables 109 <envar>V</envar> and <envar>VERSION</envar> before running the installation 110 commands.</para> 111 </caution> 96 112 --> 97 113 98 </sect2>114 </sect2> 99 115 100 <sect2>101 <title>Command explanations</title>116 <sect2 role="commands"> 117 <title>Command Explanations</title> 102 118 103 <para><parameter>--enable-threads</parameter>: This switch forces the package104 to build with thread support.</para>119 <para><parameter>--enable-threads</parameter>: This switch forces the package 120 to build with thread support.</para> 105 121 106 <para><command>sed -i ...</command>: The <application>Tcl</application>107 package assumes that the source that is used to build108 <application>Tcl</application> is always kept around for compiling packages109 that depend on <application>Tcl</application>. These <command>sed</command>s110 remove the reference to the build directory and replace them by saner system111 wide locations.</para>122 <para><command>sed -i ...</command>: The <application>Tcl</application> 123 package assumes that the source that is used to build 124 <application>Tcl</application> is always kept around for compiling packages 125 that depend on <application>Tcl</application>. These <command>sed</command>s 126 remove the reference to the build directory and replace them by saner system 127 wide locations.</para> 112 128 113 <para><command>install ...</command>: These commands install the internal114 headers into a system-wide location.</para>129 <para><command>install ...</command>: These commands install the internal 130 headers into a system-wide location.</para> 115 131 116 <para><command>ln -sf ...</command>: These commands create compatibility 117 symbolic links.</para> 118 </sect2> 132 <para><command>ln -v -sf ...</command>: These commands create compatibility 133 symbolic links.</para> 119 134 120 <sect2> 121 <title>Contents</title> 135 </sect2> 122 136 123 <segmentedlist> 124 <segtitle>Installed Programs</segtitle> 125 <segtitle>Installed Libraries</segtitle> 126 <segtitle>Installed Directories</segtitle> 137 <sect2 role="content"> 138 <title>Contents</title> 127 139 128 <seglistitem> 129 <seg>tclsh and tclsh8.4</seg> 130 <seg>libtcl.so and libtclstub8.4.a</seg> 131 <seg>/usr/include/tcl8.4 and /usr/lib/tcl8.4</seg> 132 </seglistitem> 133 </segmentedlist> 140 <segmentedlist> 141 <segtitle>Installed Programs</segtitle> 142 <segtitle>Installed Libraries</segtitle> 143 <segtitle>Installed Directories</segtitle> 134 144 135 <variablelist> 136 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 137 <?dbfo list-presentation="list"?> 145 <seglistitem> 146 <seg>tclsh and tclsh8.4</seg> 147 <seg>libtcl.so and libtclstub8.4.a</seg> 148 <seg>/usr/include/tcl8.4 and /usr/lib/tcl8.4</seg> 149 </seglistitem> 150 </segmentedlist> 138 151 139 <varlistentry id="tclsh"> 140 <term><command>tclsh</command></term> 141 <listitem><para> is a symlink to the <command>tclsh8.4</command> 142 program.</para> 143 <indexterm zone="tcl tclsh"> 144 <primary sortas="g-tclsh">tclsh</primary></indexterm> 145 </listitem> 146 </varlistentry> 152 <variablelist> 153 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 154 <?dbfo list-presentation="list"?> 155 <?dbhtml list-presentation="table"?> 147 156 148 <varlistentry id="tclsh8.4"> 149 <term><command>tclsh8.4</command></term> 150 <listitem><para> is a simple shell containing the 151 <application>Tcl</application> interpreter.</para> 152 <indexterm zone="tcl tclsh8.4"> 153 <primary sortas="b-tclsh8.4">tclsh8.4</primary></indexterm> 154 </listitem> 155 </varlistentry> 157 <varlistentry id="tclsh"> 158 <term><command>tclsh</command></term> 159 <listitem> 160 <para> is a symlink to the <command>tclsh8.4</command> 161 program.</para> 162 <indexterm zone="tcl tclsh"> 163 <primary sortas="g-tclsh">tclsh</primary> 164 </indexterm> 165 </listitem> 166 </varlistentry> 156 167 157 <varlistentry id="libtcl"> 158 <term><filename role="library">libtcl.so</filename></term> 159 <listitem><para>contains the <acronym>API</acronym> functions required 160 by <application>Tcl</application>.</para> 161 <indexterm zone="tcl libtcl"> 162 <primary sortas="c-libtcl">libtcl.so</primary></indexterm> 163 </listitem> 164 </varlistentry> 165 </variablelist> 168 <varlistentry id="tclsh8.4"> 169 <term><command>tclsh8.4</command></term> 170 <listitem> 171 <para> is a simple shell containing the 172 <application>Tcl</application> interpreter.</para> 173 <indexterm zone="tcl tclsh8.4"> 174 <primary sortas="b-tclsh8.4">tclsh8.4</primary> 175 </indexterm> 176 </listitem> 177 </varlistentry> 166 178 167 </sect2> 179 <varlistentry id="libtcl"> 180 <term><filename role="library">libtcl.so</filename></term> 181 <listitem> 182 <para>contains the API functions required 183 by <application>Tcl</application>.</para> 184 <indexterm zone="tcl libtcl"> 185 <primary sortas="c-libtcl">libtcl.so</primary> 186 </indexterm> 187 </listitem> 188 </varlistentry> 189 190 </variablelist> 191 192 </sect2> 168 193 169 194 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.