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

Installation error #1

Open
amansinha09 opened this issue Jun 29, 2022 · 0 comments
Open

Installation error #1

amansinha09 opened this issue Jun 29, 2022 · 0 comments

Comments

@amansinha09
Copy link

On running the make command from Dockerfile, I get the following error message:

configfile.cc: In member function 'bool freeling::config_file::get_content_line(std::wstring&)':
configfile.cc:141:20: error: cannot convert 'std::basic_istream<wchar_t>' to 'bool' in initialization
  141 |     bool pr=getline(filestr,line);
      |             ~~~~~~~^~~~~~~~~~~~~~
      |                    |
      |                    std::basic_istream<wchar_t>
configfile.cc:224:17: error: cannot convert 'std::basic_istream<wchar_t>' to 'bool' in assignment
  224 |       pr=getline(filestr,line);
      |          ~~~~~~~^~~~~~~~~~~~~~
      |                 |
      |                 std::basic_istream<wchar_t>
make[2]: *** [Makefile:907: configfile.lo] Error 1
make[2]: Leaving directory '/tmp/freeling-3.1/src/libfreeling'
make[1]: *** [Makefile:255: all-recursive] Error 1
make[1]: Leaving directory '/tmp/freeling-3.1/src'
make: *** [Makefile:335: all-recursive] Error 1
The command '/bin/sh -c apt-get update &&     apt-get install -y --no-install-recommends build-essential libboost-all-dev wget &&     apt-get clean &&     wget -O /tmp/freeling-3.1.tar.gz http://devel.cpl.upc.edu/freeling/downloads/32 &&     cd /tmp &&     tar -zxf freeling-3.1.tar.gz &&     cd /tmp/freeling-3.1 &&     ./configure &&     make &&     make install &&     rm -rf /tmp/freeling-3.1.tar.gz /tmp/freeling-3.1' returned a non-zero code: 2

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