-$Id: test-server.notes,v 1.2 2005-12-14 09:30:26 mike Exp $
-
To run the test-suite, this module needs an up-to-date Zebra server
-(as of Tue Dec 13 17:41:05 GMT 2005) running on test.indexdata.com
-port 2118, using isam:b and recognising a normal user "user" with
+(as of Tue Dec 13 17:41:05 GMT 2005) running on z3950.indexdata.com
+port 2100, using isam:b and recognising a normal user "user" with
password "frog" and an administrator "admin" with password "fish".
-To provide this, I needed to build an up-to-date Zebra in a custom
-universe, so as not to interfere with the Debian packages used
-elsewhere on test, and to start the server with appropriate
-configuration. Here's how I did it:
+Long ago, when I first started to provide this, I needed to build an
+up-to-date Zebra in a custom universe, so as not to interfere with the
+Debian packages used elsewhere on test, and to start the server with
+appropriate configuration. Below are notes on how I did it, BUT NONE
+OF THIS SHOULD BE NECESSARY ANY MORE.
ssh test
- mkdir -p universe/usr/src
- cd universe/usr/src
+ mkdir -p universe/src
+ cd universe/src
cvs -q -d ":pserver:mike@bagel.indexdata.dk:/home/cvsroot" co yaz
cvs -q -d ":pserver:mike@bagel.indexdata.dk:/home/cvsroot" co zebra
cvs -q -d ":pserver:mike@bagel.indexdata.dk:/home/cvsroot" co ZOOM-Perl
cd yaz
./buildconf.sh
- LDFLAGS=-L/home/mike/universe/usr/lib CPPFLAGS=-I/home/mike/universe/usr/include ./configure --prefix=/home/mike/universe
+ LDFLAGS=-L/home/mike/universe/lib CPPFLAGS=-I/home/mike/universe/include ./configure --prefix=/home/mike/universe
make
+ make check
make install
cd ../zebra
./buildconf.sh
- LDFLAGS=-L/home/mike/universe/usr/lib CPPFLAGS=-I/home/mike/universe/usr/include ./configure --prefix=/home/mike/universe
+ LDFLAGS=-L/home/mike/universe/lib CPPFLAGS=-I/home/mike/universe/include ./configure --prefix=/home/mike/universe
make
+ make check
make install
cd ../ZOOM-Perl/archive
- sudo cp test-server.init /etc/init.d/zoom-perl-server
+ sudo cp -p test-server.init /etc/init.d/zoom-perl-server
+ sudo chmod +x /etc/init.d/zoom-perl-server
cd /etc/rc2.d
sudo ln -s ../init.d/zoom-perl-server S99zoom-perl-server
sudo /etc/init.d/zoom-perl-server start