illinois-ml-nlp-users AT lists.siebelschool.illinois.edu
Subject: Support for users of CCG software closed 7-27-20
List archive
- From: Steven Corman <steve.corman AT asu.edu>
- To: "illinois-ml-nlp-users AT cs.uiuc.edu" <illinois-ml-nlp-users AT cs.uiuc.edu>
- Subject: [Illinois-ml-nlp-users] Solved: FEX compile errors (with list of edits)
- Date: Tue, 10 May 2011 16:11:31 -0700
- Accept-language: en-US
- Acceptlanguage: en-US
- 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>
After several hours of work and a lot of help from Lars Buitinck, I was able to get a successful compile of lex. In hopes of saving someone else from this fate, here are the changes I made. This is for Fedora Core 14; on other distros your mileage may vary.
· Make sure you have the “C++ support libraries for GCC” (gcc-c++) installed · FexParams.cpp: add #include <stdlib.h> and #include <string.h> in the includes section at the top · Networks.cpp & Parser.cpp: add include for string.h · Sensor.h: add include for stdlib.h · Sensor.cpp: change line 478 to const char *tmp=NULL; · Makefike: on line 17 delete -lfl
I’m not 100% sure I have a complete list of the added includes. If you try it and get errors that say something was “not defined in this scope,” at the top of the flagged file add an include for string.h if the offending element begins with “str” or for stdlib.h oterhwise.
Finally, you do not need to run gmake test or gmake install. Once gmake runs normally you should have a working executable.
Happy compiling…
Steve
____________________________________________________________ Steven R. (Steve) Corman Herberger Professor, Hugh Downs School of Human Communication Director, Consortium for Strategic Communication Arizona State University http://www.public.asu.edu/~corman
|
- [Illinois-ml-nlp-users] Solved: FEX compile errors (with list of edits), Steven Corman, 05/10/2011
- Re: [Illinois-ml-nlp-users] Solved: FEX compile errors (with list of edits), Mark Sammons, 05/10/2011
- Re: [Illinois-ml-nlp-users] Solved: FEX compile errors (with list of edits), Mark Sammons, 05/12/2011
Archive powered by MHonArc 2.6.16.