Bison and flex are available at GNU FTP Site and its mirrors.
Do
# ./configure --prefix=/my/directory/harvest
# make
# make install
On some systems, building Harvest may fail with following message:
Making all in util
gcc -I../include -I./../include -c buffer.c
In file included from ../include/config.h:350,
from ../include/util.h:112,
from buffer.c:86:
/usr/include/regex.h:46: syntax error before `regoff_t'
/usr/include/regex.h:46: warning: data definition has no type or storage class
/usr/include/regex.h:56: syntax error before `regoff_t'
*** Error code 1
If you get this error, edit src/common/include/autoconf.h
and add "#define USE_GNU_REGEX 1" before typing make
to build
Harvest.
See FreshPorts Harvest page http://www.freshports.org/www/harvest/ for more informations about building Harvest on FreeBSD.