Okaghana wrote: ↑Tue Dec 12, 2017 5:47 pm
So i just skipped the first Step because:
Code: Select all
bash: /platform/unix/automagic: No such file or directory
That file only exists in the repository, and not in the source tarballs, as it's already been executed for those. If configure exists you can skip it.
Okaghana wrote: ↑Tue Dec 12, 2017 5:47 pm
On the second step I came till I had to install LuaJit. I installed LuaJit 2.0.3 from the website, but that didnt do it!
Then you clearly didn't do it right
. Depending on how you compiled it you can either locate the .pc file (luajit.pc) and call configure like this:
Code: Select all
./configure PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
Adjust the path to the directory that contains the .pc file.
Alternatively, you can locate luajit itself, both the headers (look for luajit.h) and the library (look for libluajit-5.1.so), and specify both paths:
Code: Select all
./configure lua_CFLAGS="-I/usr/local/include/luajit-2.0" lua_LIBS="-L/usr/local/lib/ -lluajit-5.1"
And adjust the paths as appropriate, of course.