replaced original SFWAISOBJ with:
SFWAISOBJ = ../regexp/libregexp.a ../ir/libinv.a ../ir/libclient.a \ ../ir/libwais.a ../ir/liblocal.a ../ir/libsig.a \ ../ui/source.o ../lib/libftw.a
SFWAISOBJ = ../ir/libinv.a ../ir/libclient.a ../ir/libwais.a \ ../ir/liblocal.a ../ir/libsig.a ../ui/source.o \ ../regexp/libregexp.a ../lib/libftw.a
run configure in freeWAIS-sf-1.0
For the following configure questions, 'required' means that I had to use that value to get gopher to work with freewais-sf. 'doesn't matter' means that the decision is up to you...
Do you want to use your systems regexp.h (no)? no <-- required Will you have HEADLINE files greater than 16 MB (no)? no <-- doesn't matter Use your systems ctype (no)? yes <-- required Do you want to compile with -DLOCAL_SEARCH (yes)? yes <-- required Do you want to use the modified URL handling (no)? no <-- doesn't matter Where should the installation go (/usr/local/wais)? (specify your own path) Do you want to use shm cache (no)? no <-- doesn't matter Disable the UDP packet sending (no)? no <-- doesn't matter
make freewais-sf-1.0 ...create symbolic links to in gopher2_1_1 to the appropriate freewais-sf directories...
ln -s ../freeWAIS-sf-1.0/ir ln -s ../freeWAIS-sf-1.0/ui ln -s ../freeWAIS-sf-1.0/lib ln -s ../freeWAIS-sf-1.0/regexp
Edit gopher2_1_1/Makefile.conf gopher2_1_1/conf.h as necessary for your system and site.
Make sure to uncomment -DFREEWAIS_SF in Makefile.conf !
In the case of an index type not recognized error, test an index on an database that has been reindexed using the newly compiled waisindex in freeWAIS-sf-1.0/ir (as opposed to gopherindex) just to make sure that there really still is a problem...
Use "waisindex -export ..." It is important that the host and port information is compiled into the *.src file, EVEN IF THE SEARCHES ARE LOCAL! I have my gopher, wais , and all the databases all on the same machine. It is also important that the waisserver is running.