So it's simple.
If you're using linux, first make sure you have libcurl install, you can get this by installing
apt-get install libcurl-dev for ubuntu and debian users
yum install curl-devel for the rest
For compiling in linux, the steps are:
Then to run it, you need to have the daemon running.
An example of ~/root/.yacoin/yacoin.conf:
rpcuser=randomuser
rpcpassword=yourgivenpassword
addnode=82.211.30.212
addnode=78.21.9.49
addnode=88.204.169.242
rpcallowip=127.0.0.1
rpcallowip=[any ip that will be mining on your server]
rpcport=9323
port=7688
daemon=1
server=1
gen=0
To mine on the machine that has the daemon server running, simply type:
Hopefully someone can add this together to make a complete Yacoin mining guide.I get stuck:
"me@ubuntu:~$ sudo apt-get install libcurl-dev
[sudo] password for me:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libcurl-dev is a virtual package provided by:
libcurl4-openssl-dev 7.22.0-3ubuntu4.1
libcurl4-nss-dev 7.22.0-3ubuntu4.1
libcurl4-gnutls-dev 7.22.0-3ubuntu4.1
You should explicitly select one to install.
E: Package 'libcurl-dev' has no installation candidate"
How do I explicitly select one?
When ignoring and continuing I get:
me@ubuntu:~$ git clone
https://github.com/ali1234/cpuminerCloning into 'cpuminer'...
remote: Counting objects: 1136, done.
remote: Compressing objects: 100% (676/676), done.
remote: Total 1136 (delta 548), reused 1028 (delta 456)
Receiving objects: 100% (1136/1136), 827.16 KiB | 104 KiB/s, done.
Resolving deltas: 100% (548/548), done.
So that seems to work. Then:
me@ubuntu:~$ cd cpuminer
me@ubuntu:~/cpuminer$ ./autogen.sh
./autogen.sh: 8: ./autogen.sh: aclocal: not found
me@ubuntu:~/cpuminer$ ./configure CFLAGS="-O3"
bash: ./configure: No such file or directory
Why?
Next error:
me@ubuntu:~/cpuminer$ make
make: *** No targets specified and no makefile found. Stop.
Running Ubunto on a VMware on Win 7 64bits. Any help appreciated!