# zcutil/build.sh   Error !

**URL:** <https://forum.zcashcommunity.com/t/zcutil-build-sh-error/31203>\
**Category:** Technical Support\
**Created:** [September 10, 2018, 9:53am UTC](https://forum.zcashcommunity.com/t/zcutil-build-sh-error/31203 "2018-09-10T09:53:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bitkernel](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@bitkernel](https://forum.zcashcommunity.com/u/bitkernel)\
**Post date:** [September 10, 2018, 9:53am UTC](https://forum.zcashcommunity.com/t/zcutil-build-sh-error/31203/1 "2018-09-10T09:53:00Z")

</div>

[root@myzcash zcash]# ./zcutil/build.sh -j 4

- LCOV\_ARG=

- HARDENING\_ARG=–enable-hardening

- TEST\_ARG=

- ‘[’ x-j = x–enable-lcov ‘]’

- ‘[’ x-j = x–disable-tests ‘]’

- MINING\_ARG=

- ‘[’ x-j = x–disable-mining ‘]’

- PROTON\_ARG=–enable-proton=no

- ‘[’ x-j = x–enable-proton ‘]’  
++ pwd

- PREFIX=/data/zcash/depends/x86\_64-unknown-linux-gnu/

- eval make --version  
++ make --version  
GNU Make 3.82  
Built for x86\_64-redhat-linux-gnu  
Copyright (C) 2010 Free Software Foundation, Inc.  
License GPLv3+: GNU GPL version 3 or later [http://gnu.org/licenses/gpl.html](http://gnu.org/licenses/gpl.html)  
This is free software: you are free to change and redistribute it.  
There is NO WARRANTY, to the extent permitted by law.

- eval gcc --version  
++ gcc --version  
gcc (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6)  
Copyright (C) 2014 Free Software Foundation, Inc.  
This is free software; see the source for copying conditions. There is NO  
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

- eval g++ --version  
++ g++ --version  
g++ (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6)  
Copyright (C) 2014 Free Software Foundation, Inc.  
This is free software; see the source for copying conditions. There is NO  
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

- as --version  
GNU assembler version 2.25.1-32.base.el7\_4.1  
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-32.base.el7\_4.1

- HOST=x86\_64-unknown-linux-gnu

- BUILD=x86\_64-unknown-linux-gnu

- NO\_PROTON=–enable-proton=no

- make -j 4 -C ./depends/ V=1  
make: Entering directory `/data/zcash/depends' mkdir -p /data/zcash/depends/sources/download-stamps /data/zcash/depends/sources rm -f /data/zcash/depends/sources/download-stamps/.stamp_fetched-native_ccache-ccache-3.3.1.tar.bz2.hash touch /data/zcash/depends/sources/download-stamps/.stamp_fetched-native_ccache-ccache-3.3.1.tar.bz2.hash cd /data/zcash/depends/sources/download-stamps; (test -f /data/zcash/depends/sources/ccache-3.3.1.tar.bz2 || ( mkdir -p /data/zcash/depends/work/download/native_ccache-3.3.1 && echo Fetching native_ccache... && ( curl --location --fail --connect-timeout 10 --retry 3 -o "/data/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp" "https://z.cash/depends-sources/ccache-3.3.1.tar.bz2" || curl --location --fail --connect-timeout 10 --retry 3 -o "/data/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp" "https://www.samba.org/ftp/ccache/ccache-3.3.1.tar.bz2" ) && echo "cb6e4bafbb19ba0a2ec43386b123a5f92a20e1e3384c071d5d13e0cb3c84bf73 /data/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp" > /data/zcash/depends/work/download/native_ccache-3.3.1/.ccache-3.3.1.tar.bz2.hash && sha256sum -c /data/zcash/depends/work/download/native_ccache-3.3.1/.ccache-3.3.1.tar.bz2.hash && mv /data/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp /data/zcash/depends/sources/ccache-3.3.1.tar.bz2 && rm -rf /data/zcash/depends/work/download/native_ccache-3.3.1 )) Fetching native_ccache... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 337k 100 337k 0 0 738k 0 --:--:-- --:--:-- --:--:-- 737k /data/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp: OK cd /data/zcash/depends/sources; sha256sum ccache-3.3.1.tar.bz2 >> /data/zcash/depends/sources/download-stamps/.stamp_fetched-native_ccache-ccache-3.3.1.tar.bz2.hash; touch /data/zcash/depends/sources/download-stamps/.stamp_fetched-native_ccache-ccache-3.3.1.tar.bz2.hash echo Extracting native_ccache... Extracting native_ccache... mkdir -p /data/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-8b0ad5e0a69 cd /data/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-8b0ad5e0a69; mkdir -p /data/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-8b0ad5e0a69 && echo "cb6e4bafbb19ba0a2ec43386b123a5f92a20e1e3384c071d5d13e0cb3c84bf73 /data/zcash/depends/sources/ccache-3.3.1.tar.bz2" > /data/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-8b0ad5e0a69/.ccache-3.3.1.tar.bz2.hash && sha256sum -c /data/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-8b0ad5e0a69/.ccache-3.3.1.tar.bz2.hash && tar --strip-components=1 -xf /data/zcash/depends/sources/ccache-3.3.1.tar.bz2 /data/zcash/depends/sources/ccache-3.3.1.tar.bz2: OK tar (child): lbzip2: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now make: *** [/data/zcash/depends/work/build/x86_64-unknown-linux-gnu/native_ccache/3.3.1-8b0ad5e0a69/.stamp_extracted] Error 2 make: Leaving directory `/data/zcash/depends’

---

<div class="post-metadata">

**Author:** ![Shawn](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/shawn/32/187_2.png) [@Shawn](https://forum.zcashcommunity.com/u/Shawn)\
**Post date:** [September 10, 2018, 12:16pm UTC](https://forum.zcashcommunity.com/t/zcutil-build-sh-error/31203/2 "2018-09-10T12:16:35Z")

</div>

Looks like your machine is missing some dependencies, for Ubuntu you need to install:

`sudo apt-get install \ build-essential pkg-config libc6-dev m4 g++-multilib \ autoconf libtool ncurses-dev unzip git python python-zmq \ zlib1g-dev wget curl bsdmainutils automake`

follow the guide here: [User Guide — Zcash Documentation 5.2.0 documentation](https://zcash.readthedocs.io/en/latest/rtd_pages/user_guide.html)
