# ./zcutil/build.sh: line 89: make: command not found

**URL:** <https://forum.zcashcommunity.com/t/zcutil-build-sh-line-89-make-command-not-found/15874>\
**Category:** zcashd client\
**Created:** [May 12, 2017, 8:58am UTC](https://forum.zcashcommunity.com/t/zcutil-build-sh-line-89-make-command-not-found/15874 "2017-05-12T08:58:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![getcrunk](https://avatars.discourse-cdn.com/v4/letter/g/7ba0ec/32.png) [@getcrunk](https://forum.zcashcommunity.com/u/getcrunk)\
**Post date:** [May 12, 2017, 8:58am UTC](https://forum.zcashcommunity.com/t/zcutil-build-sh-line-89-make-command-not-found/15874/1 "2017-05-12T08:58:32Z")

</div>

Issue with building on windows using ubuntu.

Is this possible??

how can i fix this

here is the full output:

+++ readlink -f ./zcutil/build.sh  
++ dirname /mnt/c/Windows/System32/zcash/zcutil/build.sh

- cd /mnt/c/Windows/System32/zcash/zcutil/…
- LCOV\_ARG=
- HARDENING\_ARG=–enable-hardening
- TEST\_ARG=
- ‘[’ x–disable-rust = x–enable-lcov ‘]’
- ‘[’ x–disable-rust = x–disable-tests ‘]’
- MINING\_ARG=
- ‘[’ x–disable-rust = x–disable-mining ‘]’
- RUST\_ARG=
- ‘[’ x–disable-rust = x–disable-rust ‘]’
- RUST\_ARG=–enable-rust=no
- shift  
++ pwd
- PREFIX=/mnt/c/Windows/System32/zcash/depends/x86\_64-unknown-linux-gnu/
- HOST=x86\_64-unknown-linux-gnu
- BUILD=x86\_64-unknown-linux-gnu
- NO\_RUST=–enable-rust=no
- make -j12 -C ./depends/ V=1  
./zcutil/build.sh: line 89: make: command not found

---

<div class="post-metadata">

**Author:** ![anon47418038](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@anon47418038](https://forum.zcashcommunity.com/u/anon47418038)\
**Post date:** [May 12, 2017, 2:29pm UTC](https://forum.zcashcommunity.com/t/zcutil-build-sh-line-89-make-command-not-found/15874/2 "2017-05-12T14:29:47Z")

</div>

If you’re building in the Bash on Ubuntu on Windows subsystem, you need to follow all the instruction in the user guide at [https://github.com/zcash/zcash/wiki/1.0-User-Guide](https://github.com/zcash/zcash/wiki/1.0-User-Guide) just like it was an Ubuntu system. It looks like you haven’t installed all the dependencies. Last I knew it DID build on there, but it requires some tweaks to the standard config (buried in a post on this forum somewhere ☹ )

If you aren’t 100% married to the idea of building from source (or have access to an native linux machine to cross-compile on), you can run my port to Windows.

Latest command-line binary is at: [https://zcash.dl.mercerweiss.com/zcash-win-v1.0.8-1.zip](https://zcash.dl.mercerweiss.com/zcash-win-v1.0.8-1.zip)  
Version with GUI wallet is linked from: [https://zcash4win.com](https://zcash4win.com)

If you want to build the command line binaries yourself by cross compiling on a Debian linux machine ( only Debian Jessie is supported), the latest source is at:  
[https://github.com/radix42/zcash/tree/v1.0.8-win-cross](https://github.com/radix42/zcash/tree/v1.0.8-win-cross)  
You install all the normal linux dependencies for Debian, plus these packages:

```auto
binutils-mingw-w64-x86-64
g++-mingw-w64-x86-64 
gcc-mingw-w64-base 
gcc-mingw-w64-x86-64
mingw-w64-common 
mingw-w64-x86-64-dev

```

and then instead of `./zcutil/build.sh` run `./zcutil/build-win.sh` and the exe’s will be in the `src/` dir when its done.

-David Mercer  
Tucson, AZ

---

<div class="post-metadata">

**Author:** ![getcrunk](https://avatars.discourse-cdn.com/v4/letter/g/7ba0ec/32.png) [@getcrunk](https://forum.zcashcommunity.com/u/getcrunk)\
**Post date:** [May 13, 2017, 4:35am UTC](https://forum.zcashcommunity.com/t/zcutil-build-sh-line-89-make-command-not-found/15874/3 "2017-05-13T04:35:48Z")

</div>

ok looks like i was missing some dependencies. I did the install command again in the guide and it added a bunch more stuff. weird. now it starts to build but i get a new error

+++ readlink -f ./zcutil/build.sh  
++ dirname /mnt/c/Windows/System32/zcash/zcutil/build.sh

- cd /mnt/c/Windows/System32/zcash/zcutil/…
- LCOV\_ARG=
- HARDENING\_ARG=–enable-hardening
- TEST\_ARG=
- ‘[’ x–disable-rust = x–enable-lcov ‘]’
- ‘[’ x–disable-rust = x–disable-tests ‘]’
- MINING\_ARG=
- ‘[’ x–disable-rust = x–disable-mining ‘]’
- RUST\_ARG=
- ‘[’ x–disable-rust = x–disable-rust ‘]’
- RUST\_ARG=–enable-rust=no
- shift  
++ pwd
- PREFIX=/mnt/c/Windows/System32/zcash/depends/x86\_64-unknown-linux-gnu/
- HOST=x86\_64-unknown-linux-gnu
- BUILD=x86\_64-unknown-linux-gnu
- NO\_RUST=–enable-rust=no
- make -j12 -C ./depends/ V=1  
make: Entering directory ‘/mnt/c/Windows/System32/zcash/depends’  
mkdir -p /mnt/c/Windows/System32/zcash/depends/sources/download-stamps /mnt/c/Windows/System32/zcash/depends/sources  
rm -f /mnt/c/Windows/System32/zcash/depends/sources/download-stamps/.stamp\_fetched-native\_ccache-ccache-3.3.1.tar.bz2.hash  
touch /mnt/c/Windows/System32/zcash/depends/sources/download-stamps/.stamp\_fetched-native\_ccache-ccache-3.3.1.tar.bz2.hash  
cd /mnt/c/Windows/System32/zcash/depends/sources/download-stamps; (test -f /mnt/c/Windows/System32/zcash/depends/sources/ccache-3.3.1.tar.b  
z2 || ( mkdir -p /mnt/c/Windows/System32/zcash/depends/work/download/native\_ccache-3.3.1 && echo Fetching native\_ccache… && ( wget --time  
out=10 --tries=3 -nv -O “/mnt/c/Windows/System32/zcash/depends/work/download/native\_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp” “[https://z.cash](https://z.cash)  
/depends-sources/ccache-3.3.1.tar.bz2” || wget --timeout=10 --tries=3 -nv -O “/mnt/c/Windows/System32/zcash/depends/work/download/native\_cc  
ache-3.3.1/ccache-3.3.1.tar.bz2.temp” “[https://www.samba.org/ftp/ccache/ccache-3.3.1.tar.bz2](https://www.samba.org/ftp/ccache/ccache-3.3.1.tar.bz2)” ) && echo “cb6e4bafbb19ba0a2ec43386b123a5f92a  
20e1e3384c071d5d13e0cb3c84bf73 /mnt/c/Windows/System32/zcash/depends/work/download/native\_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp” \> /mnt/c  
/Windows/System32/zcash/depends/work/download/native\_ccache-3.3.1/.ccache-3.3.1.tar.bz2.hash && sha256sum -c /mnt/c/Windows/System32/zcash/  
depends/work/download/native\_ccache-3.3.1/.ccache-3.3.1.tar.bz2.hash && mv /mnt/c/Windows/System32/zcash/depends/work/download/native\_ccach  
e-3.3.1/ccache-3.3.1.tar.bz2.temp /mnt/c/Windows/System32/zcash/depends/sources/ccache-3.3.1.tar.bz2 && rm -rf /mnt/c/Windows/System32/zcas  
h/depends/work/download/native\_ccache-3.3.1 ))  
Fetching native\_ccache…  
2017-05-12 21:33:58 URL:[https://z.cash/depends-sources/ccache-3.3.1.tar.bz2](https://z.cash/depends-sources/ccache-3.3.1.tar.bz2) [345711/345711] → “/mnt/c/Windows/System32/zcash/depends/work/  
download/native\_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp” [1]  
/mnt/c/Windows/System32/zcash/depends/work/download/native\_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp: OK  
cd /mnt/c/Windows/System32/zcash/depends/sources; sha256sum ccache-3.3.1.tar.bz2 \>\> /mnt/c/Windows/System32/zcash/depends/sources/download-  
stamps/.stamp\_fetched-native\_ccache-ccache-3.3.1.tar.bz2.hash;  
touch /mnt/c/Windows/System32/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 /mnt/c/Windows/System32/zcash/depends/work/build/x86\_64-unknown-linux-gnu/native\_ccache/3.3.1-e133cdbf69c  
cd /mnt/c/Windows/System32/zcash/depends/work/build/x86\_64-unknown-linux-gnu/native\_ccache/3.3.1-e133cdbf69c; mkdir -p /mnt/c/Windows/Syste  
m32/zcash/depends/work/build/x86\_64-unknown-linux-gnu/native\_ccache/3.3.1-e133cdbf69c && echo “cb6e4bafbb19ba0a2ec43386b123a5f92a20e1e3384c  
071d5d13e0cb3c84bf73 /mnt/c/Windows/System32/zcash/depends/sources/ccache-3.3.1.tar.bz2” \> /mnt/c/Windows/System32/zcash/depends/work/buil  
d/x86\_64-unknown-linux-gnu/native\_ccache/3.3.1-e133cdbf69c/.ccache-3.3.1.tar.bz2.hash && sha256sum -c /mnt/c/Windows/System32/zcash/depend  
s/work/build/x86\_64-unknown-linux-gnu/native\_ccache/3.3.1-e133cdbf69c/.ccache-3.3.1.tar.bz2.hash && tar --strip-components=1 -xf /mnt/c/Win  
dows/System32/zcash/depends/sources/ccache-3.3.1.tar.bz2  
/mnt/c/Windows/System32/zcash/depends/sources/ccache-3.3.1.tar.bz2: OK  
touch /mnt/c/Windows/System32/zcash/depends/work/build/x86\_64-unknown-linux-gnu/native\_ccache/3.3.1-e133cdbf69c/.stamp\_extracted  
echo Preprocessing native\_ccache…  
Preprocessing native\_ccache…  
mkdir -p /mnt/c/Windows/System32/zcash/depends/work/build/x86\_64-unknown-linux-gnu/native\_ccache/3.3.1-e133cdbf69c /mnt/c/Windows/System32/  
zcash/depends/work/build/x86\_64-unknown-linux-gnu/native\_ccache/3.3.1-e133cdbf69c/.patches-e133cdbf69c  
cd /mnt/c/Windows/System32/zcash/depends/work/build/x86\_64-unknown-linux-gnu/native\_ccache/3.3.1-e133cdbf69c;  
touch /mnt/c/Windows/System32/zcash/depends/work/build/x86\_64-unknown-linux-gnu/native\_ccache/3.3.1-e133cdbf69c/.stamp\_preprocessed  
echo Configuring native\_ccache…  
Configuring native\_ccache…  
rm -rf /mnt/c/Windows/System32/zcash/depends/x86\_64-unknown-linux-gnu; mkdir -p /mnt/c/Windows/System32/zcash/depends/x86\_64-unknown-linux-  
gnu/lib; cd /mnt/c/Windows/System32/zcash/depends/x86\_64-unknown-linux-gnu;  
mkdir -p /mnt/c/Windows/System32/zcash/depends/work/build/x86\_64-unknown-linux-gnu/native\_ccache/3.3.1-e133cdbf69c/.  
cd /mnt/c/Windows/System32/zcash/depends/work/build/x86\_64-unknown-linux-gnu/native\_ccache/3.3.1-e133cdbf69c/.; PKG\_CONFIG\_LIBDIR=/mnt/  
c/Windows/System32/zcash/depends/x86\_64-unknown-linux-gnu/native/lib/pkgconfig PKG\_CONFIG\_PATH=/mnt/c/Windows/System32/zcash/depends/x86\_64  
-unknown-linux-gnu/native/share/pkgconfig PATH=/mnt/c/Windows/System32/zcash/depends/x86\_64-unknown-linux-gnu/native/bin:/usr/local/sbin:/u  
sr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/ProgramData/Oracle/Java/javapath:/mnt/c/Program Files (x86)/I  
ntel/iCLS Client:/mnt/c/Program Files/Intel/iCLS Client:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/  
System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/AMD/ATI.ACE/Core-Static:/mnt/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core  
-Static:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Componen  
ts/IPT:/mnt/c/Program Files (x86)/MySQL/MySQL Fabric 1.5 & MySQL Utilities 1.5:/mnt/c/Program Files (x86)/MySQL/MySQL Fabric 1.5 & MySQL Ut  
ilities 1.5/Doctrine extensions for PHP:/mnt/c/Program Files (x86)/Brackets/command:/mnt/c/Program Files/nodejs:/mnt/c/Users/Mustafa/AppDat  
a/Local/Programs/Python/Python35/Scripts:/mnt/c/Users/Mustafa/AppData/Local/Programs/Python/Python35:/mnt/c/Users/Mustafa/path:/mnt/c/Users  
/Mustafa/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program Files (x86)/Microsoft VS Code/bin:/mnt/c/Users/Mustafa/AppData/Roaming/npm ./  
configure --host=x86\_64-unknown-linux-gnu --disable-dependency-tracking --prefix=/mnt/c/Windows/System32/zcash/depends/x86\_64-unknown-linux  
-gnu/native CC=“gcc” CXX=“g++” NM=“nm” RANLIB=“ranlib” AR=“ar” CPPFLAGS=“-I/mnt/c/Windows/System32/zcash/depends/x86\_64-unknown-lin  
ux-gnu/native/include " LDFLAGS=”-L/mnt/c/Windows/System32/zcash/depends/x86\_64-unknown-linux-gnu/native/lib "  
/bin/sh: 1: Syntax error: “(” unexpected  
funcs.mk:238: recipe for target ‘/mnt/c/Windows/System32/zcash/depends/work/build/x86\_64-unknown-linux-gnu/native\_ccache/3.3.1-e133cdbf69c/  
./.stamp\_configured’ failed  
make: \*\*\* [/mnt/c/Windows/System32/zcash/depends/work/build/x86\_64-unknown-linux-gnu/native\_ccache/3.3.1-e133cdbf69c/./.stamp\_configured] E  
rror 2  
make: Leaving directory ‘/mnt/c/Windows/System32/zcash/depends’

---

<div class="post-metadata">

**Author:** ![anon47418038](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@anon47418038](https://forum.zcashcommunity.com/u/anon47418038)\
**Post date:** [May 13, 2017, 4:23pm UTC](https://forum.zcashcommunity.com/t/zcutil-build-sh-line-89-make-command-not-found/15874/4 "2017-05-13T16:23:23Z")

</div>

Unfortunately I don’t have my Windows system with Ubuntu for Windows available any longer, and I"m out of ideas
