unable to build for centos6.4 glibc-2.12

Hello folks,

I’m having hard time compiling redisearch on centos6.4 with glibc-2.12 at work, though it successfully built on Ubuntu16.4 and glibc-2.14.

its giving me cc1:warning: unrecognized command line option “-Wno-unused-result”

can anyone please help me!

Thanks in advance!


attached log file, apologies for the formatting

scratch.txt (6.42 KB)

As I’ve answered on Github, this seems to be an old compiler that doesn’t support some of the features we’re using. Try a newer version of CentOs.

I would actually suggest that you just use Docker and run it from there.