Compiling redissearch on Centos 7.9

I am unable to compile redissearch module on centos 7.9 build. I have following

Redisbranch: v2.4.7
gcc (GCC) 11.2.1
GNU Make 4.3

Error I am getting lots of compilation error:

/usr/include/c++/4.8.2/bits/stl_uninitialized.h:128:70: error: ‘value’ is not a member of ‘std::is_assignable<std::basic_string<char>&, const char* const&>’
       const bool __assignable = is_assignable<_RefType2, _RefType1>::value;

Can somebody point me to compatible gcc version/headers for the build.

Building in a centos:7.9.2009 docker container:

docker run -it -v ~/RediSearch:/build bash
cd /build
./deps/readies/bin/getpy3
./sbin/system-setup.py
bash -l

And then:

CC=gcc CXX=g++ make

The CC=gcc CXX=g++ prefix is a workaround for a yet unfixed issue with CentOS 7.9.
The rest is the standard RediSearch build sequence.

@raffapen Thanks a lot. It’s working