# Failed to create file when running make on Cygwin64

**URL:** <https://discourse.julialang.org/t/failed-to-create-file-when-running-make-on-cygwin64/38802>\
**Category:** General Usage\
**Tags:** installation\
**Created:** [May 5, 2020, 12:13pm UTC](https://discourse.julialang.org/t/failed-to-create-file-when-running-make-on-cygwin64/38802 "2020-05-05T12:13:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chen](https://avatars.discourse-cdn.com/v4/letter/c/3d9bf3/32.png) [@Chen](https://discourse.julialang.org/u/Chen)\
**Post date:** [May 5, 2020, 12:13pm UTC](https://discourse.julialang.org/t/failed-to-create-file-when-running-make-on-cygwin64/38802/1 "2020-05-05T12:13:05Z")

</div>

System: Cygwin64 under Windows 10

I cloned the git repository:  
`git clone https://github.com/JuliaLang/julia.git`

Then I ran make:  
`cd julia

make`

I got the following error message:  
` % Total % Received % Xferd Average Speed Time Time Time Current  
Dload Upload Total Spent Left Speed

100 497 100 497 0 0 497 0 0:00:01 --:–:-- 0:00:01 722  
0 382k 0 0 0 0 0 0 --:–:-- 0:00:01 --:–:-- 0

Warning: Failed to create the file

Warning: /cygdrive/c/w/temp/julia/julia/stdlib/srccache/Pkg-2f953bbde5d93c9c814

Warning: d140014c76dfec5433e3c.tar.gz: No such file or directory

4 382k 4 16840 0 0 16840 0 0:00:23 0:00:01 0:00:22 1027k

curl: (23) Failed writing body (0 != 16384)

% Total % Received % Xferd Average Speed Time Time Time Current  
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0

Warning: Failed to create the file

Warning: /cygdrive/c/w/temp/julia/julia/stdlib/srccache/Pkg-2f953bbde5d93c9c814

Warning: d140014c76dfec5433e3c.tar.gz: No such file or directory

0 382k 0 596 0 0 596 0 0:10:57 --:–:-- 0:10:57 596

curl: (23) Failed writing body (0 != 596)

make[1]: \*\*\* [Makefile:27: /cygdrive/c/w/temp/julia/julia/stdlib/srccache/Pkg-2f953bbde5d93c9c814d140014c76dfec5433e3c.tar.gz] Error 23

make: \*\*\* [Makefile:63: julia-stdlib] Error 2  
`

It seems the problem is curl. However, I tested curl and it worked fine:

`curl -o test https://github.com/JuliaLang/julia/issues/35741`

---

<div class="post-metadata">

**Author:** ![Chen](https://avatars.discourse-cdn.com/v4/letter/c/3d9bf3/32.png) [@Chen](https://discourse.julialang.org/u/Chen)\
**Post date:** [May 5, 2020, 11:38pm UTC](https://discourse.julialang.org/t/failed-to-create-file-when-running-make-on-cygwin64/38802/2 "2020-05-05T23:38:59Z")

</div>

It turned out that I didn’t install _curl_ on Cygwin64. The problem is now solved.
