I am having trouble installing p2pool.
I still consider myself to be a beginner with Linux.
I am trying to do this on a Dell Percision 390 desktop with 8GB memory and plenty big drive.
I have more memory and SSD on order but hope this will do for now.
I have a T1 connection to the Internet.
I am running Linux Mint 64 bit version 17.2 and KDE desktop.
I am currently running Bitcoin Core on this same machine.
I believe I did all the preparations:
apt-get install python-twisted python-argparse # should work on Ubuntu
apt-get update
apt-get upgrade
I am looking at Linux instructions on
http://p2pool.in/-------------------------------------------
sudo apt-get install git # if git is not installed
git clone
https://github.com/forrestv/p2pool.gitcd p2pool
make
----------------------------------------------
First attempt did not work with exit error message, so I did "rm -rf p2pool" to try again.
I read in earlier post that git clone
https://github.com/forrestv/p2pool.git should now be changed to: git clone
https://github.com/p2pool/p2pool.gitSo I tried again with following:
-------------------------------------------
sudo apt-get install git # if git is not installed
git clone
https://github.com/p2pool/p2pool.gitcd p2pool
make
----------------------------------------------
Both ways, I get same output:
ttravis@ttravis-Precision-WorkStation-390:~ > git clone
https://github.com/p2pool/p2pool.git Cloning into 'p2pool'...
remote: Counting objects: 9407, done.
remote: Total 9407 (delta 0), reused 0 (delta 0), pack-reused 9407
Receiving objects: 100% (9407/9407), 3.72 MiB | 135.00 KiB/s, done.
Resolving deltas: 100% (5927/5927), done.
Checking connectivity... done.
ttravis@ttravis-Precision-WorkStation-390:~ > cd p2pool
ttravis@ttravis-Precision-WorkStation-390:~/p2pool > make
mkdir -p "/home/ttravis/p2pool/.cache"/pyenv
curl -L '
https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.6.tar.gz' >'/home/ttravis/p2pool/.cache/pyenv/virtualenv-1.11.6.tar.gz' || { rm -f '/home/ttravis/p2pool/.cache/pyenv/virtualenv-1.11.6.tar.gz'; exit 1; }
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1572k 100 1572k 0 0 136k 0 0:00:11 0:00:11 --:--:-- 149k
rm -rf "/home/ttravis/p2pool/.pyenv"
mkdir -p "/home/ttravis/p2pool/.pyenv"
# virtualenv is used to create a separate Python installation
# for this project in /home/ttravis/p2pool/.pyenv.
tar \
-C "/home/ttravis/p2pool/.cache"/pyenv --gzip \
-xf "/home/ttravis/p2pool/.cache"/pyenv/virtualenv-1.11.6.tar.gz
python "/home/ttravis/p2pool/.cache"/pyenv/virtualenv-1.11.6/virtualenv.py \
--clear \
--distribute \
--never-download \
--prompt="(p2pool) " \
"/home/ttravis/p2pool/.pyenv"
Not deleting /home/ttravis/p2pool/.pyenv/bin
New python executable in /home/ttravis/p2pool/.pyenv/bin/python
Installing setuptools, pip...done.
rm -rf "/home/ttravis/p2pool/.cache"/pyenv/virtualenv-1.11.6
# Snapshot the Python environment
tar -C "/home/ttravis/p2pool/.pyenv" --gzip -cf "/home/ttravis/p2pool/.cache/pyenv/pyenv-1.11.6-base.tar.gz" .
rm -rf "/home/ttravis/p2pool/.pyenv"
rm -rf "/home/ttravis/p2pool/.pyenv"
mkdir -p "/home/ttravis/p2pool/.pyenv"
mkdir -p "/home/ttravis/p2pool/.cache"/pypi
# Uncompress saved Python environment
tar -C "/home/ttravis/p2pool/.pyenv" --gzip -xf "/home/ttravis/p2pool/.cache"/pyenv/pyenv-1.11.6-base.tar.gz
find "/home/ttravis/p2pool/.pyenv" -not -type d -print0 >"/home/ttravis/p2pool"/.pkglist
# readline is installed here to get around a bug on Mac OS X
# which is causing readline to not build properly if installed
# from pip, and the fact that a different package must be used
# to support it on Windows/Cygwin.
if [ "x`uname -s`" = "xCygwin" ]; then \
"/home/ttravis/p2pool/.pyenv"/bin/pip install pyreadline; \
else \
"/home/ttravis/p2pool/.pyenv"/bin/easy_install readline; \
fi
Searching for readline
Reading
https://pypi.python.org/simple/readline/ Best match: readline 6.2.4.1
Downloading
https://pypi.python.org/packages/source/r/readline/readline-6.2.4.1.tar.gz#md5=578237939c81fdbc2c8334d168b17907 Processing readline-6.2.4.1.tar.gz
Writing /tmp/easy_install-eO9jSr/readline-6.2.4.1/setup.cfg
Running readline-6.2.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-eO9jSr/readline-6.2.4.1/egg-dist-tmp-nxOplh
/usr/bin/ld: cannot find -lncurses
collect2: error: ld returned 1 exit status
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
make: *** [/home/ttravis/p2pool/.cache/pyenv/pyenv-1.11.6-extras.tar.gz] Error 1
ttravis@ttravis-Precision-WorkStation-390:~/p2pool >
_______________________________
Where am I going wrong?
Thanks in advance. If I get this working, I hope to put 150TH on p2pool and see how it does.
Tom Travis