Build from source - "no, program does not run"

After running

./zcutil/build.sh --disable-rust

I get the following

checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc -m64 -pipe -O1     -I/zcash/depends/x86_64-unknown-linux-gnu/include    ... no, program does not run
checking ABI=x32
checking compiler gcc -m64 -pipe -O1     -I/zcash/depends/x86_64-unknown-linux-gnu/include    ... no, program does not run
checking ABI=32
checking compiler gcc -m64 -pipe -O1     -I/zcash/depends/x86_64-unknown-linux-gnu/include    ... no, program does not run
configure: error: could not find a working compiler, see config.log for details
funcs.mk:242: recipe for target '/zcash/depends/work/build/x86_64-unknown-linux-gnu/libgmp/6.1.1-500d6b79756/./.stamp_configured' failed
make: *** [/zcash/depends/work/build/x86_64-unknown-linux-gnu/libgmp/6.1.1-500d6b79756/./.stamp_configured] Error 1
make: Leaving directory '/zcash/depends'

Everything prior seems to run.

checking gcc version gives:

checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc -m64 -pipe -O1     -I/zcash/depends/x86_64-unknown-linux-gnu/include    ... no, program does not run
checking ABI=x32
checking compiler gcc -m64 -pipe -O1     -I/zcash/depends/x86_64-unknown-linux-gnu/include    ... no, program does not run
checking ABI=32
checking compiler gcc -m64 -pipe -O1     -I/zcash/depends/x86_64-unknown-linux-gnu/include    ... no, program does not run
configure: error: could not find a working compiler, see config.log for details
funcs.mk:242: recipe for target '/zcash/depends/work/build/x86_64-unknown-linux-gnu/libgmp/6.1.1-500d6b79756/./.stamp_configured' failed
make: *** [/zcash/depends/work/build/x86_64-unknown-linux-gnu/libgmp/6.1.1-500d6b79756/./.stamp_configured] Error 1
make: Leaving directory '/zcash/depends'

Any advice much appreciated.

Thanks :slight_smile:

1 Like

Can you post the contents of config.log, please? (It's sufficient to post the part that has the gcc error message.)