[1b35ce63] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[ca783379] | 7 | <!ENTITY scons-download-http "&sourceforge-dl;/scons/SCons-&scons-version;.tar.gz">
|
---|
[1b35ce63] | 8 | <!ENTITY scons-download-ftp " ">
|
---|
[ca783379] | 9 | <!ENTITY scons-md5sum "d964bbfb2b408cc87b6c0d9273374ef6">
|
---|
[73fb07ad] | 10 | <!ENTITY scons-size "2.9 MB">
|
---|
[ca783379] | 11 | <!ENTITY scons-buildsize "72 MB">
|
---|
[b12939e] | 12 | <!ENTITY scons-time "less than 0.1 SBU">
|
---|
[1b35ce63] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="scons" xreflabel="SCons-&scons-version;">
|
---|
| 16 | <?dbhtml filename="scons.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>SCons-&scons-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="scons">
|
---|
| 25 | <primary sortas="a-SCons">SCons</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to SCons</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | <application>SCons</application> is a tool for building software
|
---|
| 33 | (and other files) implemented in <application>Python</application>.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[ca783379] | 36 | &lfs111_checked;
|
---|
[1b35ce63] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&scons-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&scons-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &scons-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &scons-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &scons-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &scons-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect3">SCons Dependencies</bridgehead>
|
---|
| 73 |
|
---|
[3e9add2] | 74 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 75 | <para role="optional">
|
---|
[0dccf0ff] | 76 | <xref linkend="docbook-xsl"/> and
|
---|
[440647ab] | 77 | <xref role="runtime" linkend="libxslt"/>
|
---|
[3e9add2] | 78 | </para>
|
---|
| 79 |
|
---|
[1b35ce63] | 80 | <para condition="html" role="usernotes">
|
---|
| 81 | User Notes: <ulink url="&blfs-wiki;/scons"/>
|
---|
| 82 | </para>
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of SCons</title>
|
---|
| 87 |
|
---|
| 88 | <para>
|
---|
| 89 | Install <application>SCons</application> by running the following
|
---|
| 90 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
[32f5b6f] | 93 | <screen role="root"><userinput>sed -i 's/env python/&3/' SCons/Utilities/*.py &&
|
---|
| 94 |
|
---|
| 95 | python3 setup.py install --prefix=/usr \
|
---|
| 96 | --optimize=1 &&
|
---|
| 97 |
|
---|
| 98 | mv /usr/lib/python3.10/site-packages/SCons-&scons-version;-py&python3-majorver;.egg/*.1 \
|
---|
| 99 | /usr/share/man/man1</userinput></screen>
|
---|
[1b35ce63] | 100 |
|
---|
| 101 | </sect2>
|
---|
[7b88d5a] | 102 |
|
---|
[1b35ce63] | 103 | <sect2 role="content">
|
---|
| 104 | <title>Contents</title>
|
---|
| 105 |
|
---|
| 106 | <segmentedlist>
|
---|
| 107 | <segtitle>Installed Programs</segtitle>
|
---|
| 108 | <segtitle>Installed Libraries</segtitle>
|
---|
| 109 | <segtitle>Installed Directory</segtitle>
|
---|
| 110 |
|
---|
| 111 | <seglistitem>
|
---|
| 112 | <seg>
|
---|
[23aee7e] | 113 | scons, scons-configure-cache, and sconsign
|
---|
[1b35ce63] | 114 | </seg>
|
---|
| 115 | <seg>
|
---|
| 116 | None
|
---|
| 117 | </seg>
|
---|
| 118 | <seg>
|
---|
[440647ab] | 119 | /usr/lib/python&python3-majorver;/site-packages/SCons
|
---|
[1b35ce63] | 120 | </seg>
|
---|
| 121 | </seglistitem>
|
---|
| 122 | </segmentedlist>
|
---|
| 123 |
|
---|
| 124 | <variablelist>
|
---|
| 125 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 126 | <?dbfo list-presentation="list"?>
|
---|
| 127 | <?dbhtml list-presentation="table"?>
|
---|
| 128 |
|
---|
| 129 | <varlistentry id="scons-prog">
|
---|
| 130 | <term><command>scons</command></term>
|
---|
| 131 | <listitem>
|
---|
| 132 | <para>
|
---|
[4c24eb0a] | 133 | is a software construction tool
|
---|
[1b35ce63] | 134 | </para>
|
---|
| 135 | <indexterm zone="scons scons-prog">
|
---|
| 136 | <primary sortas="b-scons">scons</primary>
|
---|
| 137 | </indexterm>
|
---|
| 138 | </listitem>
|
---|
| 139 | </varlistentry>
|
---|
| 140 |
|
---|
[440647ab] | 141 | <varlistentry id="scons-configure-cache">
|
---|
| 142 | <term><command>scons-configure-cache</command></term>
|
---|
| 143 | <listitem>
|
---|
| 144 | <para>
|
---|
| 145 | shows or converts the configuration of an
|
---|
[4c24eb0a] | 146 | <application>SCons</application> cache directory
|
---|
[440647ab] | 147 | </para>
|
---|
| 148 | <indexterm zone="scons scons-configure-cache">
|
---|
| 149 | <primary sortas="b-scons-configure-cache">scons-configure-cache</primary>
|
---|
| 150 | </indexterm>
|
---|
| 151 | </listitem>
|
---|
| 152 | </varlistentry>
|
---|
| 153 |
|
---|
[1b35ce63] | 154 | <varlistentry id="sconsign">
|
---|
| 155 | <term><command>sconsign</command></term>
|
---|
| 156 | <listitem>
|
---|
| 157 | <para>
|
---|
| 158 | prints <application>SCons</application>
|
---|
[4c24eb0a] | 159 | <filename>.sconsign</filename> file information
|
---|
[1b35ce63] | 160 | </para>
|
---|
| 161 | <indexterm zone="scons sconsign">
|
---|
| 162 | <primary sortas="b-sconsign">sconsign</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
[23aee7e] | 167 | <!-- Removed in 4.0.0
|
---|
[1b35ce63] | 168 | <varlistentry id="scons-time">
|
---|
| 169 | <term><command>scons-time</command></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>
|
---|
| 172 | generates and displays <application>SCons</application>
|
---|
| 173 | timing information.
|
---|
| 174 | </para>
|
---|
| 175 | <indexterm zone="scons scons-time">
|
---|
| 176 | <primary sortas="b-scons-time">scons-time</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
[23aee7e] | 179 | </varlistentry>
|
---|
| 180 | -->
|
---|
[1b35ce63] | 181 | </variablelist>
|
---|
| 182 |
|
---|
| 183 | </sect2>
|
---|
| 184 |
|
---|
| 185 | </sect1>
|
---|