Package Details: ruby-xapian-full 1.2.3-1

Git Clone URL: (read-only)
Package Base: ruby-xapian-full
Description: xapian-core + Ruby xapian-bindings
Upstream URL:
Submitter: None
Maintainer: None
Last Packager: vorot93
Votes: 11
Popularity: 0.000000
First Submitted: 2010-03-09 04:44
Last Updated: 2015-06-14 02:16

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

cgirard commented on 2012-08-08 12:00

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

Anonymous comment on 2012-08-07 20:41


After installation file /usr/lib/ruby/gems/1.9.1/gems/xapian-full-1.2.3/lib/ 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/ | grep /tmp/
$ 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': cannot open shared object file: No such file or directory - /usr/lib/ruby/gems/1.9.1/gems/xapian-full-1.2.3/lib/ (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>'

cgirard commented on 2012-03-06 13:21

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

asch commented on 2012-03-01 23:15

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

cgirard commented on 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.

conan commented on 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"


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

and follow your previously posted instructions. Thanks both.

jryan commented on 2011-05-01 23:37

conan: this is how I built it,

jryan commented on 2011-05-01 23:36

conan: Here is how I built it

conan commented on 2011-05-01 13:42

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

mikezackles commented on 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 on 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_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.

cgirard commented on 2011-04-05 15:02

I got the following error during compilation:
libtool: link: `common/getopt.lo' is not a valid libtool object