[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sup-talk] unread status
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