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

Lua error #27

Open
ShwethaMurali opened this issue Aug 29, 2018 · 3 comments
Open

Lua error #27

ShwethaMurali opened this issue Aug 29, 2018 · 3 comments

Comments

@ShwethaMurali
Copy link

Hi, I already had zlib, lzo installed before by the admins, and installed Lua 5.1, but not in /usr/local/lib/ .
I downloaded kyoto, but when I do 'make' , it errors out with :
checking kccommon.h usability... yes
checking kccommon.h presence... yes
checking for kccommon.h... yes
checking lua.h usability... no
checking lua.h presence... no
checking for lua.h... no
configure: error: lua.h is required
make: *** [kyototycoon/Makefile] Error 1

how do I let the Makefile know where to look for lua (i.e not in /usr/local/lib/ ) ?

@carlosefr
Copy link
Contributor

carlosefr commented Sep 3, 2018

If you use my fork (https://github.com/carlosefr/kyoto), you can pass KT_OPTIONS="--enable-lua --with-lua=your_path_to_lua" to the Makefile (or disable Lua altogether).

@pimentel
Copy link

pimentel commented Nov 9, 2018

thanks for your fork, @carlosefr . Unfortunately when I add KT_OPTIONS="--enable-lua --with-lua=/path/to/lua" I get the following:

./configure --prefix="/scratch/groups/pritch/software" --with-kc="/scratch/groups/pritch/software" "--enable-lua
--with-lua=/share/software/user/open/lua/5.3.4"
configure: error: invalid feature name: lua --with-lua
make: *** [kyototycoon/Makefile] Error 1

Any suggestions? Thanks in advance.

@carlosefr
Copy link
Contributor

The problem is the Makefile is taking the content of KT_OPTIONS as a single option instead of an option list. While it isn't fixed you can try with just --with-lua, or editing the KT_OPTIONS variable inside the Makefile.

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

3 participants