[moin-user] xapian on moinmoin
Paul Boddie
paul at boddie.org.uk
Mon Jul 30 07:12:22 EDT 2018
On Monday 30. July 2018 11.35.08 mor fall wrote:
> I try to reconfigure xapian
> but it complains about python-sphinx
> "Configure: error: couldn't import sphinx module and call sphinx.main()
> i have also install python2.7-sphinx but nothing change.
If you already managed to install Xapian and the bindings, then maybe it is
worth finding where the file _xapian.so has been installed. It should be
inside a directory called xapian, and that directory is probably inside a
site-packages directory:
.../site-packages/xapian/_xapian.so
If you succeed in finding this, you could then take the .../site-packages part
from the location and use that to set sys.path in the moin script.
If you didn't manage to install Xapian earlier, you will need to specify to
the configure scripts the details of your Python installation. It might help
to provide a bit more information about the following so that we can help you
a bit more:
* The exact command when running configure
* The error you get when it fails
* Where things like your Python libraries are on your system
* How you installed Python libraries and other things
Without this information, other people have to guess, and this is not very
helpful for you or anyone else.
But first check to see if _xapian.so was installed somewhere.
Paul
More information about the moin-user
mailing list