Opened 12 years ago

Closed 12 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)

fix-LUA_LIB-envvar.patch (1.1 KB ) - added by Anthony G. Basile 12 years ago.
Patch against configure.ac to respect LUA_LIB env var

Download all attachments as: .zip

Change History (3)

by Anthony G. Basile, 12 years ago

Attachment: fix-LUA_LIB-envvar.patch added

Patch against configure.ac to respect LUA_LIB env var

comment:1 by Olly Betts, 12 years ago

Milestone: 1.2.9
Owner: changed from sabrina to Olly Betts
Status: newassigned

Thanks - fixed in trunk r16194.

comment:2 by Olly Betts, 12 years ago

Resolution: fixed
Status: assignedclosed

Backported to 1.2.9 along with other Lua improvements in r16227.

Note: See TracTickets for help on using tickets.