Open aknarts opened 3 years ago
If you show us the all the content of the mkmf.log
, we might see some hints.
Which ruby is used on the CentOS 6? The ruby built from the source or a RPM package? What mysql/mariadb library (devel) is used?
I have not checked the CentOS6 environment. I just show you the possible RPM packages you might need.
# yum install redhat-rpm-config gcc gcc-c++
# yum install mariadb-devel mariadb-server
# yum install ruby-devel
# yum install rh-ruby27-ruby-devel
This file is not present in gcc 4.4.7 which is the latest available. But the strange thing is that the gcc version does not change between the ruby versions.
What perplexes me here is the gcc 7.3.1, is that the version ruby was build with? That would explain the expected library that is there.
In your environment, both gcc 4.4.7 and gcc 7.3.1 are installed? How the gcc 7.3.1 is installed? I guess the gcc 4.4.7 is installed in /usr/bin/gcc
.
Maybe you need to show more command logs to show your environment such as gcc --version
, and the gcc related environment variables such as CFLAGS
, CC
.
Hello,
I have been fighting with this for a while now and I am at a loss. For whatever reason the plugin refuses to build on never versions of ruby on our system.
The core issue is that it is unable to include stdalign.h (from mkmf.log)
This file is not present in gcc 4.4.7 which is the latest available. But the strange thing is that the gcc version does not change between the ruby versions.
This is the output of the RbConfig on 2.3
This is the same on 2.7
What perplexes me here is the gcc 7.3.1, is that the version ruby was build with? That would explain the expected library that is there.
Any hints what I might be doing wrong? Or do we need to ditch Centos 6 for this to work? The header file is present on Centos 7+.