Changeset ae5a7024
- Timestamp:
- 02/14/2016 04:24:59 PM (8 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 2db87f5
- Parents:
- 3bd40abd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/lua.xml
r3bd40abd rae5a7024 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 MYCFLAGS="-DLUA_COMPAT_5_1" 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 … … 197 198 198 199 <para> 199 <parameter>MYCFLAGS="-DLUA_COMPAT_5_1"</parameter>: This parameter 200 enables building of the <application>Lua</application> 5.1 201 functions into the shared library to allow applications which 202 still require them to function properly. 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. 203 203 </para> 204 204 -
introduction/welcome/changelog.xml
r3bd40abd rae5a7024 49 49 <itemizedlist> 50 50 <listitem> 51 <para>[krejzi] - Fixed Lua instructions to enable 52 building of the Lua 5.1 compatibility functions. Fixes 53 <ulink url="&blfs-ticket-root;7462">#7462</ulink>.</para> 51 <para>[fernando] - Lua-5.3.2 and VLC-2.2.2 need to be compiled with 52 Lua compat 5.1. Fixes 53 <ulink url="&blfs-ticket-root;7462">#7462</ulink> and 54 <ulink url="&blfs-ticket-root;7465">#7465</ulink>.</para> 54 55 </listitem> 55 56 <listitem> -
multimedia/videoutils/vlc.xml
r3bd40abd rae5a7024 221 221 222 222 <para> 223 If you wish to avoid thousands of annoying warnings, issue: 224 </para> 225 226 <screen><userinput>sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac</userinput></screen> 227 228 <para> 223 229 Install <application>VLC</application> by running the following commands: 224 230 </para> … … 242 248 243 249 sed -e '/seems to be moved/s/^/#/' \ 244 -i autotools/ltmain.sh libtool && 245 246 make</userinput></screen> 250 -i autotools/ltmain.sh libtool &&</userinput></screen> 251 252 <para> 253 In order to build with Lua 5.1 compatiblity, issue: 254 </para> 255 256 <screen><userinput>CFLAGS='-fPIC -O2 -Wall -Wextra -DLUA_COMPAT_5_1' make </userinput></screen> 247 257 248 258 <para>
Note:
See TracChangeset
for help on using the changeset viewer.