luapower / luajit Goto Github PK
View Code? Open in Web Editor NEWLuaJIT 2.1 sources, binaries and build scripts
Home Page: http://luapower.com/luajit
LuaJIT 2.1 sources, binaries and build scripts
Home Page: http://luapower.com/luajit
When trying to build the current luajit csrc for linux64, I get the following error in the actual build:
[snip]
gcc -fPIC -O2 -fomit-frame-pointer -Wall -pthread -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U_FORTIFY_SOURCE -fno-stack-protector -c -o ljamalg_dyn.o ljamalg.c
ljamalg.c:49:27: fatal error: lj_strfmt_num.c: No such file or directory
#include "lj_strfmt_num.c"
^
compilation terminated.
I think I'm using the supported build environment as described on https://luapower.com/building:
$ lsb_release -a
...
Description: Ubuntu 10.04 LTS
...
$ gcc -v
...
gcc version 4.8.1 (Ubuntu 4.8.1-2ubuntu1~10.04.1)
$ g++ -v
...
gcc version 4.8.1 (Ubuntu 4.8.1-2ubuntu1~10.04.1)
Here's the sequence of commands I am executing:
git clone https://github.com/capr/multigit luapower
cd luapower/
./mgit clone https://github.com/luapower/luapower-repos
./mgit clone luajit
./mgit build luajit
Full log of the failed build: https://gist.github.com/earl/e272418a62a3ea6b83435d9a4975334e
LuaJIT 2.0.4 released (rather surprisingly) on May 14, 2015, after over a year of no releases. How difficult would it be to update LuaPower's version of LuaJIT to the latest?
I'm quite impressed by how easy it's been to get started with LuaPower, by the way. I'm planning to use the "Swedish Buffet" setup in my own repo, which if I'm not mistaken would be less than ideal to update the whole set of used packages frequently. The mgit setup is definitely nice, but I would really like to be able to have some more control over my repo's layout (like having a README...), and I don't think I need to provide a module, more of an application.
One feature of luapower is that it's self-contained, i.e. independent of what's on the host outside the luapower directory. But there are a few loopholes left there for convenience:
We should probably close these off as they have the potential to interfere with luapower apps and prevent them from starting.
There's a longstanding historical problem in Windows-land, where because different binary distributions have used different library names, sometimes executables and other libraries link against lua51.dll and sometimes they use lua5.1.dll and then this causes problems. The general solution is have a proxy dll that forwards calls.
See, for instance: http://www.freelists.org/post/luajit/The-dreaded-newbie-questions,10
http://luabinaries.sourceforge.net/manual.html
Can you make the luapower build also link a small proxy lua5.1.dll that forwards all calls to lua51.dll?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.