[Xapian-devel] Xapian-core on AIX

Jean-Francois Dockes jean-francois.dockes at wanadoo.fr
Mon Apr 24 23:04:12 BST 2006


Olly Betts writes:
 > The thing to check is "./libtool --version" from the unpacked
 > xapian-core source directory.

For  0.9.2, ./libtool --version says 1.5.18 

 > Did you try "make check"?

Just did it. It doesn't want to link 'apitest'. Here is what I get:
 ld: 0711-317 ERROR: Undefined symbol: vtable for Xapian::TradWeight
 ld: 0711-317 ERROR: Undefined symbol: vtable for Xapian::BM25Weight

This is quite strange because recollindex and delve do link, as do some of
the other xxxtest programs ...

Anyway, this is probably not interesting because I redid the build with
xapian-core 0.9.5 and this goes through normally (this seems to use libtool
1.5.22, and it apparently fixes the problem).

However, make check doesn't pass. There is a core file in the tests
directory.

I'm appending  the output from make check. I'm not sure if it's worth
pursuing the issue until someone actually asks for xapian on AIX ?

By the way, large file support does not work (cstdio does not compile),
this appears to be a known problem of gnu STL on AIX, I don't know if there
is a workaround. I configured xapian with --disable-largefile.

jf



gmake[2]: Entering directory `/home/softs/xapian-core-0.9.5/tests'
Running test: table1...FAIL: btreetest                                         
Running test: open1...FAIL: quartztest
/home/softs/xapian-core-0.9.5/tests/.libs/lt-remotetest completed test run: All 4 tests passed.
PASS: remotetest
Running nodb tests with void backend...
Running test: emptyquery1...FAIL: apitest                                      
/home/softs/xapian-core-0.9.5/tests/.libs/lt-internaltest completed test run: All 6 tests passed.
PASS: internaltest
The random seed is 42
Please report the seed when reporting a test failure.
Running tests with none stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with danish stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with dutch stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with english stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with finnish stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with french stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with german stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with italian stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with norwegian stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with portuguese stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with russian stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with spanish stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with swedish stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with english_lovins stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with english_porter stemmer...
Running test: stemdict... SKIPPED                                              
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest completed test run: All 2 tests passed, 1 skipped.
/home/softs/xapian-core-0.9.5/tests/.libs/lt-stemtest total: All 30 tests passed, 15 skipped.
PASS: stemtest
Running test: queryparser1...FAIL: queryparsertest
===================
4 of 7 tests failed
===================
gmake[2]: *** [check-TESTS] Error 1
gmake[2]: Leaving directory `/home/softs/xapian-core-0.9.5/tests'
gmake[1]: *** [check-am] Error 2
gmake[1]: Leaving directory `/home/softs/xapian-core-0.9.5/tests'
gmake: *** [check-recursive] Error 1



More information about the Xapian-devel mailing list