Forum OpenACS Q&A: I'm lying to you:-(

Collapse
5: I'm lying to you:-( (response to 1)
Posted by Ola Hansson on
Doh! The actual error message goes as follows (in my attempt to resolve this I'd been stupid enough to put a semicolon at the beginning of line 16 of ../include/fts.):
nsadmin@hal:/usr/local/src/Search-OpenFTS-tcl-0.2$ make
(cd parser; make all)
make[1]: Entering directory `/usr/local/src/Search-OpenFTS-tcl-0.2/parser'
gcc -c -I. -fPIC -I../include Parser.c -o Parser.o
In file included from Parser.c:28:
../include/fts.h:16: tcl.h: No such file or directory
make[1]: *** [Parser.o] Error 1
make[1]: Leaving directory `/usr/local/src/Search-OpenFTS-tcl-0.2/parser'
make: *** [parser] Error 2
nsadmin@hal:/usr/local/src/Search-OpenFTS-tcl-0.2$ 
Here is the beginning of /usr/local/src/Search-OpenFTS-tcl-0.2/include/fts.h ...
#include 
#include 
#include "deflex.h"
#include "parser.h"
#include "stem_english.h"
#include "crc32.h"

#ifdef WITH_AOLSERVER
#define USE_TCL8X
#include 
#include 
#define LOCK_MUTEX Ns_MutexLock(&lock);
#define UNLOCK_MUTEX Ns_MutexUnlock(&lock);
#define FTS_EXPORT
#else
#include "tcl.h"                  <-- line 16 of include/fts.h
#define LOCK_MUTEX
#define UNLOCK_MUTEX
#define FTS_EXPORT static
#endif