[Xapian-discuss] Installing Omega on Ubuntu
Peter Masiar
peter.masiar at yale.edu
Fri Mar 17 02:54:10 GMT 2006
Thank you, Olly!
Quoting Olly Betts <olly at survex.com>:
> On Thu, Mar 16, 2006 at 06:30:08PM -0500, Peter Masiar wrote:
> > I am trying to install Omega on fresh ubuntu-breezy.
>
> On x86-64 or powerpc I take it?
Intel pentium PC. I had to buy from Dell (company policy) so I could not
give a chance to AMD. I always try to help the David against the Goliath,
if I can. It keeps both ot them in good fighting shape :-)
So I assume I have x86, 32bit.
> Incidentally, I'm hoping we can get the debian packages made official in
> the next few months, which would mean they'd automatically be in the
> ubuntu release after the next one.
Would be great to get them into this current ubuntu release, dapper.
Dapper is supposed to be long-time release, supported for like 5 years.
Also, they extended code freeze for like 4-6 weeks for dapper.
http://os.newsforge.com/article.pl?sid=06/03/15/1931219
All Xapian need is to become a part of "universe".
You dont have to wait for next release IIUC.
With good ready-to-use search engine (and better docs :-)
should not be that hard.
But you know it better than me I guess. :-)
Do you want me to dig for you a link on ubuntu wiki about
how you can become MOTU (Master of the Universe) team member
and package xapian+omega for ubuntu-universe?
[...]
> > What should I do next?
> > (1) Do I need to continue steps in INSTALL, or apt-get did it for me?
>
> INSTALL covers installing from the source tarballs.
>
> It looks like the apt-get recipe isn't quite complete, since it doesn't
> actually install omega or the bindings. I *think* you want to run:
>
> dpkg -i xapian-omega*.deb xapian-bindings*.deb
This is dpkg command, does it have apt-get equivalent?
I read somewhere it might be bad to mix multiple programs to handle
debian database - it might get confused.
I prefer to use synaptic, but apt-get I can handle. :-)
> Although you probably just want to list some of the package files
> matching "xapian-bindings*.deb".
No idea what do you mean. Which apt-get command do you mean?
I gues I want to "install" and/or "make" packages, not "list" them?
[...]
> > (3) How I can test (from command line, maybe?) that Omega was built OK?
> > I assume I can config Omega to index some existing textfiles, like Omega
> > source code, and if all is OK, you can tell me what should happen, right?
>
> Did you read /usr/share/doc/xapian-omega/quickstart.txt ?
I started to, honest. :-)
I spent a day researching Lucene, pyLucene, SWIG, gcj, debian versions,
then xapian, xapwrap...
It is like trying to drink from a firehose. Data overflow. :-)
> > - "su -" does not work on ubuntu - I used "su - <myusername>"
>
> Ubuntu doesn't enable direct root logins, so you should "sudo" instead,
> so amended instructions for Ubuntu would be:
>
> $ sudo apt-get update
> $ sudo apt-get fakeroot build-dep xapian-core
> $ fakeroot apt-get source -b xapian-core
> $ sudo dpkg -i libxapian* xapian-doc* xapian-tools*
> $ sudo apt-get build-dep xapian-bindings xapian-omega
> $ fakeroot apt-get source -b xapian-bindings xapian-omega
> $ dpkg -i xapian-omega*.deb xapian-bindings*.deb
1st dpkg command is with sudo, 2nd is without. Omission?
Thank you so much.
--
Peter Masiar
More information about the Xapian-discuss
mailing list