Package Details: ruby-xapian-full 1.2.3-4

Package Base: ruby-xapian-full
Description: Xapian bindings for Ruby without dependency on system Xapian library
Upstream URL: http://rubygems.org/gems/xapian-full
Category: lib
Licenses: GPL
Submitter: None
Maintainer: None
Last Packager: None
Votes: 12
First Submitted: 2010-03-09 04:44
Last Updated: 2012-03-06 13:20

Dependencies (2)

Required by (0)

Sources

Latest Comments

Comment by cgirard

2012-08-08 12:00

Orphaning as I don't use it and have no time for it.

Anonymous comment

2012-08-07 20:41

Hello,

After installation file /usr/lib/ruby/gems/1.9.1/gems/xapian-full-1.2.3/lib/_xapian.so have hardcoded path to source directory. If someones build packages in /tmp/ xapian will not work after reboot.

$ strings /usr/lib/ruby/gems/1.9.1/gems/xapian-full-1.2.3/lib/_xapian.so | grep /tmp/
/tmp/pkgbuildy/ruby-xapian-full-asdf/pkg/usr/lib/ruby/gems/1.9.1/gems/xapian-full-1.2.3/xapian-core-1.2.3/.libs:/tmp/pkgbuildy/ruby-xapian-full-asdf/pkg/usr/lib/ruby/gems/1.9.1/gems/xapian-full-1.2.3/lib
$ mv /tmp/pkgbuildy/ruby-xapian-full-asdf /tmp/pkgbuildy/ruby-xapian-full
$ LC_ALL=C sup
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/home/hiciu/.gem/ruby/1.9.1/gems/gettext-2.1.0/lib/gettext/runtime/locale_path.rb:20: Use RbConfig instead of obsolete and deprecated Config.
[2012-08-07 22:39:20 +0200] WARNING: can't find character set by using locale, defaulting to utf-8
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': libxapian.so.22: cannot open shared object file: No such file or directory - /usr/lib/ruby/gems/1.9.1/gems/xapian-full-1.2.3/lib/_xapian.so (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/xapian-full-1.2.3/lib/xapian.rb:42:in `<module:Xapian>'
from /usr/lib/ruby/gems/1.9.1/gems/xapian-full-1.2.3/lib/xapian.rb:40:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hiciu/.gem/ruby/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:3:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hiciu/.gem/ruby/1.9.1/gems/sup-0.12.1/lib/sup.rb:358:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/hiciu/.gem/ruby/1.9.1/gems/sup-0.12.1/bin/sup:15:in `<top (required)>'
from /usr/bin/sup:23:in `load'
from /usr/bin/sup:23:in `<main>'

Comment by cgirard

2012-03-06 13:21

Corrected. Forgot to move a variable when I split in build and package functions.

Comment by asch

2012-03-01 23:15

There are bad paths in this package. When install, this package is installed into root (/) insteal of /usr/....

Comment by cgirard

2011-05-04 13:47

Updated with the correction presented below and the solution to the bug I was having as well (incompatible MAKEFLAGS options).

If someone want to takeover the package, just ask me.

Comment by conan

2011-05-04 12:04

jryan: your instructions are correct, but your patch wont apply, maybe it got screwed. On a mail from mikezackles he said he changed -R by -L instead of deleting the whole line (what your patch currently does).

So this is what has to be done, change line 20 on Rakefile:

ENV['LDFLAGS'] = "-R#{prefix}/lib"

to:

ENV['LDFLAGS'] = "-L#{prefix}/lib"

and follow your previously posted instructions. Thanks both.

Comment by jryan

2011-05-01 23:37

conan: this is how I built it, https://bbs.archlinux.org/viewtopic.php?pid=926929#p926929

Comment by conan

2011-05-01 13:42

mikezackles: any chance you write your solution here for mere mortals?

Comment by mikezackles

2011-04-26 19:11

I had to unpack the gem and change LDFLAGS in the Rakefile to get this to build on my machine

Anonymous comment

2011-04-25 09:30

I have strange error with this package (dependency for sup). It seems to use some option which is not recognized by "gcc". Below output is from the run over yaourt, but it behaves the same with "makepkg" only.
(I have pacman 3.5.2-1)

configure:3866: checking whether the C compiler works
configure:3888: gcc -march=i686 -mtune=generic -O2 -pipe -R/tmp/yaourt-tmp-dixie/aur-ruby-xapian-full/pkg/usr/lib/ruby/gems/1.9.1/gems/xapian-full-1.2.3/lib conftest.c >&5
gcc: error: unrecognized option '-R'
configure:3892: $? = 1
configure:3930: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xapian-core"
| #define PACKAGE_TARNAME "xapian-core"
| #define PACKAGE_VERSION "1.2.3"
| #define PACKAGE_STRING "xapian-core 1.2.3"
| #define PACKAGE_BUGREPORT "http://xapian.org/bugs"
| #define PACKAGE_URL ""
| #define PACKAGE "xapian-core"
| #define VERSION "1.2.3"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3935: error: in `/tmp/yaourt-tmp-dixie/aur-ruby-xapian-full/pkg/usr/lib/ruby/gems/1.9.1/gems/xapian-full-1.2.3/xapian-core-1.2.3':
configure:3939: error: C compiler cannot create executables
See `config.log' for more details.

All comments