Skip to main content.
home | support | download

Back to List Archive

Re: Help with Mac OS X install

From: Roy Tennant <roy.tennant(at)not-real.ucop.edu>
Date: Wed Sep 04 2002 - 21:54:15 GMT
Note that you first must startup the "Terminal" app and enter the 
commands below at the prompt. Also, if you're not logged in as root, 
you will need to preface most of those commands with "sudo" and then 
you will be prompted for your password the first time. For example:

sudo wget http://swish-e.org/Download/swish-e-2.2rc1.tar.gz

Finally, I just installed OS X 10.2, and word is that their gcc 
compiler version 3.x? has introduced some incompatibilities with some 
software. Has anyone out there successfully compiled SWISH-E under 10.2?
Roy

On Wednesday, September 4, 2002, at 02:21 PM, Bill Moseley wrote:

> 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:58:02 2002