Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#190 closed defect (released)

Ruby bindings are not installed in the correct location

Reported by: Fabrice Colin Owned by: Olly Betts
Priority: normal Milestone:
Component: Xapian-bindings Version: 1.0.2
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: Linux

Description

I am reporting this on behalf of Adel Gadllah <adel.gadllah@…>, who is looking into packaging the bindings for Fedora 7.

The target directory for the Ruby bindings' files is hardcoded. It should actually be :

ruby -rrbconfig -e "puts Config::CONFIGsitearchdir" and ruby -rrbconfig -e "puts Config::CONFIGsitelibdir"

For example, it uses /usr/lib64/ruby/1.8/x86_64-linux/_xapian.so while it should use /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/_xapian.so

Fabrice

Change History (5)

comment:1 by Richard Boulton, 17 years ago

Status: newassigned

comment:2 by Olly Betts, 17 years ago

Owner: changed from Richard Boulton to Olly Betts
Status: assignednew

They aren't actually hardcoded, but they indeed aren't derived as Adel suggests they should be.

I'll take a look.

comment:3 by Olly Betts, 17 years ago

Status: newassigned

comment:4 by Olly Betts, 17 years ago

Resolution: fixed
Status: assignedclosed

SVN HEAD now defaults to sitearchdir and sitelibdir, but can be overridden at configure time (the debian and ubuntu packages want the files where they are currently).

comment:5 by Olly Betts, 17 years ago

Operating System: Linux
Resolution: fixedreleased

Fixed in 1.0.3

Note: See TracTickets for help on using tickets.