Skip to Content.
Sympa Menu

illinois-ml-nlp-users - [Illinois-ml-nlp-users] Help with installing curator 1.1.3

illinois-ml-nlp-users AT lists.cs.illinois.edu

Subject: Support for users of CCG software closed 7-27-20

List archive

[Illinois-ml-nlp-users] Help with installing curator 1.1.3


Chronological Thread 
  • From: Carmen Banea <carmen.banea AT gmail.com>
  • To: illinois-ml-nlp-users AT cs.uiuc.edu
  • Subject: [Illinois-ml-nlp-users] Help with installing curator 1.1.3
  • Date: Sat, 15 Nov 2014 00:00:23 -0000
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/illinois-ml-nlp-users/>
  • List-id: Support for users of CCG software <illinois-ml-nlp-users.cs.uiuc.edu>

Hi!

I have been trying to install curator for research purposes, but I hit a roadblock (I am using Ubuntu 12.04). I installed Thrift version 0.8.0 as instructed, but some of the thrift components cannot be found at the location indicated.

Basically, the binary for thrift is installed in /usr/local/bin/thrift.
There is another thrift folder under /usr/local/include/thrift, that only includes (all files):
async     config.h protocol  TApplicationException.h  TLogging.h transport
concurrency  processor server  Thrift.h   TProcessor.h  TReflectionLocal.h
And thrift itself was installed in ~/thrift-0.8.0/. Only here I can find compiler and lib subfolders. However, it does not have a bin subfolder.

Thus, I set THRIFT_ROOT to ~/thrift-0.8.0/

and modified the setEnvVars.sh script as follows:
export THRIFT_CPP_INTERFACE_HOME="${CURATOR_HOME}/curator-interfaces/gen-cpp"
export THRIFT_COMPILER_ROOT="${THRIFT_ROOT}/compiler/cpp"
export THRIFT_CPP_ROOT="${THRIFT_ROOT}/lib/cpp/"
export THRIFT_LIB_DIR="${THRIFT_ROOT}/lib"
export THRIFT_CPP_INCLUDE="/usr/local/include/thrift/"

When I run 'ant dist' everything builds fine, and only at the very end I get an error message regarding the Charniak parser. The problem arises when I try to run ' make charniakThriftServer'. I get several errors due to declarations with no type, and some classes have some API inconsistencies:
/local/carmen/curator-1.1.3/curator-interfaces/gen-cpp/Parser.cpp:289:13: error: '€˜class cogcomp::thrift::parser::ParserProcessor'€™ has no member named '€˜eventHandler_'
/local/carmen/curator-1.1.3/curator-interfaces/gen-cpp/Parser.cpp:290:17: error: '€˜class cogcomp::thrift::parser::ParserProcessor' has no member named '€˜eventHandler_'
/local/carmen/curator-1.1.3/curator-interfaces/gen-cpp/Parser.cpp:292:3: error: 'TProcessorContextFreer'€™ is not a member of '€˜apache::thrift'€™
/local/carmen/curator-1.1.3/curator-interfaces/gen-cpp/Parser.cpp:292:42: error: expected '€˜;'€™ before '€˜freer'€™

It turns out that the Charniak parser requires thrift 0.4.0, and after I install that one as well, and modify the setEnvVars.sh script accordingly, the Charniak make API related errors go away, but the set up for curator gets modified, so it does not build anymore.

I would greatly appreciate your help with getting it working! 

Many thanks,
Carmen

--
Carmen Banea
Postdoctoral Fellow
Electrical Engineering and Computer Science
University of Michigan
 



  • [Illinois-ml-nlp-users] Help with installing curator 1.1.3, Carmen Banea, 11/14/2014

Archive powered by MHonArc 2.6.16.

Top of Page