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
On running the
makecommand from Dockerfile, I get the following error message: