Changeset 9a3e4ba for general/prog
- Timestamp:
- 02/24/2016 07:31:59 AM (8 years ago)
- Branches:
- systemd-13485
- Children:
- 996dfc4a
- Parents:
- a91856d1
- Location:
- general/prog
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/git.xml
ra91856d1 r9a3e4ba 9 9 <!ENTITY git-download-http "&git-root;/git-&git-version;.tar.xz"> 10 10 <!ENTITY git-download-ftp "ftp://ftp.kernel.org/pub/software/scm/git/git-&git-version;.tar.xz"> 11 <!ENTITY git-md5sum "0214e04f7041f835c5c38f2b78eccced"> 12 <!ENTITY git-size "3.7 MB"> 13 <!ENTITY git-buildsize "349 MB (add 28 MB for building documentation)"> 14 <!ENTITY git-time "0.7 SBU (add 12 SBU for tests and 2.4 SBU for building documentation)"> 11 <!ENTITY git-md5sum "eece7b1e87983271621a0cb6aab37a25"> 12 <!ENTITY git-size "3.8 MB"> 13 <!ENTITY git-buildsize "364 MB (including the pre-built documentation)"> 14 <!ENTITY git-time "0.8 SBU (add 2.4 SBU for building documentation)"> 15 <!-- tests used to take 12 SBU, grep-2.23 causes them to fail after 4.0 SBU --> 15 16 ]> 16 17 … … 170 171 171 172 <para> 172 The test suite can be run in parallel mode. To run the test suite, issue: 173 <command>make test</command>. 173 <!-- The test suite can be run in parallel mode. To run the test suite, issue: --> 174 The test suite fails early, in 'blame respects encoding', because grep-2.23 175 treats data in the locale tests as binary. To run the tests up to that 176 point issue: 177 <command>make test</command>. --> 174 178 </para> 175 179 -
general/prog/lua.xml
ra91856d1 r9a3e4ba 120 120 <title>Installation of Lua</title> 121 121 122 <para>123 Install <application>Lua</application> by running the following124 commands:125 </para>126 127 <screen><userinput>patch -Np1 -i ../lua-&lua-version;-shared_library-1.patch &&128 129 sed -i '/#define LUA_ROOT/s:/usr/local/:/usr/:' src/luaconf.h &&130 131 make linux</userinput></screen>132 133 <para>134 To test the results, issue: <command>make test</command>.135 <quote>This will run the interpreter and print its version.</quote>.136 More comprehensive tests can be performed if you downloaded the "Test137 suite" tarball. Those tests need to be executed after the package is138 installed, thus we defer to describe then below.139 </para>140 141 <para>142 Now, as the <systemitem class="username">root</systemitem> user:143 </para>144 145 <screen role="root"><userinput>make INSTALL_TOP=/usr TO_LIB="liblua.so liblua.so.5.3 liblua.so.&lua-version;" \146 INSTALL_DATA="cp -d" INSTALL_MAN=/usr/share/man/man1 install &&147 148 mkdir -pv /usr/share/doc/lua-&lua-version; &&149 cp -v doc/*.{html,css,gif,png} /usr/share/doc/lua-&lua-version;</userinput></screen>150 151 122 <para>Some packages check for the <application>pkg-config</application> file 152 for <application>Lua</application>. As the 153 <systemitem class="username">root</systemitem> user:</para> 154 155 <screen role="root"><userinput>cat > /usr/lib/pkgconfig/lua.pc << "EOF" 123 for <application>Lua</application>, wich is created with:</para> 124 125 <screen role="root"><userinput>cat > lua.pc << "EOF" 156 126 <literal>V=5.3 157 127 R=&lua-version; … … 177 147 178 148 <para> 149 Install <application>Lua</application> by running the following 150 commands: 151 </para> 152 153 <screen><userinput>patch -Np1 -i ../lua-&lua-version;-shared_library-1.patch && 154 155 sed -i '/#define LUA_ROOT/s:/usr/local/:/usr/:' src/luaconf.h && 156 157 make MYCFLAGS="-DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" linux</userinput></screen> 158 159 <para> 160 To test the results, issue: <command>make test</command>. 161 <quote>This will run the interpreter and print its version.</quote>. 162 More comprehensive tests can be performed if you downloaded the "Test 163 suite" tarball. Those tests need to be executed after the package is 164 installed, thus we defer to describe then below. 165 </para> 166 167 <para> 168 Now, as the <systemitem class="username">root</systemitem> user: 169 </para> 170 171 <screen role="root"><userinput>make INSTALL_TOP=/usr TO_LIB="liblua.so liblua.so.5.3 liblua.so.&lua-version;" \ 172 INSTALL_DATA="cp -d" INSTALL_MAN=/usr/share/man/man1 install && 173 174 mkdir -pv /usr/share/doc/lua-&lua-version; && 175 cp -v doc/*.{html,css,gif,png} /usr/share/doc/lua-&lua-version; && 176 177 install -v -m644 -D lua.pc /usr/lib/pkgconfig/lua.pc</userinput></screen> 178 179 <para> 179 180 We are going to describe only the "Basic tests". Untar the tarball and 180 181 change to the … … 194 195 <command>sed -i ... src/luaconf.h</command>: This command changes 195 196 <application>Lua</application> search path to match the install paths. 197 </para> 198 199 <para> 200 <envar>MYCFLAGS="-DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1"</envar>: This 201 environment variable includes compatibility layers with Lua 5.1 and 5.2 202 in the build. 196 203 </para> 197 204
Note:
See TracChangeset
for help on using the changeset viewer.