Forum OpenACS Q&A: Error with tsearch

Collapse
Posted by Luis Garcia on
I get this error while making tsearch:

***
ERROR: `flex' is missing on your system. It is needed to create the
file `parser.c'. You can either get flex from a GNU mirror site
or download an official distribution of PostgreSQL, which contains
pre-packaged flex output.
***
make: *** [parser.c] Error 1

But the thing is that flex is installed!
Any ideas?
Thanx

Collapse
2: Re: Error with tsearch (response to 1)
Posted by Dave Bauer on
What version of OpenACS and PostgreSQL are you using? If you have OpenACS 5.1.x and PostgreSQL 7.4 you can try the tsearch2-driver which is much easier to install and also seems to be faster, although I haven't done any formal tests.

It just requires the tsearch2 contrib module for PostgreSQL, so if you can compile PG, you can install tsearch easily.