I'm trying to compile CRF++ v0.51 which comes with ParsCit. configure
does not show anything missing, however, when I try to make
I get this error:
make all-am
make[1]: Entering directory `/path/to/parscit/crfpp/CRF++-0.51'
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O3 -Wall -Wno-deprecated -c -o node.lo node.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -Wno-deprecated -c node.cpp -fPIC -DPIC -o .libs/node.o
In file included from node.h:13:0,
from node.cpp:9:
path.h:26:52: error: 'size_t' has not been declared
make[1]: *** [node.lo] Error 1
make[1]: Leaving directory `/path/to/parscit/crfpp/CRF++-0.51'
make: *** [all] Error 2
I was able to compile the newer version CRF++ v0.58 but ParsCit seems to need that v0.51.
You should try adding
#include<iosteream>
in the 'node.cpp' file and compile crf++ again, as instructed in troubleshooting page. Hope that helps.