Closed dalgibbard closed 6 years ago
It was fixed in my otp-fix branch too but I suggest you to use OTP-17 fix from #24
I'll test this alongside #24 once the directory thing is sorted :)
Out of interest; do we know what the specific cause of this is? ie. Is it something that can be detected and applied (or requested) automatically?
Just to give more details on this problem. Since last update of OpenSSL due to security bug fix, RedHat / CentOS packages produce errors in some conditions if Elastic Curves is used in SSL. Elastic Curves can be disabled in build with:
rake erl_cflags="-DOPENSSL_NO_EC=1"
But this solution is not recommended at production. So I think it isn't a good idea to push it automatically.
It doesn't build at all without it though in the aforementioned cases... Even if we only prompt the user about it, else they won't find out this is an issue until they've finished the entire build, and attempted to run CouchDB? idk...
This fixes it anyway btw; @jhs please merge! (#29)
This is a bit of an old issue but I found that adding
erl_cflags="-DOPENSSL_NO_EC=1"
didn't seem to have any effect. I just added it directly to the rake task
sed -i 's/#{cflags}/#{cflags} -DOPENSSL_NO_EC=1/g' tasks/erlang.rake
Closing as this all referrers to old stuff :)
Hi all, It would seem that if you build CouchDB (tested version 1.4 and 1.6) against Erlang R16B0x (Tested B03 and B03-1) on CentOS 6.4 / 6.5 x86_64, the completed build fails to start, with the error featured in: http://erlang.org/pipermail/erlang-questions/2014-February/076760.html
To fix, add to tasks/erlang.rake:44
“-DOPENSSL_NO_EC=1″