At 10:12 26.09.2001, you wrote:
>First, note the absence of = between --prefix and $PGM_DIR.
>Second, can you tell me what are the values of $PGM_DIR and $DATA_DIR?
Oops, sorry for this mistake - and indeed, this (missing =) was the reason for
the failure. The corrected script follows:
---
## Run this script as root
## This script creates a test installation of aspseek which can
## be used in parallel to a a production environment.
PGM_DIR=/usr/local/aspseek-test
DATA_DIR=/data/aspseek-test
mkdir $DATA_DIR
# Configure Aspseek for use with German umlauts and with
# separate data directory
./configure \
--prefix=$PGM_DIR \
--with-mysql=/usr/local/mysql \
--enable-charset-guesser \
--enable-unicode \
--enable-font-size \
--localstatedir=$DATA_DIR
make
#make install
## Edit misc/aspseek-mysql-postinstall as follows:
## Add path to mysql binaries:
## PATH=$PATH:/usr/local/mysql/bin
## Rename database name to aspseek-test:
# vi misc/aspseek-mysql-postinstall
## Run postinstall script to create new database:
# misc/aspseek-mysql-postinstall
# Copy files into Apache htdocs and cgi-bin area
# cp $PGM_DIR/bin/s.cgi /usr/local/apache/cgi-bin/s-test.cgi
# cp $PGM_DIR/bin/s.cgi /usr/local/apache/cgi-bin/s2-test.cgi
# cp -R etc/img/* /usr/local/apache/htdocs/Design/Icons
# Change owner and group to wwwrun (uid > 100, my httpd user)
#chown -R wwwrun.wwwrun /usr/local/apache/cgi-bin
#chown -R wwwrun.wwwrun /usr/local/apache/htdocs
#mkdir $PGM_DIR/etc/ispell
# cp <ispell-files> $PGM_DIR/etc/ispell
# chown -R wwwrun.wwwrun $DATA_DIR $PGM_DIR
... more lines with my modifications (searchd port number, parser integration,
ucharset definition, ...)
---
Thank you for your help.
Frank
#-------------------------------------------------------#
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]
#-------------------------------------------------------#