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

Build breaks if lua.h is missing #15

Closed
guillerodriguez opened this issue Jan 14, 2016 · 0 comments
Closed

Build breaks if lua.h is missing #15

guillerodriguez opened this issue Jan 14, 2016 · 0 comments

Comments

@guillerodriguez
Copy link
Contributor

I am using a dev machine that has Lua installed but not the dev package (so no lua.h). Despite configure not finding lua.h, pkcommon.h still wants to include it, which breaks the build:

In file included from pagekitec.c:31:0:
../../libpagekite/pkcommon.h:155:19: fatal error: lua.h: No existe el archivo o el directorio
 #  include <lua.h>
                   ^
compilation terminated.

I also tried to configure --without-lua, same results.

I looked inside pkcommon.h and found that the offending line is guarded by HAVE_LUA checks (pkcommon.h#L154). I am not sure where HAVE_LUA is defined (it is not present in config.h) but anyway I think this should be changed to check for HAVE_LUA_H instead.

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