Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mispost] [Nginx.repo] Unable to build from source on Debian 8 (Jessie) #21

Open
amsheppard opened this issue Jul 15, 2016 · 1 comment

Comments

@amsheppard
Copy link

amsheppard commented Jul 15, 2016

[ Please excuse that I've posted this in an incorrect thread. If there is a better channel to raise questions on your repos, please advise. ]

Hello Perusio -

I'm trying to build on a fresh install of Debian 8/Jessie. I don't understand why it's failing. Have I a paths problem?

StupidNoobie

[snip]
checking for LuaJIT library in -lluajit-5.1 and /usr/include/luajit-2.0 (specified by the LUAJIT_LIB and LUAJIT_INC env, with -ldl) ... not found
checking for LuaJIT library in -lluajit-5.1 and /usr/include/luajit-2.0 (specified by the LUAJIT_LIB and LUAJIT_INC env) ... not found
./configure: error: ngx_http_lua_module requires the Lua or LuaJIT library and LUAJIT_LIB is defined as -lluajit-5.1 and LUAJIT_INC (path for lua.h) /usr/include/luajit-2.0, but we cannot find LuaJIT there.
debian/rules:66: recipe for target 'config.arch' failed
make[1]: *** [config.arch] Error 1
make[1]: Leaving directory '/root/tmp/nginx-1.9.12'
debian/rules:58: recipe for target 'binary' failed
make: *** [binary] Error 2
root@host:/tmp/nginx-1.9.12:|# dpkg -l | grep "luajit"
ii libluajit-5.1-common 2.0.3+dfsg-3 all Just in time compiler for Lua - common files
ii luajit 2.0.3+dfsg-3 amd64 Just in time compiler for Lua programming language version 5.1
root@host:
/tmp/nginx-1.9.12:|# which luajit
/usr/bin/luajit
Try 'uname --help' for more information.
root@host:~/tmp/nginx-1.9.12:|# uname -srv
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02)
`

@amsheppard
Copy link
Author

No joy after apt-get install liblua5.1-0-dev

root@host:~/tmp/nginx-1.9.12:|# dpkg -l | grep "lua"
ii liblua5.1-0:amd64 5.1.5-7.1 amd64 Shared library for the Lua interpreter version 5.1
ii liblua5.1-0-dev:amd64 5.1.5-7.1 amd64 Development files for the Lua language version 5.1
ii libluajit-5.1-common 2.0.3+dfsg-3 all Just in time compiler for Lua - common files
ii luajit 2.0.3+dfsg-3 amd64 Just in time compiler for Lua programming language version 5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant