From: John Bent <johnbent@lanl.gov>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] unread status
Date: Fri, 05 Mar 2010 13:32:17 -0700 [thread overview]
Message-ID: <1267821043-sup-7771@guava.lanl.gov> (raw)
In-Reply-To: <1267818644-sup-5188@guava.lanl.gov>
Excerpts from John Bent's message of Fri Mar 05 13:00:14 -0700 2010:
> Excerpts from John Bent's message of Fri Mar 05 08:59:42 -0700 2010:
> > Excerpts from William Morgan's message of Sun Jan 03 15:22:25 -0700
> > 2010:
> > > Reformatted excerpts from John Bent's message of 2009-12-29:
> > > > I spent a couple of unsuccessful hours last week trying to switch.
> > > > Anyway else on an old PPC OS X who has been able to transition?
> > >
> > > Please try sup-convert-ferret-index in git next and report any
> > > problems.
> > >
> > Although, I have xapian-full install, when I run
> > sup-convert-ferret-index, I get this error:
> >
> > guava:~>sup-convert-ferret-index
> > Error: you don't have the xapian gem installed, so this script won't do
> > much for you--`gem install xapian` (or xapian-full) first.
> > Try --help for help.
> >
> > I do have xapian-full installed:
> >
> Also, irb reports that I have xapian installed but I still get the error
> from sup-convert-ferret-index:
>
> 1) irb says that I have xapian:
> irb(main):001:0> require 'rubygems'
> => true
> irb(main):002:0> require 'xapian'
> => true
> irb(main):003:0> quit
>
>
> 2) gem list says that I have xapian:
> *** LOCAL GEMS ***
> ferret (0.11.6)
> gettext (2.1.0)
> highline (1.5.2)
> locale (2.0.5)
> lockfile (1.4.3)
> mime-types (1.16)
> ncursesw (1.2.4.1)
> net-ssh (2.0.20)
> rake (0.8.7)
> rmail (1.0.0)
> sup (0.10.2)
> trollop (1.15)
> xapian-full (1.1.3.4)
>
> 3) sup-convert-ferret-index says I don't have xapian:
> guava:~>sup-convert-ferret-index --verbose
> Error: you don't have the xapian gem installed, so this script won't do
> much for you--`gem install xapian` (or xapian-full) first.
> Try --help for help.
> guava:~>sup-convert-ferret-index --version
> sup-convert-ferret-index (sup 0.10.2)
>
> 4) ruby --version = 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin10]
> I tried port install ruby19 but the build failed:
> 'rb_dl_callback_double_19_0_stdcall' undeclared
>
I tried commenting out the require xapian in sup-convert-ferret-index
but it still failed:
## Step three: build the Xapian index
/opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2/bin/sup-sync --all
--all-sources --index xapian --restore /tmp/sup-state.txt
/opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/index.rb:229:in
`init': unknown index type "xapian":
dlopen(/opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle,
9): no suitable image found. Did find: (RuntimeError)
/opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle:
mach-o, but wrong architecture -
/opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle
from
/opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2/bin/sup-sync:99
Shucks.
John
> Any ideas?
>
> Thanks,
>
> John
>
> > ROOT:guava:/Users/johnbent>gem install xapian-full
> > Building native extensions. This could take a while...
> > Successfully installed xapian-full-1.1.3.4
> > 1 gem installed
> > Installing ri documentation for xapian-full-1.1.3.4...
> > Installing RDoc documentation for xapian-full-1.1.3.4...
> >
> > But installing xapian (just itself) fails. Looks like I'm missing
> > glibc-devel library or something:
> >
> > /bin/sh ../libtool --tag=CXX --mode=link g++ -fno-strict-aliasing
> > -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden
> > -I/opt/local/include -g -O2 -avoid-version -module -shrext ".bundle"
> > -o _xapian.la -rpath /opt/local/lib/ruby/site_ruby/1.8/i686-darwin10
> > xapian_wrap.lo /opt/local/lib/libxapian.la -lstdc++
> > g++ -shared -nostdlib
> > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crti.o
> > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtbeginS.o .libs/xapian_wrap.o
> > -Wl,--rpath -Wl,/opt/local/lib -Wl,--rpath -Wl,/opt/local/lib
> > /opt/local/lib/libxapian.dylib -L/opt/local/lib
> > -L/usr/lib/gcc/i686-pc-linux-gnu/4.4.1
> > -L/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../.. -lstdc++ -lm -lc -lgcc_s
> > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtendS.o
> > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crtn.o -Wl,-soname
> > -Wl,_xapian.bundle -o .libs/_xapian.bundle
> > i686-apple-darwin10-g++-4.0.1:
> > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crti.o: No such file or
> > directory
> > i686-apple-darwin10-g++-4.0.1:
> > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtbeginS.o: No such file or
> > directory
> > i686-apple-darwin10-g++-4.0.1:
> > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtendS.o: No such file or
> > directory
> > i686-apple-darwin10-g++-4.0.1:
> > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crtn.o: No such file or
> > directory
> > make[4]: *** [_xapian.la] Error 1
> > make[3]: *** [all-recursive] Error 1
> > make[2]: *** [all] Error 2
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
> > extconf.rb:3:in `system!': unhandled exception
> > from extconf.rb:6
> >
> >
> > Thanks,
> >
> > John
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
next prev parent reply other threads:[~2010-03-05 20:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-29 14:47 Philipp Überbacher
2009-12-29 22:53 ` William Morgan
2009-12-29 23:12 ` Philipp Überbacher
2009-12-29 23:24 ` Tero Tilus
2009-12-29 23:49 ` Rich Lane
2009-12-29 23:54 ` William Morgan
2009-12-30 0:32 ` John Bent
2010-01-03 22:22 ` William Morgan
2010-03-05 15:59 ` John Bent
2010-03-05 20:00 ` John Bent
2010-03-05 20:32 ` John Bent [this message]
2009-12-29 23:33 ` William Morgan
2009-12-29 23:54 ` Philipp Überbacher
-- strict thread matches above, loose matches on Subject: below --
2009-12-29 13:45 Philipp Überbacher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1267821043-sup-7771@guava.lanl.gov \
--to=johnbent@lanl.gov \
--cc=sup-talk@rubyforge.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox