mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
Downgraded Lua to version 5.1.5 as too many packages in the book and outside don't support 5.2
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11447 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
debb88bf87
commit
32d4980cac
@ -382,7 +382,7 @@ export -f as_root</userinput></screen>
|
||||
<!ENTITY junit-version "4.11">
|
||||
<!ENTITY librep-version "0.92.2.1">
|
||||
<!ENTITY llvm-version "3.3">
|
||||
<!ENTITY lua-version "5.2.2">
|
||||
<!ENTITY lua-version "5.1.5">
|
||||
<!ENTITY mercurial-version "2.6.2">
|
||||
<!ENTITY NASM-version "2.10.07">
|
||||
<!ENTITY php-version "5.4.11">
|
||||
|
@ -110,7 +110,7 @@
|
||||
<xref linkend="guile"/>,
|
||||
<xref linkend="openjdk"/>,
|
||||
<ulink url="http://www.iolanguage.com/about/">Io</ulink>,
|
||||
<xref linkend="lua"/> (version 5.1),
|
||||
<xref linkend="lua"/>,
|
||||
<ulink url="http://www.mono-project.com/Main_Page">Mono</ulink>,
|
||||
<ulink url="http://ocaml.org/">OCaml</ulink>,
|
||||
<xref linkend="php"/>,
|
||||
|
@ -6,9 +6,9 @@
|
||||
|
||||
<!ENTITY lua-download-http "http://www.lua.org/ftp/lua-&lua-version;.tar.gz">
|
||||
<!ENTITY lua-download-ftp " ">
|
||||
<!ENTITY lua-md5sum "efbb645e897eae37cad4344ce8b0a614">
|
||||
<!ENTITY lua-size "246 KB">
|
||||
<!ENTITY lua-buildsize "3.5 MB">
|
||||
<!ENTITY lua-md5sum "2e115fe26e435e33b0d5c022e4490567">
|
||||
<!ENTITY lua-size "217 KB">
|
||||
<!ENTITY lua-buildsize "3.4 MB">
|
||||
<!ENTITY lua-time "0.1 SBU">
|
||||
]>
|
||||
|
||||
@ -33,30 +33,11 @@
|
||||
<application>Lua</application> is a powerful light-weight programming
|
||||
language designed for extending applications. It is also frequently used
|
||||
as a general-purpose, stand-alone language. <application>Lua</application>
|
||||
combines simple procedural syntax with powerful data description
|
||||
constructs based on associative arrays and extensible semantics. It is
|
||||
dynamically typed, interpreted from bytecodes, and has automatic memory
|
||||
management with garbage collection, making it ideal for configuration,
|
||||
scripting, and rapid prototyping. A fundamental concept in the design of
|
||||
<application>Lua</application> is to provide meta-mechanisms for
|
||||
implementing features, instead of providing a host of features directly in
|
||||
the language. For example, although <application>Lua</application> is not
|
||||
a pure object-oriented language, it does provide meta-mechanisms for
|
||||
implementing classes and inheritance. <application>Lua</application>'s
|
||||
meta-mechanisms bring an economy of concepts and keep the language small,
|
||||
while allowing the semantics to be extended in unconventional ways.
|
||||
Extensible semantics is a distinguishing feature of
|
||||
<application>Lua</application>. <application>Lua</application> is a
|
||||
language engine that you can embed into your application. This means that,
|
||||
besides syntax and semantics, it has an API that allows the application to
|
||||
exchange data with <application>Lua</application> programs and also to
|
||||
extend <application>Lua</application> with C functions. In this sense, it
|
||||
can be regarded as a language framework for building domain-specific
|
||||
languages. <application>Lua</application> is implemented as a small
|
||||
library of C functions, written in ANSI C, and compiles unmodified in all
|
||||
known platforms. The implementation goals are simplicity, efficiency,
|
||||
portability, and low embedding cost. The result is a fast language engine
|
||||
with small footprint, making it ideal in embedded systems too.
|
||||
is implemented as a small library of C functions, written in ANSI C, and
|
||||
compiles unmodified in all known platforms. The implementation goals are
|
||||
simplicity, efficiency, portability, and low embedding cost. The result is
|
||||
a fast language engine with small footprint, making it ideal in embedded
|
||||
systems too.
|
||||
</para>
|
||||
|
||||
&lfs73_checked;
|
||||
@ -129,7 +110,7 @@ make linux</userinput></screen>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make INSTALL_TOP=/usr TO_LIB="liblua.so liblua.so.5.2 liblua.so.5.2.1" \
|
||||
<screen role="root"><userinput>make INSTALL_TOP=/usr TO_LIB="liblua.so liblua.so.5.1 liblua.so.&lua-version;" \
|
||||
INSTALL_DATA="cp -d" INSTALL_MAN=/usr/share/man/man1 install &&
|
||||
mkdir -pv /usr/share/doc/lua-&lua-version; &&
|
||||
cp -v doc/*.{html,css,gif,png} /usr/share/doc/lua-&lua-version;</userinput></screen>
|
||||
@ -139,7 +120,7 @@ cp -v doc/*.{html,css,gif,png} /usr/share/doc/lua-&lua-version;</userinput></scr
|
||||
<systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>cat > /usr/lib/pkgconfig/lua.pc << "EOF"
|
||||
<literal>V=5.2
|
||||
<literal>V=5.1
|
||||
R=&lua-version;
|
||||
|
||||
prefix=/usr
|
||||
|
@ -46,6 +46,9 @@
|
||||
<listitem>
|
||||
<para>July 17th, 2013</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[igor] - Downgraded Lua to 5.1.5</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to apache-ant-1.9.2.</para>
|
||||
</listitem>
|
||||
|
@ -205,7 +205,7 @@
|
||||
<xref linkend="libnotify"/>,
|
||||
<ulink url="http://sourceforge.net/projects/medialibrary/">MediaLibrary</ulink>
|
||||
(requires <xref linkend="sqlite"/>) and
|
||||
<xref linkend="lua"/> (version 5.1)
|
||||
<xref linkend="lua"/>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
|
@ -103,7 +103,7 @@
|
||||
<xref linkend="pcre"/>,
|
||||
<xref linkend="rsync"/>,
|
||||
<ulink url="http://www.distcache.org/">Distcache</ulink> and
|
||||
<xref linkend="lua"/> (version 5.1)
|
||||
<xref linkend="lua"/>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
|
Loading…
Reference in New Issue
Block a user