At 15:35 23.04.2002, you wrote:
>I would appreciate such documentation.

Rough steps for 1.2.8 (last stable) and 1.2.9pre (development):

1. Download  last stable and development tar.gz files.

2. Create source directory, here: /usr/local/src.

3. Uncompress and tar into source directory, thus
creating /usr/local/src/aspseek-1.2.8 and ...1.2.9.

4. Create a helper script MyMake.sh in ...1.2.8

# --------- start  of MyMake.sh ------------------#

## Uncomment all lines starting with #, if needed
## Run this script as root

## Have a look, might be different on your box.

export PGM_DIR=/usr/local/aspseek128
export DATA_DIR=$PGM_DIR/data
export MYSQL_DIR=/usr/local/mysql
export HTTP_DOC_DIR=/usr/local/httpd/htdocs
export HTTP_SCRIPT_DIR=/usr/local/httpd/cgi-bin

# Configure Aspseek for use with German umlauts and with
# separate data directory

./configure \
    --prefix=$PGM_DIR \
    --with-mysql=$MYSQL_DIR \
    --enable-charset-guesser \
    --enable-unicode \
    --enable-font-size \
    --localstatedir=$DATA_DIR

make

make install

## Edit misc/aspseek-mysql-postinstall
## Change database name to aspseek128 (for 1.2.8)

cp $PGM_DIR/sbin/aspseek-mysql-postinstall 
$PGM_DIR/sbin/aspseek-mysql-postinstall.orig
vi $PGM_DIR/sbin/aspseek-mysql-postinstall

# echo "Drop database aspseek128 ..."
# $MYSQL_DIR/bin/mysqladmin -u root drop aspseek128

export PATH=$PATH:$MYSQL_DIR/bin
sh $PGM_DIR/sbin/aspseek-mysql-postinstall

mkdir $HTTP_DOC_DIR/img

# Copy files into Apache htdocs and cgi-bin area
mkdir $HTTP_SCRIPT_DIR/aspseek129
cp $PGM_DIR/bin/s.cgi $HTTP_SCRIPT_DIR/aspseek129
cp -R etc/img/*       $HTTP_DOC_DIR/img

# Change owner and group to wwwrun (uid > 100, this is my httpd user)
chown -R wwwrun $HTTP_DOC_DIR
chown -R wwwrun $HTTP_SCRIPT_DIR

# Add ispell files, download from other location
#mkdir $PGM_DIR/etc/ispell
# cp <ispell-files> $PGM_DIR/etc/ispell

chown -R wwwrun $DATA_DIR $PGM_DIR

## If there is more time ;:)

# Add more stopwords ...
# Edit s.htm ...
# Polish aspseek.conf and searchd.conf

# --------- end of MyMake.sh ------------------#

5. Run this helper script.

6. Go to program directory, /usr/local/aspseek128,
and edit etc/aspseek.conf and etc/searchd.conf.

7. Edit etc/s.htm by including:
# Listen on port 12348 for version 128
DaemonAddress 127.0.0.1:12128

8. Start sbin/index and sbin/searchd (searchd -R -D).

9. Try http://localhost/cgi-bin/aspseek128/s.cgi

10. Do everything for the 1.2.9 src and watch out to change 128 to 129.
...

Hope this helps.

Regards Frank Elsner
#-------------------------------------------------------#
Dipl.-Math. Frank Elsner
Universitaet Osnabrueck (University of Osnabrueck)
- Rechenzentrum - (Computing Center)
Albrechstrasse 28, AVZ
D-49076 Osnabrueck
Deutschland (Germany)

Tel. (Phone): ++49 (0)541/969-2343 Fax: -2470
E-Mail: [EMAIL PROTECTED]
#-------------------------------------------------------#

Reply via email to