Re: [Pokersource-users] Compiling from source

2007-11-23 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > I don't have a gna.org account, and i'm that good a teacher/writer. I'll > attach my step-by-step here, for you to edit/delete/commit ;^) Commited, thanks. http://svn.gna.org/viewcvs/pokersource/trunk/poker-network/HOWTO-install-from-sources?rev=

Re: [Pokersource-users] Compiling from source

2007-11-23 Thread Mogens Melander
On Thu, November 22, 2007 13:48, Loic Dachary wrote: > "Mogens Melander" <[EMAIL PROTECTED]> writes: > >> Is that light i see at the end of the tunnel ;^) > > You've done very well. What's best to guide your successors ? A README > in each source or a global one repeated in each source ? I'm not

Re: [Pokersource-users] Compiling from source

2007-11-22 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > I was kinda hoping for some pointers to some usable windows clients :) http://pok3d.com/ contains a useable windows client. -- +33 1 76 60 72 81 Loic Dachary mailto:[EMAIL PROTECTED] http://dachary.org/loic/gpg.txt sip:[EMAIL PROTECTED] Latitud

Re: [Pokersource-users] Compiling from source

2007-11-22 Thread Mogens Melander
On Thu, November 22, 2007 14:43, Loic Dachary wrote: > "Mogens Melander" <[EMAIL PROTECTED]> writes: > >> Next step will be to get poker3d running. I have a feeling it will be >> an equally interresting challenge. >> >> BTW. Any windows clients out there, that work with this server? > > With any

Re: [Pokersource-users] Compiling from source

2007-11-22 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > On Thu, November 22, 2007 13:49, Loic Dachary wrote: >> "Mogens Melander" <[EMAIL PROTECTED]> writes: >> >>> Ok, success (almost). I'm actually plying poker in 2 poker2d clients >>> (i winning) running on the server. I got 4 cards on the table >>> J-

Re: [Pokersource-users] Compiling from source

2007-11-22 Thread Mogens Melander
On Thu, November 22, 2007 13:49, Loic Dachary wrote: > "Mogens Melander" <[EMAIL PROTECTED]> writes: > >> Ok, success (almost). I'm actually plying poker in 2 poker2d clients >> (i winning) running on the server. I got 4 cards on the table >> J-K-7-T. Where did "T" come from ??? > > I'm not sure

Re: [Pokersource-users] Compiling from source

2007-11-22 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > Ok, success (almost). I'm actually plying poker in 2 poker2d clients > (i winning) running on the server. I got 4 cards on the table > J-K-7-T. Where did "T" come from ??? I'm not sure to understand. It's the ten that is dealt at the turn. -- +3

Re: [Pokersource-users] Compiling from source

2007-11-22 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > > That was the full content of the log at the time. Of course. It's better, for now, to set the verbosity to 3 in /etc/poker-network/poker.server.xml > BTW. What would be the recommented commandline to start the server ? > I would like to write

Re: [Pokersource-users] Compiling from source

2007-11-22 Thread Mogens Melander
On Thu, November 22, 2007 11:51, Mogens Melander wrote: > > > BTW. What would be the recommented commandline to start the server ? > I would like to write a propper start-up/shut-down script. > > I've used kill -SIGHUP to shut down, will that do a clean shut-down ? > > Is that light i see at the e

Re: [Pokersource-users] Compiling from source

2007-11-22 Thread Mogens Melander
On Thu, November 22, 2007 09:41, Loic Dachary wrote: > "Mogens Melander" <[EMAIL PROTECTED]> writes: > > That looks like a genuine bug to me. Please try with the following > patch and let me know if it helps. Apparently MySQLdb returns date using > a dedicated type instead of a string as it us

Re: [Pokersource-users] Compiling from source

2007-11-22 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > On Wed, November 21, 2007 08:57, Loic Dachary wrote: >> >> 2) find the log entries that show currency_one.php in poker-network.log >> and see if there is an error associated with it. > > Wow, playing around with poke2d, actually generated some outp

Re: [Pokersource-users] Compiling from source

2007-11-22 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: >> wget -q -O - >> 'http://localhost/poker-web/currency_one.php?command=get_note&value=10&autocommit=yes' >> >> and see if it works or report the error message. > > No error, nothing in logs, responce are (on one line): > > http://localhost/poker

Re: [Pokersource-users] Compiling from source

2007-11-21 Thread Mogens Melander
On Wed, November 21, 2007 08:57, Loic Dachary wrote: > > 2) find the log entries that show currency_one.php in poker-network.log > and see if there is an error associated with it. Wow, playing around with poke2d, actually generated some output in poker-network.log It make no sense at all to me

Re: [Pokersource-users] Compiling from source

2007-11-21 Thread Mogens Melander
On Wed, November 21, 2007 08:57, Loic Dachary wrote: > "Mogens Melander" <[EMAIL PROTECTED]> writes: > >> tried to do "cash in" but recieve "Internal Server Error" on fopen() >> >> Nothing in logs anywhere ??? >> >> I do have allow_url_fopen=on in php.ini >> >> Any clues? Anybody? > > When a use

Re: [Pokersource-users] Compiling from source

2007-11-20 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > tried to do "cash in" but recieve "Internal Server Error" on fopen() > > Nothing in logs anywhere ??? > > I do have allow_url_fopen=on in php.ini > > Any clues? Anybody? When a user cashes-in, it uses the currency server that is embedded in poker-

Re: [Pokersource-users] Compiling from source

2007-11-20 Thread Mogens Melander
On Tue, November 20, 2007 22:26, Christopher Hughes wrote: > Try doing a test php file > > phpinfo(); > ?> > > If that works, make sure that the mysql module is installed. Could be > hiccuping there. Nope, that's not it. Apache, PHP and MySQL is up and running: Apache/2.2.4 (Unix) mod_ssl/2.2.4

Re: [Pokersource-users] Compiling from source

2007-11-20 Thread Christopher Hughes
Try doing a test php file If that works, make sure that the mysql module is installed. Could be hiccuping there. -Chris On 11/20/07, Mogens Melander <[EMAIL PROTECTED]> wrote: > > > > On Tue, November 20, 2007 15:32, Mogens Melander wrote: > > > > I'll be back 8^) > > > > - I'm not shure if i

Re: [Pokersource-users] Compiling from source

2007-11-20 Thread Mogens Melander
On Tue, November 20, 2007 15:32, Mogens Melander wrote: > > I'll be back 8^) > - I'm not shure if i should go ahead, and do `make install` or - try to eliminate more errors/warnings. Please advise :) Ok, i decided to "go forward" and risk getting wet. imported schema.sql to mysql (changed pass

Re: [Pokersource-users] Compiling from source

2007-11-20 Thread Mogens Melander
On Tue, November 20, 2007 15:32, Mogens Melander wrote: > > As soon as poker-network's make check completes, i'm going to cycle it again > with a fresh make clean, make, make check to see i that was the right aproach. > > I'll be back 8^) > Ok, no barf's during make. make check, complains about

Re: [Pokersource-users] Compiling from source

2007-11-20 Thread Mogens Melander
On Tue, November 20, 2007 14:59, Loic Dachary wrote: > "Mogens Melander" <[EMAIL PROTECTED]> writes: > >> Editing configure by hand, adding ${PYTHONPATH} to the `export PYTHONPATH` >> made it play nice. Make seem to have the same problem. > > Ah, i thought you did the > > export PYTHONPATH=/us

Re: [Pokersource-users] Compiling from source

2007-11-20 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > Editing configure by hand, adding ${PYTHONPATH} to the `export PYTHONPATH` > made it play nice. Make seem to have the same problem. Ah, i thought you did the export PYTHONPATH=/usr/loca... from the calling shell. Cheers, -- +33 1 76 60

Re: [Pokersource-users] Compiling from source

2007-11-20 Thread Mogens Melander
On Tue, November 20, 2007 13:39, Loic Dachary wrote: > "Mogens Melander" <[EMAIL PROTECTED]> writes: > >> ImportError: No module named pokerengine >> >> This error repeats for a few times, until make bails. > > That suggests pokerengine is not installed where it should. It was installed with --

Re: [Pokersource-users] Compiling from source

2007-11-20 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > ImportError: No module named pokerengine > > This error repeats for a few times, until make bails. That suggests pokerengine is not installed where it should. Can you [EMAIL PROTECTED]:/tmp$ python Python 2.4.4 (#2, Aug 16 2007, 02:03:40) [G

Re: [Pokersource-users] Compiling from source

2007-11-20 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > On Tue, November 20, 2007 02:07, Loic Dachary wrote: >> "Mogens Melander" <[EMAIL PROTECTED]> writes: >> >>> When executed : >>> >>> # python test.py >>> server version: 5.1.22-rc-log >>> >>> So far, so good. Any hints to where i can continue my sear

Re: [Pokersource-users] Compiling from source

2007-11-20 Thread Mogens Melander
On Tue, November 20, 2007 10:55, Mogens Melander wrote: > > On Tue, November 20, 2007 02:07, Loic Dachary wrote: >> "Mogens Melander" <[EMAIL PROTECTED]> writes: >> >>> When executed : >>> >>> # python test.py >>> server version: 5.1.22-rc-log >>> >>> So far, so good. Any hints to where i can cont

Re: [Pokersource-users] Compiling from source

2007-11-19 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > I wrote (copy/paste/edit) a python script to test MySQLdb, here goes... > > test.py > > import MySQLdb > > conn = MySQLdb.connect (host = "localhost", >user = "", >passwd = "", >

Re: [Pokersource-users] Compiling from source

2007-11-19 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > So far, so good. Any hints to where i can continue my search ? Did you check the config.log output ? Any hints ? If not I'll check what is done exactly as I don't remember all of it right now. Cheers, -- +33 1 76 60 72 81 Loic Dachary mailto

Re: [Pokersource-users] Compiling from source

2007-11-19 Thread Mogens Melander
And the climb goes on... On Mon, November 19, 2007 13:00, Mogens Melander wrote: > > On Mon, November 19, 2007 12:40, Loic Dachary wrote: >> "Mogens Melander" <[EMAIL PROTECTED]> writes: >> I have the same version. Can you try to load this module by hand ? >>> >>> Eh, yes. How ? I tried

Re: [Pokersource-users] Compiling from source

2007-11-19 Thread Mogens Melander
On Mon, November 19, 2007 13:00, Mogens Melander wrote: > > On Mon, November 19, 2007 12:40, Loic Dachary wrote: >> "Mogens Melander" <[EMAIL PROTECTED]> writes: >> I have the same version. Can you try to load this module by hand ? >>> >>> Eh, yes. How ? I tried: >> >> python >> import

Re: [Pokersource-users] Compiling from source

2007-11-19 Thread Mogens Melander
On Mon, November 19, 2007 12:40, Loic Dachary wrote: > "Mogens Melander" <[EMAIL PROTECTED]> writes: > >>> I have the same version. Can you try to load this module by hand ? >> >> Eh, yes. How ? I tried: > > python > import MySQLdb > Hmmm, this is wierd. # python Python 2.5.1 (r251:54863,

Re: [Pokersource-users] Compiling from source

2007-11-19 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: >> I have the same version. Can you try to load this module by hand ? > > Eh, yes. How ? I tried: python import MySQLdb -- +33 1 76 60 72 81 Loic Dachary mailto:[EMAIL PROTECTED] http://dachary.org/loic/gpg.txt sip:[EMAIL PROTECTED] Latitude:

Re: [Pokersource-users] Compiling from source

2007-11-19 Thread Mogens Melander
On Mon, November 19, 2007 11:40, Loic Dachary wrote: > "Mogens Melander" <[EMAIL PROTECTED]> writes: > >> This http://peak.telecommunity.com/DevCenter/EasyInstall gave me the hint to: >> >> edit/create file: /usr/lib/python2.5/site-packages/altinstall.pth to >> contain >> >> import os, site;

Re: [Pokersource-users] Compiling from source

2007-11-19 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > This http://peak.telecommunity.com/DevCenter/EasyInstall gave me the hint to: > > edit/create file: /usr/lib/python2.5/site-packages/altinstall.pth to contain > > import os, site; > site.addsitedir(os.path.expanduser('/usr/local/poker/lib/python

Re: [Pokersource-users] Compiling from source

2007-11-19 Thread Mogens Melander
On Mon, November 19, 2007 10:38, Loic Dachary wrote: > "Mogens Melander" <[EMAIL PROTECTED]> writes: > >> poker-network, configure complain still: >> >> checking wether python module libxml2 is available... >> /usr/lib/python2.5/site-packages/libxml2.py ... yes >> checking wether python module t

Re: [Pokersource-users] Compiling from source

2007-11-19 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > On Mon, November 19, 2007 09:58, Loic Dachary wrote: >> "Mogens Melander" <[EMAIL PROTECTED]> writes: >> >>> Well, those patches don't look like something that will go well on my >>> system. >>> Is'nt dpatch a debian thingy ? I'm on a zenwalk (slack

Re: [Pokersource-users] Compiling from source

2007-11-19 Thread Mogens Melander
On Mon, November 19, 2007 09:58, Loic Dachary wrote: > "Mogens Melander" <[EMAIL PROTECTED]> writes: > >> Well, those patches don't look like something that will go well on my system. >> Is'nt dpatch a debian thingy ? I'm on a zenwalk (slackware ). > > The import patch you need, that's for sure.

Re: [Pokersource-users] Compiling from source

2007-11-19 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > Well, those patches don't look like something that will go well on my system. > Is'nt dpatch a debian thingy ? I'm on a zenwalk (slackware ). The import patch you need, that's for sure. It's not debian specific. -- +33 1 76 60 72 81 Loic Dachar

Re: [Pokersource-users] Compiling from source

2007-11-19 Thread Mogens Melander
Loic, thank you for your time. On Mon, November 19, 2007 09:05, Loic Dachary wrote: > "Mogens Melander" <[EMAIL PROTECTED]> writes: > >> Still poker-network can't find MySQLdb, OpenSSL and SOAPpy. > > OpenSSL should be ignored after a warning if you don't have it. > If it's not the case, it's a

Re: [Pokersource-users] Compiling from source

2007-11-19 Thread Loic Dachary
"Mogens Melander" <[EMAIL PROTECTED]> writes: > Still poker-network can't find MySQLdb, OpenSSL and SOAPpy. OpenSSL should be ignored after a warning if you don't have it. If it's not the case, it's a bug and I can fix it. Let's forget about this one for now. > I been searching for a python-m

Re: [Pokersource-users] Compiling from source

2007-11-18 Thread Mogens Melander
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

Re: [Pokersource-users] Compiling from source

2007-11-18 Thread Mogens Melander
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 kno

Re: [Pokersource-users] Compiling from source

2007-11-18 Thread Loic Dachary
> 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

[Pokersource-users] Compiling from source

2007-11-18 Thread Mogens Melander
Guys, It seems that i'm missing something, trying to compile all this stuff from source. I'm on Zenwalk 4.8 (slackware) with more or less every available package installed. # uname -a Linux faust 2.6.22.9 #1 SMP PREEMPT Sat Sep 29 22:22:07 CEST 2007 i686 Pentium III (Katmai) GenuineIntel GNU/L