I have a fresh OpenACS installation and I tried to set up OpenFTS driver for it.
However, make doesn't work, though I've tried to change Makefile.global the right way (INC = ../include -I/usr/include)
In file included from Snowball.c:7:
../../include/fts.h:16: tcl.h: No such file or directory
make[2]: *** [Snowball.o] Error 1
make[2]: Leaving directory `/usr/local/src/Search-OpenFTS-tcl-0.3.1/dict/snowball'
make[1]: *** [snowball] Error 2
make[1]: Leaving directory `/usr/local/src/Search-OpenFTS-tcl-0.3.1/dict'
make: *** [dicts] Error 2
[nsadmin@swissnet Search-OpenFTS-tcl-0.3.1]$ locate tcl.h
etc...
/usr/include/tcl.h
etc...
I'm not sure if I have the right version (0.3.1) of Search-openfts-tcl, but I think so because the driver is pointing by default to 0.3.1 source folder.
When I didn't manage to get the driver built, I tried to point openacs to old 0.2 dir. After that, when I submitted the form in driver initialization, I got the following error:
Database operation "dml" failed
while executing
"error "$err""
invoked from within
"if [catch {
db_dml create_table "create table $table_name ( ${table_id} int not null primary key, path varchar unique, fts_index txtidx, last_modi..."
("uplevel" body line 21)
invoked from within
"uplevel {
ad_page_contract {
Initialize OpenFTS
@author Neophytos Demetriou
OK, this doesn't really tell a lot about the reason, but maybe someone knows why there's an error in the first place (inconcistency with 0.2 driver, etc)...
I have found just one old chat discussion concerning this issue, but it wasn't of help at the end. So I'm not sure which version of openfts should be used and would be very thankful of any help getting the right one compiled.