On Sun, November 18, 2007 23:11, Mogens Melander wrote:
> Sorry, forgot to change recipient 8^)
>
> On Sun, November 18, 2007 17:03, Loic Dachary wrote:
>>
>>> poker-eval and pypoker-eval installed without hickup's into /usr/local/poker
>>>
>>> Now, when doing above configure on poker-engine i get "ImportError: No
>>> module named pokereval"
>>>
>>> Do anybody know about some step-by-step instructions on how to put it
>>> together, it would
>>> greately apreciated :)
>>>
>>
>> Hint: add the /usr/local/... in your PYTHONPATH variable ?
>> It's a path problem for sure.
>
> spot on, doing a:
>
> # export PYTHONPATH=$PYTHONPATH:/usr/local/poker/lib/python2.5/site-packages
> # ./configure --prefix=/usr/local/poker
> # make
> # make check
>
> Really made stuff happen. It looks like my server is plying "a few hands" by
> it self 8^)
>
> Thanks a bunch. When it's done playing with it self, i'll continue.
>
> I'll be back, when the next hurdle stop me.
Ok, i'm back ;^)
I found that poker-network need MySQL-python, zope.interface and Twisted.
Downloaded and install by:
create file: '/usr/lib/python2.5/site-packages/altinstall.pth' contain
import os, site;
site.addsitedir(os.path.expanduser('/usr/local/poker/lib/python2.5'))
And in respective directories:
# python setup.py build
# python setup.py install --prefix=/usr/local/poker
As far as i can tell, it went well. No error (i think).
Still poker-network can't find MySQLdb, OpenSSL and SOAPpy.
I been searching for a python-module 'OpenSSL', but can't seem to find it.
Hints ??
I found:
http://cheeseshop.python.org/packages/source/f/fpconst/fpconst-0.7.2.tar.gz
http://garr.dl.sourceforge.net/sourceforge/pyxml/PyXML-0.8.4.tar.gz
http://mesh.dl.sourceforge.net/sourceforge/pywebsvcs/SOAPpy-0.12.0.tar.gz
But `python setup.py build` in SOAPpy give me errors i have no clue what to do
about. Like this:
# python setup.py build
Traceback (most recent call last):
File "setup.py", line 8, in <module>
from SOAPpy.version import __version__
File "/root/local/poker/SOAPpy-0.12.0/SOAPpy/__init__.py", line 5, in <module>
from Client import *
File "/root/local/poker/SOAPpy-0.12.0/SOAPpy/Client.py", line 46
from __future__ import nested_scopes
SyntaxError: from __future__ imports must occur at the beginning of the file
So, where can i go from here (i'm clueless) ??
--
Later
Mogens Melander
+45 40 85 71 38
+66 870 133 224
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users