Skip to main content.
home | support | download

Back to List Archive

Re: Problem testing the new 2.2 version

From: Peggy Eaton <peaton(at)>
Date: Wed Sep 18 2002 - 17:42:42 GMT
Bill Moseley wrote:
> And just change it <mem.c> to:
> #define PointerAlignmentSize 8
> and then run make again.

Just FYI, I made the change to mem.c, and reram make and make test. 
Both seemed to work without problems:

daacdev2$ pwd

daacdev2$ gmake
making swish-e
(cd src; gmake)
gmake[1]: Entering directory `/usr/daac/dev/prgsrc/Swish-e/swish-e-2.2/src'
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o mem.o mem.c
ar cr libswish-e.a fs.o http.o httpserver.o extprog.o methods.o html.o 
txt.o xml.o expat/xmltok/xmltok.o expat/xmltok/xmlrole.o 
expat/xmlparse/xmlparse.o entities.o  index.o merge.o stemmer.o 
soundex.o filter.o parse_conffile.o swregex.o double_metaphone.o 
swish2.o search.o swish_words.o proplimit.o search_alt.o result_output.o 
rank.o hash.o compress.o db.o db_native.o ramdisk.o btree.o array.o 
check.o file.o error.o list.o mem.o string.o docprop.o metanames.o 
result_sort.o dump.o swish_qsort.o  date_time.o no_better_place_module.o
: libswish-e.a
gcc -o swish-e -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" 
-Iexpat/xmltok -Iexpat/xmlparse   -g -O2  swish.o keychar_out.o 
              libswish-e.a -lm -lm   -lz
chmod 755 swish-e
gmake[1]: Leaving directory `/usr/daac/dev/prgsrc/Swish-e/swish-e-2.2/src'
swish-e done
making swish-search
cp -f src/swish-e src/swish-search
swish-search done
Now make test

daacdev2$ gmake test
(cd src; gmake test)
gmake[1]: Entering directory `/usr/daac/dev/prgsrc/Swish-e/swish-e-2.2/src'
Creating index...
** Five (5) tests follow...
test 1 (Normal search) ...
1000 ./test.html "If you are seeing this, the test was successful!" 437
155 ./test.xml "test.xml" 126
test 2 (MetaTag search 1) ...
1000 ./test_meta.html "If you are seeing this, the METATAG search 1 was 
successful!" 233
test 3 (MetaTag search 2) ...
1000 ./test_meta2.html "If you are seeing this, the METATAG search 2 was 
successful!" 264
test 4 (XML search) ...
1000 ./test.xml "test.xml" 126
test 5 (Phrase search) ...
1000 ./test_phrase.html "If you are seeing this, the PHRASE search was 
successful!" 159
  ** All tests completed! **

gmake[1]: Leaving directory `/usr/daac/dev/prgsrc/Swish-e/swish-e-2.2/src'
Received on Wed Sep 18 17:46:13 2002