• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

P2Pool Setup help

What sort of pool do you mine into?

  • None, I'm still solo mining!

    Votes: 0 0.0%

  • Total voters
    29
That says equal or above >= 10.0.0
My version is 10.1.0

The person in the link was running 8.2.0

I think its because I only have libboost1.42-all-dev and not libboost 1.48-all-dev.

That's 6 months ago.

Perhaps forrestv didn't check exact Twisted version.

libboost used for subsidy function.
 
Last edited by a moderator:
That says equal or above >= 10.0.0
My version is 10.1.0

The person in the link was running 8.2.0

I think its because I only have libboost1.42-all-dev and not libboost 1.48-all-dev.

Code:
dpkg -l python-twisted

python-twisted 10.0.0-3

You have 10.0.0.

deferred cancellation is in 10.1.0

https://twistedmatrix.com/documents/10.0.0/api/twisted.internet.defer.Deferred.html
https://twistedmatrix.com/documents/10.1.0/api/twisted.internet.defer.Deferred.html#cancel
 
Code:
~/Downloads/p2pool-drk$ sudo python run_p2pool.py -help

~/Downloads/p2pool-drk/p2pool/util/pack.py:205: Deprecation
Warning: object.__new__() takes no parameters
  return Type.__new__(cls, bits, endianness)
/usr/local/lib/python2.6/dist-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twi
sted/internet/endpoints.py:30: DeprecationWarning: twisted.internet.interfaces.I
StreamClientEndpointStringParser was deprecated in Twisted 14.0.0: This interfac
e has been superseded by IStreamClientEndpointStringParserWithReactor.
  from twisted.internet.interfaces import (
/usr/local/lib/python2.6/dist-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twi
sted/internet/_sslverify.py:119: UserWarning: Your version of pyOpenSSL, 0.10, i
s out of date.  Please upgrade to at least 0.12 and install service_identity fro
m <https://pypi.python.org/pypi/service_identity>. Without the service_identity
module and a recent enough pyOpenSSL tosupport it, Twisted can perform only rudi
mentary TLS client hostnameverification.  Many valid certificate/hostname mappin
gs may be rejected.

~/Downloads/p2pool-drk$
 
Code:
~/Downloads/p2pool-drk$ sudo python run_p2pool.py -help
~/Downloads/p2pool-drk$

https://bitcointalk.org/index.php?topic=18313.4155;wap2

forrestv:
Quote from: lenny_ link=topic=18313.msg1390522#msg1390522 date=1355160498
Some incompatibility with python 2.6.6? I tried it on python 2.7.3 (VM) and and no error.

It's just a warning that is actually meaningless, since it was triggered by a bug in Python. It doesn't happen for new versions of Python because the erroneous warning was removed.
 

Hmm by the looks of that it should just be a warning and compile fine. Regardless of using python 2.6.6.

So after running sudo make in the p2pool root I get a complaint about missing readline. Which I know I have.
Code:
dpkg -l libreadline*
libreadline6
libreadline6-dev

Actual failure is here.
Code:
Writing /tmp/easy_install-cklo10/readline-6.2.4.1/setup.cfg
Running readline-6.2.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ckl
10/readline-6.2.4.1/egg-dist-tmp-20c7b1
gcc: readline/libreadline.a: No such file or directory
gcc: readline/libhistory.a: No such file or directory
error: Setup script exited with error: command 'gcc' failed with exit status 1
 
Hmm by the looks of that it should just be a warning and compile fine. Regardless of using python 2.6.6.
error: Setup script exited with error: command 'gcc' failed with exit status 1[/CODE]

dpkg --get-selections | grep readline
libreadline6 install
readline-common install
 
dpkg --get-selections | grep readline
libreadline6 install
readline-common install

Code:
[ps]$ dpkg --get-selections | grep readline
libreadline-dev                                 install
libreadline5                                    install
libreadline6                                    install
libreadline6-dev                                install
libterm-readline-gnu-perl                       install
libterm-readline-perl-perl                      install
readline-common                                 install
[ps]$
 
Code:
[ps]$ dpkg --get-selections | grep readline
libreadline-dev                                 install
libreadline5                                    install
libreadline6                                    install
libreadline6-dev                                install
libterm-readline-gnu-perl                       install
libterm-readline-perl-perl                      install
readline-common                                 install
[ps]$

Waht is result ??
Code:
cd p2pool-drk
python run_p2pool.py --help
 
Waht is result ??
Code:
cd p2pool-drk
python run_p2pool.py --help

Code:
[]$ python run_p2pool.py --help
/p2pool-drk/p2pool/util/pack.py:205: Deprecation
Warning: object.__new__() takes no parameters
  return Type.__new__(cls, bits, endianness)
/usr/local/lib/python2.6/dist-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twi
sted/internet/endpoints.py:30: DeprecationWarning: twisted.internet.interfaces.I
StreamClientEndpointStringParser was deprecated in Twisted 14.0.0: This interfac
e has been superseded by IStreamClientEndpointStringParserWithReactor.
  from twisted.internet.interfaces import (
/usr/local/lib/python2.6/dist-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twi
sted/internet/_sslverify.py:119: UserWarning: Your version of pyOpenSSL, 0.10, i
s out of date.  Please upgrade to at least 0.12 and install service_identity fro
m <https://pypi.python.org/pypi/service_identity>. Without the service_identity
module and a recent enough pyOpenSSL tosupport it, Twisted can perform only rudi
mentary TLS client hostnameverification.  Many valid certificate/hostname mappin
gs may be rejected.
  verifyHostname, VerificationError = _selectVerifyImplementation()
 
Did git clone.

Twistd --version
says I have 13.2.0

Edit: I'm going to have to work on this later. Thanks Chaeplin.
 
Back
Top