Skip to main content.
home | support | download

Back to List Archive

Re: Can't compile Swish-e 1.3.2 on FreeBSD 4.2.1

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri May 11 2001 - 17:29:42 GMT
At 10:12 AM 05/11/01 -0700, Jack Of Swords wrote:
>Any Ideas?

Well, not on 4.2.1, but:

50) ~ %uname -a
FreeBSD fpage3.ba.best.com 2.2.8-STABLE FreeBSD 2.2.8-STABLE #128: Fri Jan
12 10:17:00 PST 2001     ejh@tick.best.net:/src/src/sys/compile/BEST  i386

[oops, the version number is incorrect on the tar -- shoud be fixed when
you chaeck....]

51) ~ %wget
http://sunsite.berkeley.edu:4444/swish-daily/swish-e-2.1-dev-20-2001-05-11.t
ar.gz
--10:24:07--
http://sunsite.berkeley.edu:4444/swish-daily/swish-e-2.1-dev-20-2001-05-11.t
ar.gz
           => `swish-e-2.1-dev-20-2001-05-11.tar.gz.1'
Connecting to sunsite.berkeley.edu:4444... connected!
HTTP request sent, awaiting response... 200 OK
Length: 591,530 [application/octet-stream]

    0K -> .......... .......... .......... .......... .......... [  8%]
   50K -> .......... .......... .......... .......... .......... [ 17%]
  100K -> .......... .......... .......... .......... .......... [ 25%]
  150K -> .......... .......... .......... .......... .......... [ 34%]
  200K -> .......... .......... .......... .......... .......... [ 43%]
  250K -> .......... .......... .......... .......... .......... [ 51%]
  300K -> .......... .......... .......... .......... .......... [ 60%]
  350K -> .......... .......... .......... .......... .......... [ 69%]
  400K -> .......... .......... .......... .......... .......... [ 77%]
  450K -> .......... .......... .......... .......... .......... [ 86%]
  500K -> .......... .......... .......... .......... .......... [ 95%]
  550K -> .......... .......... .......                          [100%]

10:24:08 (644.72 KB/s) - `swish-e-2.1-dev-20-2001-05-11.tar.gz.1' saved
[591530/591530]

52) ~ %gzip -dc swish-e-2.1-dev-20-2001-05-11.tar.gz | tar xof -
53) ~ %cd swish-e-2.1-dev-20
54) ~/swish-e-2.1-dev-20 %./configure
creating cache ./config.cache
checking for BSDgettimeofday... no
checking for gettimeofday... yes
checking whether #! works in shell scripts... yes
checking whether make sets ${MAKE}... yes
checking for perl... /usr/bin/perl
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for main in -lm... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for strings.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... no
checking for alloca... yes
checking for strftime... yes
checking for vprintf... yes
checking for re_comp... no
checking for regcomp... yes
checking for strdup... yes
checking for strstr... yes
checking for log in -lm... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating src/Makefile
creating src/acconfig.h
55) ~/swish-e-2.1-dev-20 %make
making swish-e
(cd src; make)
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c check.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c file.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c index.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c search.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c error.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c methods.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c hash.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c list.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c mem.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c string.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c merge.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c swish2.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c stemmer.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c soundex.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c docprop.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c compress.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c deflate.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c xml.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c txt.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c html.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c metanames.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c
result_output.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c
parse_conffile.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c
result_sort.c
result_sort.c: In function `resetModule_ResultSort':
result_sort.c:133: warning: unused variable `i'
result_sort.c:132: warning: unused variable `md'
result_sort.c: In function `configModule_ResultSort':
result_sort.c:168: warning: unused variable `w0'
result_sort.c:167: warning: unused variable `md'
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c filter.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c lst.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c
search_alt.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c
keychar_out.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c date_time.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c extprog.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c entities.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c fs.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c http.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c
httpserver.c
ar cr libswish-e.a check.o file.o index.o search.o error.o methods.o hash.o
list.o mem.o string.o merge.o swish2.o stemmer.o  soundex.o docprop.o
compress.o deflate.o xml.o txt.o html.o metanames.o result_output.o
parse_conffile.o result_sort.o filter.o lst.o search_alt.o keychar_out.o
date_time.o  extprog.o entities.o  fs.o http.o httpserver.o
ranlib libswish-e.a
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c swish.c
gcc -o swish-e -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\"
swish.o libswish-e.a -lm -lm
chmod 755 swish-e
cp -f swish-e swish-search
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\" -c testlib.c
gcc -o testlib -Wall -g -O2 -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.1-dev-21\"
testlib.o libswish-e.a -lm -lm
chmod 755 testlib
swish-e done
making swish-search
cp -f src/swish-e src/swish-search
swish-search done

Now make test

56) ~/swish-e-2.1-dev-20 %make test
(cd src; make test)

Creating index...
Indexing Data Source: "File-System"

** Five (5) tests follow...

test 1 (Normal search) ...
1000 ./test.html "If you are seeing this, the test was successful!" 437
200 ./test.xml "test.xml" 128

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" 128

test 5 (Phrase search) ...
1000 ./test_phrase.html "If you are seeing this, the PHRASE search was
successful!" 159

 ** All tests completed! **

57) ~/swish-e-2.1-dev-20 %


Bill Moseley
mailto:moseley@hank.org
Received on Fri May 11 17:30:04 2001