I’m trying to build the source of zcash on my RHEL system.
The system is running CentOS 7.3.1611.
I’ve got all the required software installed as per the guide on github (gcc, devtoolset, autotools etc.)
However the build still fails with error
GNU assembler version 2.25.1-22.base.el7
Copyright (C) 2014 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-redhat-linux’.
ld -v
GNU ld version 2.25.1-22.base.el7
HOST=HOST_NAME
BUILD=x86_64-unknown-linux-gnu
NO_RUST=–enable-rust=no
NO_PROTON=–enable-proton=no
make -j4 -C ./depends/ V=1
Invalid configuration HOST-NAME': machine HOST-NAME’ not recognized
make: Entering directory /ZCash/zcash-1.0.11/depends' Makefile:68: hosts/.mk: No such file or directory sha256sum: hosts/.mk: No such file or directory sha256sum: hosts/.mk: No such file or directory sha256sum: hosts/.mk: No such file or directory sha256sum: hosts/.mk: No such file or directory sha256sum: hosts/.mk: No such file or directory sha256sum: hosts/.mk: No such file or directory sha256sum: hosts/.mk: No such file or directory sha256sum: hosts/.mk: No such file or directory sha256sum: hosts/.mk: No such file or directory sha256sum: hosts/.mk: No such file or directory sha256sum: hosts/.mk: No such file or directory make: *** No rule to make target hosts/.mk’. Stop.
make: Leaving directory `/ZCash/zcash-1.0.11/depends’
Has anyone been able to build ZCash on CentOS7 before?
from your first output it seems varialbles host_os and others are not set in Makefile. i suspect you have some environment variable like HOST and it breaks everything at zcutil/build.sh lines:
if [[ -z "${HOST-}" ]]; then
HOST=x86_64-unknown-linux-gnu
fi
Ok Thanks, They need to add a full package list to RHEL based systems. Currently its only the utils which doesnt seem to be enough. Thanks for all your help