Bitcoin Forum
May 25, 2024, 02:15:22 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: MaxCoin | CPU Cloud Mining Guide | MAX VPS // Prep for TODAY'S RELEASE /7:30 GMT on: February 06, 2014, 06:46:35 PM
Guys,

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"

Code:
dude12@Ubuntu1:~/cpuminer$ ./autogen.sh
-bash: ./autogen.sh: Permission denied

When I try to run it as root:

Code:
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:

Code:
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?

It looks like your libcurl isn't up to date, try:

sudo apt-get install libcurl4-dev
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: MaxCoin | CPU Cloud Mining Guide | MAX VPS // Prep for TODAY'S RELEASE /7:30 GMT on: February 06, 2014, 06:22:18 PM
Guys,

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"

Code:
dude12@Ubuntu1:~/cpuminer$ ./autogen.sh
-bash: ./autogen.sh: Permission denied

When I try to run it as root:

Code:
dude12@Ubuntu1:~/cpuminer$ sudo -i sh ./autogen.sh
sh: 0: Can't open ./autogen.sh

Please advise how to proceed!

chmod +x autogen.sh
3  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [PRE-ANN][MAX] MaxCoin on: February 06, 2014, 06:11:14 PM
My Windows maxcoin-cpuminer compile instructions:

http://www.reddit.com/r/maxcoinproject/comments/1x6zgb/instructions_for_compiling_maxcoincpuminer_on/

It's not in chinese Tongue. If anything is unclear let me know and I'll update it. Just follow the steps, it's easymode.


You lost me at 'Open a cygwin terminal'  whats wrong with you people?

7. Open a cygwin terminal either by going to Start menu -> Cygwin -> Cygwin 64
terminal, or runing C:\Cygwin64\cygwin.bat. All future commands are done from
this terminal.

That's pretty clear and even tells you two ways to do it.
4  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [PRE-ANN][MAX] MaxCoin on: February 06, 2014, 06:00:52 PM
My Windows maxcoin-cpuminer compile instructions:

http://www.reddit.com/r/maxcoinproject/comments/1x6zgb/instructions_for_compiling_maxcoincpuminer_on/

It's not in chinese Tongue. If anything is unclear let me know and I'll update it. Just follow the steps, it's easymode.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!