Chaepin, please help me! I pulled the p2ppool source, and I keep failing on
sudo python setup.py install
I get this error:
In file included fromusr/include/boost/python/detail/prefix.hpp:13:0,
fromusr/include/boost/python/module.hpp:8,
from darkcoin_GetBlockBaseValue.cpp:63:usr/include/boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory
# include <pyconfig.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Am I building in the wrong directory? Am I just missing something obvious?
Aaaargh!
apt-get install libboost1.48-all-dev python-dev
Suse ?
zypper in gcc-c++ boost-devel python-devel
Ubuntu 13.10 -
apt-get can't find the package or the regex 'libboost1.48-all-dev'
So, in a stroke of "Why not?" I tried 'apt-get install libboost-all-dev' and it worked. It looks like everything compiled...
Now, however, python run_p2pool.py isn't finding run_p2pool.py. In fact, I can't find it anywhere either.... It's not inusr/bin where I thought it might be... Am I truly this incapable of this simple task?!
I'm about to throw in the towel with this one and just try building on windows... grrrr.... I know it's something simple and obvious...
where did you do "python run_p2pool.py" ?
p2pool-drk/run_p2pool.py
cd p2pool-drk
python run_p2pool.py or python ./run_p2pool.py
works ? then install screen
check run_darkpool.sh
screen -d -m -S P2P_DRK_DIFF python ./run_p2pool.py --net darkcoin --give-author 0 --disable-upnp -f 1
(Windows ? please ... recommend os is ubuntu 12.0.4)
OK... found my first MAJOR error... back in a moment... Be nice if I cloned the WHOLE directory, not just the modules...
EDIT: Now that is done, and it all compiles... or seems to:
hammer@hammer-Latitude-E6520:~/p2pool-drk$ python run_p2pool.py
Traceback (most recent call last):
File "run_p2pool.py", line 5, in <module>
main.run()
File "/home/hammer/p2pool-drk/p2pool/main.py", line 456, in run
net = networks.nets[net_name]
KeyError: 'bitcoin'
I might have accidentally installed python 3 in addition to 2.7. Would that be causing this error? I'll try removing it so see...