Openfts does not use intarray anymore. For installation directions, read the AOLSERVER.INSTALL file in the Openfts-0.31. Briefly, you need to do the following:
Installation:
1. Install aolserver.
2. Build and install postgresql tsearch option from contrib directory.
3. Build aolserver module:
tar xvzf openfts-tcl-0.3.tar.gz
cd openfts-tcl-0.3
./configure --with-aolserver-src=DIR
cd aolserver
make
cp fts.so [aolserver bin directory]
cd ..
cp fts_*.tcl [aolserver tcl lib directory] (don't do this if installing with openacs)
(if not installing with openacs4 use: cp aolserver/test/10-database-procs.tcl [aolserver tcl lib dir])
cd PGSQL_SRC_HOME/contrib/tsearch
make
make install
psql template1 < tsearch.sql
cp -r pgsql_contrib_openfts PGSQL_SRC_HOME/contrib
cd PGSQL_SRC_HOME/contrib/pgsql_contrib_openfts
make
make install
psql template1 < openfts.sql (installing in template1 makes openfts available to all new dbs that are created - if you don't want openfts in all of your newly created dbs, then only load this file into the db you want to use openfts with)
4. Edit nsd.tcl file and add entry for fts module:
ns_section "ns/server/${server}/modules"
ns_param nssock ${bindir}/nssock.so
ns_param nslog ${bindir}/nslog.so
...
ns_param nsfts ${bindir}/nsfts.so