[Xapian-discuss] Building Xapian/Omega using Cygwin
Floris Bos
flbos at hotmail.com
Thu Aug 11 20:35:47 BST 2005
Hello,
I've been doing quite a bit of web searching and I came up with a solution
for the problem.
I looked in the quartz_database.cc file and put the following code just
before the code-line that includes safewindows.h (James pointed out earlier
that this was the problem):
# ifndef __WIN32__
# define __WIN32__
# endif
after that I ended up doing exactly the same for these two files:
from flint_lock.h
from flint_database.cc
After this I was able t build Xapian and Omega without any further problems.
They both seem to work since I've inserted my first documents in my first
Xapian db (thanks for helping me out with my questions about scriptindex
James). I still don't have a clue about the cause of the problem with
__win32__ however.
The only weird thing that happened later is that I wasn't able to execute
omega because cygxapian-8.dll could not been found. I solved that by copying
cygxapian-8.dll from the /xapian/bin directory to the omega/bin directory.
Is this copy action alwas needed or did I still do something wrong in the
installation procedure?
Thanks for the help, I really appreciate it!
More information about the Xapian-discuss
mailing list