Author: igor
Date: Sun Jul 21 06:13:34 2013
New Revision: 11458
Log:
move LUA_ROOT change from the shared lib patch to sed
Modified:
trunk/BOOK/general/prog/lua.xml
Modified: trunk/BOOK/general/prog/lua.xml
==============================================================================
--- trunk/BOOK/general/prog/lua.xml Sun Jul 21 04:18:55 2013 (r11457)
+++ trunk/BOOK/general/prog/lua.xml Sun Jul 21 06:13:34 2013 (r11458)
@@ -99,7 +99,8 @@
commands:
</para>
-<screen><userinput>patch -Np1 -i ../lua-&lua-version;-shared_library-1.patch
&&
+<screen><userinput>patch -Np1 -i ../lua-&lua-version;-shared_library-2.patch
&&
+sed -i '/#define LUA_ROOT/s:/usr/local/:/usr/:' src/luaconf.h &&
make linux</userinput></screen>
<para>
@@ -144,6 +145,16 @@
</sect2>
+ <sect2 role="commands">
+ <title>Command Explanations</title>
+
+ <para>
+ <command>sed -i ...</command>: This command changes
+ <application>Lua</application> search path to match the install paths.
+ </para>
+
+ </sect2>
+
<sect2 role="content">
<title>Contents</title>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page