#2173 closed enhancement (duplicate)
Lua-5.1.3
Reported by: | Luca | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | x-future |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
Kdelibs supports lua extensions to kate (from what I read kde-3.5.4 should support lua-5.1=> instead of lua-5.0.
Lua latest version lua-5.1.1 from http://www.lua.org
Dependencies: NCurses and Readline.
make linux make test make install INSTALL_TOP=/usr
There are some customizations possible using
make MYCFLAGS="-DLUA_USE_MKSTEMP -DLUA_USE_DLOPEN -DLUA_COMPAT_GETN" linux
It is also possible to set -DLUA_COMPAT_LSTR 2 for the old long compatibily string nesting. Dynamic loading is enabled by default in platforms supported.
Change History (8)
by , 19 years ago
Attachment: | lua-5.1.1-install-1.patch added |
---|
by , 19 years ago
Attachment: | lua-5.1.1-makeso-1.patch added |
---|
Create liblua.so shared library in addition to the static lib.
comment:1 by , 19 years ago
Build instructions for lua-5.0.3 version (http://www.lua.org)
Dependencies: NCurses and Readline.
patch -Np1 -i ../lua-5.0.3-config-1.patch make make so make test make install make soinstall
It is possible to pass make sobin before make install to let interpreter and compiler use shared libraries.
by , 19 years ago
Attachment: | lua-5.0.3-config-1.patch added |
---|
Enables use of readline and ncurses, fixes layout to use /usr, makes use of mkstemp instead of tmpnam, enabled dynamic loading, enables fast rounding conversion method, enables use of popen and pclose and fixes make install to use install instead of cp
comment:2 by , 19 years ago
Milestone: | 6.2 → future |
---|
What other package is there than can link to the shared LUA libraries? Why do the shared libraries need to be installed?
My feeling is that patches that link optional package into the build can be mentioned on a Wiki page, but are not appropriate for a BLFS page. Instead, on a BLFS page, there should just be a mention on how to modify the build to link these optional packages.
Changing the Milestone to future instead of 6.2. Discussion is required before this package is added into BLFS, simply due to its small user base. Would a Wiki page suit this package better?
comment:3 by , 17 years ago
Summary: | Lua-5.1.1 → Lua-5.1.3 |
---|
I didn't realized until now, that we've had a ticket about one of the simplest and fastest scripting object oriented languages. Anyway, current version is 5.1.3.
By the way. If someone is looking for a programming language for a package management implementation, Lua and Python are possible the best suited for that job, but Lua binary with the possible addition of the Luasocket module for network support is 200+ kb.
Sorry for this academic post in Track, but I thought I could drop a note to encourage people to have a look in that small jewel. Hopefully someone can pick it up and add it in the book, I wish I had the time to do it myself.
comment:4 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
I am setting this as duplicate, as I opened #2926 for reasons that got explained in a post to one of our mailing lists, If Luca still wants to participate, his input would be we very valuable. Many thanks to him anyway who worked in that ticket and his name should be credited into the changelog.
Install the shared library along with the static and fixes install to use install insted of cp