Closed vpanichkin closed 4 years ago
It didn't help, still, the issue exists.
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./build-aux -I. -I./include -pthread -DGTEST_HAS_PTHREAD=1 -Wno-unused-variable -MT src/gtest-all.lo -MD -MP -MF src/.deps/gtest-all.Tpo -c src/gtest-all.cc -fPIC -DPIC -o src/.libs/gtest-all.o
In file included from /usr/include/c++/5.1.1/type_traits:35:0,
from ./include/gtest/internal/gtest-port.h:253,
from ./include/gtest/internal/gtest-internal.h:40,
from ./include/gtest/gtest.h:60,
from src/gtest-all.cc:38:
/usr/include/c++/5.1.1/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \
^
In file included from ./include/gtest/internal/gtest-internal.h:40:0,
from ./include/gtest/gtest.h:60,
from src/gtest-all.cc:38:
./include/gtest/internal/gtest-port.h:830:12: error: 'std::get' has not been declared
using std::get;
^
...
The command '/bin/sh -c yum install -y --nogpgcheck libatomic libatomic_ops-devel && DIR=$(mktemp -d) && cd ${DIR} && git clone https://github.com/protocolbuffers/protobuf.git && cd protobuf && git submodule update --init --recursive && ./autogen.sh && ./configure CXXFLAGS=-Wno-unused-variable && make && make check && make install && ldconfig' returned a non-zero code: 2
Dear vpanichkin,
I encountered the same error as you described Since this case is closed, what is the answer to make docker build work?
Just run it outside of the cointainer
Hello, first of all, thank you very much for such a fascinating project:
I got an issue while installing via docker at step 6
Could someone suggest a solution for it?
UPD: There is temporal solution to add key
--nogpgcheck
to the RUN command in the script, but the script is needed to be rewritten