Forum OpenACS Q&A: Response to OpenFTS search and PostgreSQL 7.2

Collapse
Posted by Vinod Kurup on
Hey Ola!

I have successfully gotten OpenFTS working with PG7.2. You overcame the first problem -- PG 7.2's make install-all-headers installs the headers into /usr/local/pgsql/include/server instead of /usr/local/pgsql/include.

The error that you're getting occurs because ./configure doesn't properly detect where your tcl includes are. Did you follow step 3 in my OpenFTS install instructions? You need to edit Makefile.global so that the line starting with INC looks like this.

INC      = ../include -I/usr/include/tcl8.3
This will point to the proper TCL includes on Debian. Compiling should now work. (This is not the best solution -- I should probably edit the ./configure script)

The next problem will be that the packages/openfts-driver/sql/postgresql/load.sql file has the PG location hardcoded, so you'll need to adjust that before you load it into your db.

Good luck!