If you're using linux, first make sure you have libcurl install, you can get this by installing
yum install curl-devel for the rest
For compiling in linux, the steps are:
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make
make install
Then to run it, you need to have the daemon running.
An example of ~/root/.yacoin/yacoin.conf:
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.
Great help, thanks!