kozyilmaz/nheqminer-macos

make[3]: *** [autoconf_clone] Error 23

01egi4 opened this issue · 2 comments

When I run make I get the following errors:
make[2]: *** [clone] Error 1
make[1]: *** [autoconf_all] Error 2
make: *** [tools_all] Error 2

PRINT_DEBUG=y make shows the following:

CLONE autoconf
if [ ! -f "autoconf-"2.69".tar.gz" ]; then curl -OL http://ftp.gnu.org/gnu/autoconf/autoconf-"2.69".tar.gz; fi
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file autoconf-2.69.tar.gz: Permission denied
0 1882k 0 952 0 0 3814 0 0:08:25 --:--:-- 0:08:25 3823
curl: (23) Failed writing body (0 != 952)
make[3]: *** [autoconf_clone] Error 23
make[2]: *** [clone] Error 1
make[1]: *** [autoconf_all] Error 2
make: *** [tools_all] Error 2

I ran curl -OL http://ftp.gnu.org/gnu/autoconf/autoconf-"2.69".tar.gz manually, which downloaded the autoconf-"2.69".tar.gz, but I'm still getting the same errors.

I do have autoconf installed already. When I run autoconf --version, this is what I get:

autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
http://gnu.org/licenses/gpl.html, http://gnu.org/licenses/exceptions.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

  1. I didn't skip source environment command.
  2. I also thought it could be permissions, so I've given 'chmod 777' to the folder, but it didn't help. touch a.txt works fine.