xapian at catcons.co.uk
2011-Apr-17 16:37 UTC
[Xapian-discuss] Report for http://trac.xapian.org/wiki/SupportedPlatforms
Hello :-)
There was probably no good reason to do this build but the Debian 6.0
Squeeze repo version was 1.2.3, we needed 1.2.4 and I didn't think of using
the package from unstable.
Arch: x86_64
Platform: Linux 2.6 Debian 6.0 (Squeeze)
Compiler: gcc version 4.4.5 (Debian 4.4.5-8)
Version: 1.2.4
Status: no known problems
Source: http://oligarchy.co.uk/xapian/1.2.4/xapian-core-1.2.4.tar.gz
Notes / requirements: non-default packages: g++, g++-4.4, libpcre3-dev,
uuid-dev, uuid-runtime, zlib1g-dev
uname -a output:
Linux CW8vDS 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64
GNU/Linux
g++ -v output:
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.4 --enable-shared --enable-multiarch
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--with-arch-32=i586 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-8)
.configure options: --prefix=/usr
make test output (compile and link steps removed):
Running tests with backend "none"...
./apitest backend none: All 55 tests passed.
Running tests with backend "inmemory"...
Running test: collapsekey2... SKIPPED
Running test: uuid1... SKIPPED
Running test: metadata5... SKIPPED
Running test: adddoc5... SKIPPED
Running test: adddoc6... SKIPPED
Running test: nomoredocids1... SKIPPED
Running test: termtoolong1... SKIPPED
Running test: valueweightsource5... SKIPPED
./apitest backend inmemory: All 213 tests passed, 8 skipped.
Running tests with backend "brass"...
Running test: collapsekey2... SKIPPED
Running test: replicate2... SKIPPED
./apitest backend brass: All 273 tests passed, 2 skipped.
Running tests with backend "chert"...
Running test: collapsekey2... SKIPPED
./apitest backend chert: All 274 tests passed, 1 skipped.
Running tests with backend "flint"...
Running test: collapsekey2... SKIPPED
./apitest backend flint: All 274 tests passed, 1 skipped.
Running tests with backend "multi_brass"...
Running test: eliteset1... SKIPPED
Running test: eliteset2... SKIPPED
Running test: eliteset4... SKIPPED
Running test: eliteset5... SKIPPED
Running test: collapsekey2... SKIPPED
./apitest backend multi_brass: All 144 tests passed, 5 skipped.
Running tests with backend "multi_chert"...
Running test: eliteset1... SKIPPED
Running test: eliteset2... SKIPPED
Running test: eliteset4... SKIPPED
Running test: eliteset5... SKIPPED
Running test: collapsekey2... SKIPPED
./apitest backend multi_chert: All 144 tests passed, 5 skipped.
Running tests with backend "multi_flint"...
Running test: eliteset1... SKIPPED
Running test: eliteset2... SKIPPED
Running test: eliteset4... SKIPPED
Running test: eliteset5... SKIPPED
Running test: collapsekey2... SKIPPED
./apitest backend multi_flint: All 142 tests passed, 5 skipped.
Running tests with backend "remoteprog_brass"...
Running test: collapsekey2... SKIPPED
Running test: positfromtermit1... SKIPPED
Running test: valueweightsource5... SKIPPED
./apitest backend remoteprog_brass: All 213 tests passed, 3 skipped.
Running tests with backend "remotetcp_brass"...
Running test: collapsekey2... SKIPPED
Running test: positfromtermit1... SKIPPED
Running test: valueweightsource5... SKIPPED
./apitest backend remotetcp_brass: All 213 tests passed, 3 skipped.
Running tests with backend "remoteprog_chert"...
Running test: collapsekey2... SKIPPED
Running test: positfromtermit1... SKIPPED
Running test: valueweightsource5... SKIPPED
./apitest backend remoteprog_chert: All 213 tests passed, 3 skipped.
Running tests with backend "remotetcp_chert"...
Running test: collapsekey2... SKIPPED
Running test: positfromtermit1... SKIPPED
Running test: valueweightsource5... SKIPPED
./apitest backend remotetcp_chert: All 213 tests passed, 3 skipped.
Running tests with backend "remoteprog_flint"...
Running test: collapsekey2... SKIPPED
Running test: positfromtermit1... SKIPPED
./apitest backend remoteprog_flint: All 207 tests passed, 2 skipped.
Running tests with backend "remotetcp_flint"...
Running test: collapsekey2... SKIPPED
Running test: positfromtermit1... SKIPPED
./apitest backend remotetcp_flint: All 207 tests passed, 2 skipped.
./apitest total: All 2785 tests passed, 43 skipped.
PASS: apitest
PASS: internaltest
The random seed is 42
Please report the seed when reporting a test failure.
Running tests with danish stemmer...
Running test: stemdict... SKIPPED
Running tests with dutch stemmer...
Running test: stemdict... SKIPPED
Running tests with english stemmer...
Running test: stemdict... SKIPPED
Running tests with finnish stemmer...
Running test: stemdict... SKIPPED
Running tests with french stemmer...
Running test: stemdict... SKIPPED
Running tests with german stemmer...
Running test: stemdict... SKIPPED
Running tests with german2 stemmer...
Running test: stemdict... SKIPPED
Running tests with hungarian stemmer...
Running test: stemdict... SKIPPED
Running tests with italian stemmer...
Running test: stemdict... SKIPPED
Running tests with kraaij_pohlmann stemmer...
Running test: stemdict... SKIPPED
Running tests with lovins stemmer...
Running test: stemdict... SKIPPED
Running tests with norwegian stemmer...
Running test: stemdict... SKIPPED
Running tests with porter stemmer...
Running test: stemdict... SKIPPED
Running tests with portuguese stemmer...
Running test: stemdict... SKIPPED
Running tests with romanian stemmer...
Running test: stemdict... SKIPPED
Running tests with russian stemmer...
Running test: stemdict... SKIPPED
Running tests with spanish stemmer...
Running test: stemdict... SKIPPED
Running tests with swedish stemmer...
Running test: stemdict... SKIPPED
Running tests with turkish stemmer...
Running test: stemdict... SKIPPED
PASS: stemtest
PASS: queryparsertest
PASS: termgentest
resolverelativepath1 ... ok
PASS: unittest
=================All 6 tests passed
=================
For the installation, used a custom script:
=== script begins ==#! /bin/bash
if [[ $PWD != '/tmp/xapian-omega-1.2.4' ]]; then
echo "In wrong directory!"
exit 1
fi
# Set root to an empty string except when testing
rootroot=/tmp/testing
if [[ ! -d $root ]];then
mkdir -p \
$root/etc \
$root/usr/bin \
$root/usr/lib \
$root/usr/share/doc \
$root/usr/share/images \
$root/usr/share/man/man1 \
$root/usr/share/vim/vim72
fi
chown -R root:root *
# Install as Olly's pro-forma file list as far as practicable
cp -p omega.conf $root/etc/omega.conf
cp -p omindex $root/usr/bin/omindex
cp -p scriptindex $root/usr/bin/scriptindex
mkdir -p $root/usr/lib/cgi-bin/omega/
cp -p omega $root/usr/lib/cgi-bin/omega/omega
mkdir -p $root/usr/lib/xapian-omega/bin/
cp -p outlookmsg2html $root/usr/lib/xapian-omega/bin/outlookmsg2html
#/usr/share/doc-base/xapian-omega-docs Not found
mkdir -p $root/usr/share/doc/xapian-omega/examples/
#/usr/share/doc/xapian-omega/TODO.Debian Not found
#/usr/share/doc/xapian-omega/changelog.Debian.gz Not found
#/usr/share/doc/xapian-omega/changelog.gz Not found
#/usr/share/doc/xapian-omega/copyright Not found
cp -p dbi2omega $root/usr/share/doc/xapian-omega/examples/dbi2omega
cp -p htdig2omega $root/usr/share/doc/xapian-omega/examples/htdig2omega
cp -p htdig2omega.script
$root/usr/share/doc/xapian-omega/examples/htdig2omega.script
cp -p mbox2omega $root/usr/share/doc/xapian-omega/examples/mbox2omega
cp -p mbox2omega.script
$root/usr/share/doc/xapian-omega/examples/mbox2omega.script
mkdir -p $root/usr/share/xapian-omega/templates/
ln -s $root/usr/share/xapian-omega/templates/
$root/usr/share/doc/xapian-omega/examples/templates
cp -p docs/* $root/usr/share/doc/xapian-omega/
rm $root/usr/share/doc/xapian-omega/Makefile*
mkdir -p $root/usr/share/images/xapian-omega/
cp -p images/* $root/usr/share/images/xapian-omega/
(
cp -p omindex.1 scriptindex.1 /tmp \
&& cd /tmp \
&& gzip -9 omindex.1 scriptindex.1 \
&& cp -p omindex.1.gz scriptindex.1.gz $root/usr/share/man/man1/
rm -f omindex.1.gz scriptindex.1.gz
)
mkdir -p $root/usr/share/xapian-omega/templates/inc
rsync -a --quiet templates/ $root/usr/share/xapian-omega/templates/
# Extra to Olly's proforma file list
cp -p AUTHORS COPYING ChangeLog NEWS README TODO
$root/usr/share/doc/xapian-omega/ # Equivalent to some of the "not
found"?
cp -p extra/omegascript.vim $root/usr/share/vim/vim72/
mkdir -p $root/var/lib/omega/data
chown docmgt:docmgt $root/var/lib/omega/data
if [[ ! -d $root/var/lib/omega/templates ]]; then
mkdir -p $root/var/lib/omega/templates
rsync -a --quiet templates/ $root/var/lib/omega/templates
else
echo "$root/var/lib/omega/templates already exists; not creating and
populating it"
fi
mkdir -p $root/var/log/omega
mkdir -p $root/var/lib/omega/cdb
=== script ends ==
Here is the list of files and directories created by the installation
script:
./etc
./etc/omega.conf
./usr
./usr/bin
./usr/bin/omindex
./usr/bin/scriptindex
./usr/lib
./usr/lib/cgi-bin
./usr/lib/cgi-bin/omega
./usr/lib/cgi-bin/omega/omega
./usr/lib/xapian-omega
./usr/lib/xapian-omega/bin
./usr/lib/xapian-omega/bin/outlookmsg2html
./usr/share
./usr/share/doc
./usr/share/doc/xapian-omega
./usr/share/doc/xapian-omega/AUTHORS
./usr/share/doc/xapian-omega/COPYING
./usr/share/doc/xapian-omega/ChangeLog
./usr/share/doc/xapian-omega/NEWS
./usr/share/doc/xapian-omega/README
./usr/share/doc/xapian-omega/TODO
./usr/share/doc/xapian-omega/cgiparams.html
./usr/share/doc/xapian-omega/cgiparams.rst
./usr/share/doc/xapian-omega/examples
./usr/share/doc/xapian-omega/examples/dbi2omega
./usr/share/doc/xapian-omega/examples/htdig2omega
./usr/share/doc/xapian-omega/examples/htdig2omega.script
./usr/share/doc/xapian-omega/examples/mbox2omega
./usr/share/doc/xapian-omega/examples/mbox2omega.script
./usr/share/doc/xapian-omega/examples/templates
./usr/share/doc/xapian-omega/omegascript.html
./usr/share/doc/xapian-omega/omegascript.rst
./usr/share/doc/xapian-omega/overview.html
./usr/share/doc/xapian-omega/overview.rst
./usr/share/doc/xapian-omega/quickstart.html
./usr/share/doc/xapian-omega/quickstart.rst
./usr/share/doc/xapian-omega/scriptindex.html
./usr/share/doc/xapian-omega/scriptindex.rst
./usr/share/doc/xapian-omega/termprefixes.html
./usr/share/doc/xapian-omega/termprefixes.rst
./usr/share/images
./usr/share/images/xapian-omega
./usr/share/images/xapian-omega/next.png
./usr/share/images/xapian-omega/nextoff.png
./usr/share/images/xapian-omega/page-1.png
./usr/share/images/xapian-omega/page-10.png
./usr/share/images/xapian-omega/page-10s.png
./usr/share/images/xapian-omega/page-11.png
./usr/share/images/xapian-omega/page-11s.png
./usr/share/images/xapian-omega/page-1s.png
./usr/share/images/xapian-omega/page-2.png
./usr/share/images/xapian-omega/page-2s.png
./usr/share/images/xapian-omega/page-3.png
./usr/share/images/xapian-omega/page-3s.png
./usr/share/images/xapian-omega/page-4.png
./usr/share/images/xapian-omega/page-4s.png
./usr/share/images/xapian-omega/page-5.png
./usr/share/images/xapian-omega/page-5s.png
./usr/share/images/xapian-omega/page-6.png
./usr/share/images/xapian-omega/page-6s.png
./usr/share/images/xapian-omega/page-7.png
./usr/share/images/xapian-omega/page-7s.png
./usr/share/images/xapian-omega/page-8.png
./usr/share/images/xapian-omega/page-8s.png
./usr/share/images/xapian-omega/page-9.png
./usr/share/images/xapian-omega/page-9s.png
./usr/share/images/xapian-omega/previous.png
./usr/share/images/xapian-omega/prevoff.png
./usr/share/images/xapian-omega/score-0.png
./usr/share/images/xapian-omega/score-1.png
./usr/share/images/xapian-omega/score-10.png
./usr/share/images/xapian-omega/score-2.png
./usr/share/images/xapian-omega/score-3.png
./usr/share/images/xapian-omega/score-4.png
./usr/share/images/xapian-omega/score-5.png
./usr/share/images/xapian-omega/score-6.png
./usr/share/images/xapian-omega/score-7.png
./usr/share/images/xapian-omega/score-8.png
./usr/share/images/xapian-omega/score-9.png
./usr/share/man
./usr/share/man/man1
./usr/share/man/man1/omindex.1.gz
./usr/share/man/man1/scriptindex.1.gz
./usr/share/vim
./usr/share/vim/vim72
./usr/share/vim/vim72/omegascript.vim
./usr/share/xapian-omega
./usr/share/xapian-omega/templates
./usr/share/xapian-omega/templates/godmode
./usr/share/xapian-omega/templates/inc
./usr/share/xapian-omega/templates/inc/anyalldropbox
./usr/share/xapian-omega/templates/inc/anyallradio
./usr/share/xapian-omega/templates/inc/toptermsjs
./usr/share/xapian-omega/templates/opensearch
./usr/share/xapian-omega/templates/query
./usr/share/xapian-omega/templates/topterms
./usr/share/xapian-omega/templates/xml
./var
./var/lib
./var/lib/omega
./var/lib/omega/cdb
./var/lib/omega/data
./var/lib/omega/templates
./var/lib/omega/templates/godmode
./var/lib/omega/templates/inc
./var/lib/omega/templates/inc/anyalldropbox
./var/lib/omega/templates/inc/anyallradio
./var/lib/omega/templates/inc/toptermsjs
./var/lib/omega/templates/opensearch
./var/lib/omega/templates/query
./var/lib/omega/templates/topterms
./var/lib/omega/templates/xml
./var/log
./var/log/omega
Best
Charles
Olly Betts
2011-Apr-20 14:27 UTC
[Xapian-discuss] Report for http://trac.xapian.org/wiki/SupportedPlatforms
Thanks for your report.
Feel free to just update the page (the main reason for moving it to the
wiki was so people could add their own reports).
Cheers,
Olly
xapian at catcons.co.uk
2011-Apr-21 11:14 UTC
[Xapian-discuss] Report forhttp://trac.xapian.org/wiki/SupportedPlatforms
> -----Original Message----- > From: Olly Betts [mailto:olly at survex.com] > Sent: 20 April 2011 19:58 > To: xapian at catcons.co.uk > Cc: xapian-discuss at lists.xapian.org > Subject: Re: [Xapian-discuss] Report > forhttp://trac.xapian.org/wiki/SupportedPlatforms > > Thanks for your report. > > Feel free to just update the page (the main reason for moving > it to the > wiki was so people could add their own reports). > > Cheers, > OllyDone
xapian at catcons.co.uk
2011-Apr-26 06:14 UTC
[Xapian-discuss] After upgrading to 1.2.5, Omega CGI shows spaces as %20 etc
Hello :-) After upgrading from Xapian 1.2.4 to 1.2.5, the Omega CGI shows spaces as %20, apostrophes as %27 etc. For example "all letters to potential members.doc" is now shown as "all%20letters%20to%20potential%20members.doc". This is with the default template "query". Is it possible to configure Omega 1.2.5 to get the 1.2.4 style display? Best Charles