Opened 14 years ago
Closed 14 years ago
#581 closed defect (fixed)
xapian-bindings ./configure does not respect the LUA_LIB environment variable
| Reported by: | Anthony G. Basile | Owned by: | Olly Betts |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2.9 |
| Component: | Xapian-bindings (Lua) | Version: | 1.2.8 |
| Severity: | normal | Keywords: | |
| Cc: | bugs@… | Blocked By: | |
| Blocking: | Operating System: | All |
Description
When building ./configure --with-lua, the environment variable LUA_LIB is supposed to set the "Directory to install xapian.so into". However the configuration script simply sets
LUA_LIB=$LUA -e 'require("package") print(package.cpath)' | cut -f 2 -d ';' | cut -f 1 -d '?'
whatever that works out to be on the build system. This can be fixed by patch configure.ac to treat LUA_LIB similar to say PERL_LIB.
I hit this in 1.2.8 but I suspect it affects previous versions.
Attachments (1)
Change History (3)
by , 14 years ago
| Attachment: | fix-LUA_LIB-envvar.patch added |
|---|
comment:1 by , 14 years ago
| Milestone: | → 1.2.9 |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
Thanks - fixed in trunk r16194.
comment:2 by , 14 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Backported to 1.2.9 along with other Lua improvements in r16227.
Note:
See TracTickets
for help on using tickets.

Patch against configure.ac to respect LUA_LIB env var