Skip to main content.
home | support | download

Back to List Archive

Re: Help with Mac OS X install

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Wed Sep 04 2002 - 21:21:18 GMT
At 02:07 PM 09/04/02 -0700, Cori Diller wrote:
>My first question has to do with downloading the proper file(s). I've
>downloaded the 'swish-e-2.0.5-MacOSX.gz' file, but what do I do with it once
>it's extracted?

No, don't use that one.

Do this:

$ wget http://swish-e.org/Download/swish-e-2.2rc1.tar.gz
$ tar zxof swish-e-2.2rc1.tar.gz
$ cd swish-e-2.2rc1
$ ./configure
$ make test    ( ignore all the warnings )

at the end if you see:

  ** All tests completed! **

you have built it.

Then either copy src/swish-e to someplace interesting (like a directory in
your path) or su to root and type

# make install
# exit
$

which will install /usr/local/bin/swish-e

Now for a test:

bash-2.05a$ src/swish-e -i html/*.html

Indexing Data Source: "File-System"
Indexing "html/CHANGES.html"
Indexing "html/INSTALL.html"
Indexing "html/README.html"
Indexing "html/SWISH-3.0.html"
Indexing "html/SWISH-BUGS.html"
Indexing "html/SWISH-CONFIG.html"
Indexing "html/SWISH-FAQ.html"
Indexing "html/SWISH-LIBRARY.html"
Indexing "html/SWISH-PERL.html"
Indexing "html/SWISH-RUN.html"
Indexing "html/SWISH-SEARCH.html"
Indexing "html/index.html"
Indexing "html/index_long.html"
Removing very common words...
no words removed.
Writing main index...
Sorting words ...
Sorting 2696 words alphabetically
Writing header ...
Writing index entries ...
  Writing word text: Complete
  Writing word hash: Complete
  Writing word data: Complete
2696 unique words indexed.
4 properties sorted.                                              
13 files indexed.  436495 total bytes.  42608 total words.
Elapsed time: 00:00:02 CPU time: 00:00:00
Indexing done!
bash-2.05a$ src/swish-e -w IndexDir
# SWISH format: 2.2rc1
# Search words: IndexDir
# Number of hits: 4
# Search time: 0.003 seconds
# Run time: 0.116 seconds
1000 html/SWISH-CONFIG.html "SWISH-Enhanced: SWISH-CONFIG - Configuration
File Directives" 132754
898 html/SWISH-RUN.html "SWISH-Enhanced: SWISH-RUN - Running Swish-e and
Command Line Switches" 48253
856 html/SWISH-FAQ.html "SWISH-Enhanced: The Swish-e FAQ - Answers to
Common Questions" 67072
834 html/INSTALL.html "SWISH-Enhanced: INSTALL - Swish-e Installation
Instructions" 56497
.






-- 
Bill Moseley
mailto:moseley@hank.org
Received on Wed Sep 4 21:25:42 2002