Closed kktlnx closed 4 months ago
If it's helpful, I just checked that the changes don't cause compilation errors on an older system (GCC 13.2.1 and ICU 72.4)
Same here.
Just ran into this, too. Tried the steps above, but the same error persists.
Just ran into this, too. Tried the steps above, but the same error persists.
Sorry to hear that, you can experiment with different flag settings too after a failed installation. A Makefile then appears in the directory and you can directly edit this file and compile with make
until you get it right. In my distribution Also I have the option of installing the older gcc and use them as separate commands, you can then also use that commands in the Makefile.
Actually just removing the flag altogether works for me as well. This should be preferred IMO, since the standard flags on a system should be fine.
As a workaround one can also use gem install charlock_holmes -- --with-cxxflags='#'
to comment out the following build flags :slightly_smiling_face:
I'm not certain if the error is directly related to the compiler itself (I'm using Arch GNU/Linux with gcc/g++ 14.1.1) as I've noticed a new issue with the ICU version mentioned (#172). The logs are as follows:
To fix this, I changed the 37th line in the extconf.rb file from
to
and then build again. Here are steps: