Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make error for CRF++-0.51 #53

Open
ritwikmishra opened this issue Jun 10, 2022 · 0 comments
Open

Make error for CRF++-0.51 #53

ritwikmishra opened this issue Jun 10, 2022 · 0 comments

Comments

@ritwikmishra
Copy link

I am trying to install CRF++-0.51 for an old shallow parser. It requires CRF++-0.51.

When I run the installation instructions (written in INSTALL file), I observed that the command failed at the make step of CRF++

I tried to install CRF++-0.51 separately from the official website. I followed these commands: cd Downloads/CRF++-0.51/ --> ./configure --> make but I observed the same error which is as follows.

Makefile:375: recipe for target 'feature_index.lo' failed
make[1]: *** [feature_index.lo] Error 1
make[1]: Leaving directory '/home/ritwik/Downloads/CRF++-0.51'
Makefile:240: recipe for target 'all' failed
make: *** [all] Error 2

The file mentioned above is present in the directory

$ ls feature*
feature_cache.cpp  feature_cache.h  feature_cache.lo  feature_cache.o  feature.cpp  feature_index.cpp  feature_index.h  feature_index.loT  feature.lo  feature.o

However CRF++-0.58 installs successfully. Unfortunately, the shallow parser is not able to run on it.

$ shallow_parser_hin < INPFILE > OUTFILE
/home/ritwik/sampark/shallow_parser_hin/bin/sl/morph/hin/morph_hin.exe: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
Can't open /tmp/sl21031.out: No such file or directory at /home/ritwik/sampark/shallow_parser_hin/bin/sl/morph/hin/addsentencetag.pl line 4.
  File "/home/ritwik/sampark/shallow_parser_hin/bin/sl/guess-morph/hin/guess_morph.py", line 5
    print 'Arguments missing\nPlease provide input and output files'
                                                                   ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Arguments missing\nPlease provide input and output files')?

The shallow parser issue is not related to this repository. I just want to know why there is a make error for installing CRF++-0.51.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant