Subject: Re: [sup-talk] issue after upgrading sup mainline

From: Hamish D <[email-masked]>
Date: Thu, 3 Feb 2011 23:52:41 +0000

The key line would be:

> ./lib/sup/index.rb:17: Xapian version 1.2.1 or higher required

gem upgrade should fix it.

Hamish
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: "Jagadeesh N. Malakannavar" <[email-masked]>
Date: Wed, 19 Jan 2011 11:25:56 +0530

Hi,

I wanted to use 0.12 version of sup and did git pull. But getting below
error.

jagadeesh@jagadeesh-laptop ~/Downloads/SUP/mainline $ ls
bin           devel        lib          README.txt          sup-version.rb
bugs          doc          LICENSE      ReleaseNotes        test
contrib       HACKING      protocol.md  release-script.txt  www
CONTRIBUTORS  History.txt  Rakefile     sup-files.rb

jagadeesh@jagadeesh-laptop ~/Downloads/SUP/mainline $ ruby -I lib -w bin/sup
./lib/sup/util.rb:330: warning: `&' interpreted as argument prefix
/usr/lib/ruby/1.8/pathname.rb:263: warning: `*' interpreted as argument
prefix
./lib/sup/util.rb:19: warning: method redefined; discarding old gen_lock_id
./lib/sup/util.rb:30: warning: method redefined; discarding old dump_lock_id
./lib/sup/util.rb:107: warning: method redefined; discarding old
calculate_boundaries
./lib/sup/message.rb:285: warning: `&' interpreted as argument prefix
./lib/sup/index.rb:564: warning: `&' interpreted as argument prefix
./lib/sup/index.rb:17: Xapian version 1.2.1 or higher required
(RuntimeError)
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./lib/sup.rb:359
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from bin/sup:22
jagadeesh@jagadeesh-laptop ~/Downloads/SUP/mainline $ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]

Can someone help me fixing this issue?

Thanks