Hello, I was looking for a search engine for a small internal documentation site and found xapian and omega. Downloaded and compiled it using msys and ming on a german windows xp system. Finally installed apache on the same box. Following the omega example I copied the book to .../apache/htdocs and startet the omindex which hang up on the first document found. Even on very short doc with only a few words it never finishes: under msys: cd \opt\bin\ omindex --db "D:/develop/apache22/cgi-bin/omega/data/default" --url /book "D:/develop/apache22/htdocs" the omega.conf is in the same directory and looks like: # Directory containing Xapian databases: #database_dir /var/lib/omega/data database_dir D:\develop\apache22\cgi-bin\omega\data # Directory containing OmegaScript templates: # template_dir /var/lib/omega/templates template_dir D:\develop\apache22\cgi-bin\omega\templates # Directory to write Omega logs to: #log_dir /var/log/omega log_dir D:\develop\apache22\logs # Directory containing any cdb files for the $lookup OmegaScript command: # cdb_dir /var/lib/omega/cdb cdb_dir D:\develop\apache22\cgi-bin\omega\cdb Can someone point out what I am doing wrong? Kind Regards Rolf.
On Sat, Jun 20, 2009 at 01:27:29PM +0200, Elke + Rolf Koehling wrote:> Following the omega example I copied the book to .../apache/htdocs and > startet the omindex > which hang up on the first document found. Even on very short doc with > only a few words > it never finishes: > > under msys: > cd \opt\bin\ > omindex --db "D:/develop/apache22/cgi-bin/omega/data/default" --url > /book "D:/develop/apache22/htdocs"Hmm, this should work. What output do you get from omindex? And what version of Xapian and omega is this with? Cheers, Olly
Hi Olly, I am using : MSYS-1.0.10.exe mingwrt-3.15.2-mingw32-dev.tar gcc version 3.4.5 (mingw-vista special r3) with upgrades of: autoconf-2.61.tar.bz2 automake-1.10.tar.bz2 libtool-1.5.24.tar.gz xapian-core-1.0.13.tar xapian-omega-1.0.13.tar Note: I had some minor problem compiling it, but solved that with help from google: libtool: ignoring unknown tag CXX The AC_LIBTOOL_TAGS([CXX]) macro in configure.ac needs CXX to be set before it is used. Placing an AC_PROG_CXX before it solves this problem and the build continues. Starting the omindex I get the following output [Entering directory /] [Entering directory /book] Indexing "/book/ci_01.htm" as text/html ... Cheers Rolf. Olly Betts schrieb:> On Sat, Jun 20, 2009 at 01:27:29PM +0200, Elke + Rolf Koehling wrote: > >> Following the omega example I copied the book to .../apache/htdocs and >> startet the omindex >> which hang up on the first document found. Even on very short doc with >> only a few words >> it never finishes: >> >> under msys: >> cd \opt\bin\ >> omindex --db "D:/develop/apache22/cgi-bin/omega/data/default" --url >> /book "D:/develop/apache22/htdocs" >> > > Hmm, this should work. > > What output do you get from omindex? > > And what version of Xapian and omega is this with? > > Cheers, > Olly > >
Elke + Rolf Koehling
2009-Jun-21 12:28 UTC
[Xapian-discuss] omindex hangs while scanning (update)
Hi Olly, I am using : MSYS-1.0.10.exe mingwrt-3.15.2-mingw32-dev.tar gcc version 3.4.5 (mingw-vista special r3) with upgrades of: autoconf-2.61.tar.bz2 automake-1.10.tar.bz2 libtool-1.5.24.tar.gz xapian-core-1.0.13.tar xapian-omega-1.0.13.tar Note: I had some minor problem compiling it, but solved that with help from google: libtool: ignoring unknown tag CXX The AC_LIBTOOL_TAGS([CXX]) macro in configure.ac needs CXX to be set before it is used. Placing an AC_PROG_CXX before it solves this problem and the build continues. Starting the omindex I get the following output [Entering directory /] [Entering directory /book] Indexing "/book/ci_01.htm" as text/html ... and in the db directory I find the following new files: D Cheers Rolf. Olly Betts schrieb:> On Sat, Jun 20, 2009 at 01:27:29PM +0200, Elke + Rolf Koehling wrote: > >> Following the omega example I copied the book to .../apache/htdocs and >> startet the omindex >> which hang up on the first document found. Even on very short doc with >> only a few words >> it never finishes: >> >> under msys: >> cd \opt\bin\ >> omindex --db "D:/develop/apache22/cgi-bin/omega/data/default" --url >> /book "D:/develop/apache22/htdocs" >> > > Hmm, this should work. > > What output do you get from omindex? > > And what version of Xapian and omega is this with? > > Cheers, > Olly > >