I'm using this instruction to compile both on Windows and my remote Azure Ubuntu: https://gist.github.com/xorrbit/8848780
I got stuck at this step: "11. Run autogen.sh: ./autogen.sh"
dude12@Ubuntu1:~/cpuminer$ ./autogen.sh
-bash: ./autogen.sh: Permission denied
When I try to run it as root:
dude12@Ubuntu1:~/cpuminer$ sudo -i sh ./autogen.sh
sh: 0: Can't open ./autogen.sh
Please advise how to proceed!
chmod +x autogen.sh
Thank you mate, I've compiled it on my Windows 8.1!
Remote Ubuntu is different, though:
dude12@Ubuntu1:~/cpuminer$ CFLAGS="-O3 -march=native" ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/dude12/cpuminer/missing: Unknown `--is-lightweight' option
Try `/home/dude12/cpuminer/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc -std=gnu99 needs -traditional... no
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking dependency style of gcc -std=gnu99... gcc3
checking for ranlib... ranlib
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for sys/sysctl.h... yes
checking whether be32dec is declared... no
checking whether le32dec is declared... no
checking whether be32enc is declared... no
checking whether le32enc is declared... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for getopt_long... yes
checking whether we can compile AVX code... yes
checking whether we can compile XOP code... yes
checking whether we can compile AVX2 code... yes
checking for json_loads in -ljansson... no
checking for pthread_create in -lpthread... yes
./configure: line 5603: syntax error near unexpected token `,'
./configure: line 5603: `LIBCURL_CHECK_CONFIG(, 7.15.2, ,'
dude12@Ubuntu1:~/cpuminer$ make clean
Makefile:359: .deps/minerd-cpu-miner.Po: No such file or directory
Makefile:360: .deps/minerd-keccak.Po: No such file or directory
Makefile:361: .deps/minerd-maxcoin.Po: No such file or directory
Makefile:362: .deps/minerd-scrypt-arm.Po: No such file or directory
Makefile:363: .deps/minerd-scrypt-x64.Po: No such file or directory
Makefile:364: .deps/minerd-scrypt-x86.Po: No such file or directory
Makefile:365: .deps/minerd-scrypt.Po: No such file or directory
Makefile:366: .deps/minerd-sha2-arm.Po: No such file or directory
Makefile:367: .deps/minerd-sha2-x64.Po: No such file or directory
Makefile:368: .deps/minerd-sha2-x86.Po: No such file or directory
Makefile:369: .deps/minerd-sha2.Po: No such file or directory
Makefile:370: .deps/minerd-util.Po: No such file or directory
make: *** No rule to make target `.deps/minerd-util.Po'. Stop.
Could you tell, what might be a problem?