Skip to content

Installation error #1

@amansinha09

Description

@amansinha09

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions