rabbitmq / erlang-rpm

Latest Erlang/OTP releases packaged as a zero dependency RPM, just enough for running RabbitMQ
https://rabbitmq.com/install-rpm.html
Other
545 stars 117 forks source link

Does this project support mips64el? #91

Closed packyzbq closed 4 years ago

packyzbq commented 4 years ago

I am trying to build erlang-rpm on mips64 architechture. And I enconter the problem as follows when I run make

configure: error: in `/root/erlang-rpm/BUILD/otp-OTP-22.3.4.4/erts':
configure: error: --enable-systemd was given, but test for systemd failed
See `config.log' for more details
ERROR: /root/erlang-rpm/BUILD/otp-OTP-22.3.4.4/erts/configure failed!
./configure: line 343: kill: (-29167) - No such process
error: Bad exit status from /root/erlang-rpm/tmp/rpm-tmp.UlnrrP (%build)

RPM build errors:
    Bad exit status from /root/erlang-rpm/tmp/rpm-tmp.UlnrrP (%build)
Makefile:50: recipe for target 'erlang' failed
make: *** [erlang] Error 1

erlang OTP version: 22.3.44 os release:

NAME=Fedora
VERSION="21 (Twenty One)"
ID=fedora
VERSION_ID=21
PRETTY_NAME="Fedora 21 (Twenty One)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:21"
HOME_URL="https://fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=21
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=21
michaelklishin commented 4 years ago

Our team only produces releases for amd64 (x86-64). Take a closer look at the message and you will see that it says

configure: error: in `/root/erlang-rpm/BUILD/otp-OTP-22.3.4.4/erts':
configure: error: --enable-systemd was given, but test for systemd failed

so the problem here is not that of the architecture but rather the systemd check fails on your Fedora version. Our team uses CentOS 8 and 7 to produce binary amd64 builds. You should use a comparable release. Fedora 21 is a version from 2014.