First, I installed current version of Cygwin 1.5.24-2 (
http://www.cygwin.com/)

Installation of poker-eval.134.0

- tar -zxvf    poker-eval-134.0.tar.gz
- ./configure
- make
- make install


Installation of pypoker-eval.134.0

- tar -zxvf    pypoker-eval-134.0.tar.gz

- I set the variable PKG_CONFIG_PATH by adding the following lines in
~/.bashrc file :

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH

- Following Loic's instructions I commented out the following lines in the
config/ccpython.m4

     cygwin* | mingw*)
          am_cv_python]$2[_linkflags='-lpython2.4' ;;

- and I tried

 autoreconf -fi

but something must be a bit at odds on my system because I got an error
message and so I hacked it manually.

- I ran

./configure

Then

- make

This gave error messages (undefined references). I ran again the last gcc
command before the error messages and added the link flag '-lpython2.5':

gcc -shared  .libs/_pokereval_2_5_la-pypokereval.o -lpython2.5
-L/usr/local/lib /usr/local/lib/libpoker-eval.dll.a  -o
.libs/_pokereval_2_5-1.dll -Wl,--enable-auto-image-base -Xlinker
--out-implib -Xlinker .libs/_pokereval_2_5.dll.a

This created _pokereval_2_5-1.dll  in pypoker-eval-134.0/.libs

I had to rename   _pokereval_2_5-1.dll to  _pokereval_2_5.dll  , because
otherwise I get an error when using pokereval.py ("dynamic module does not
define init function (initpokereval)")

To test, run the test file in pypoker-eval-134.0:

python  test.py

On 7/26/07, Securda <[EMAIL PROTECTED]> wrote:

No I use windows python, what i would like to do is a stat analyzer for
betfair exchange poker and i need to work in windows. But if you can tell me
how you made it work under cygwin it's great so i can start to make some
test, but after i really need it under windows.

thanks regards

On 7/26/07, bar tomas <[EMAIL PROTECTED]> wrote:
>
> Are you using Cygwin?
> If you are, I can tell you what I did, I just managed to get it to work
>
> On 7/26/07, Securda < [EMAIL PROTECTED] > wrote:
>
> > Hi,
> > I have only download last pypoker-eval source, and i run test.py and
> > anything else...
> >
> > thanks and regards
> >
> > On 7/26/07, Loic Dachary < [EMAIL PROTECTED]> wrote:
> > >
> > > Securda < [EMAIL PROTECTED] > writes:
> > >
> > > >    I'm try to make pypoker-eval works under windows, when i try to
> > > run
> > > >    test.py i get this error:
> > > >    ImportError: No module named _pokereval_2_4
> > > >    I think this is due the missing pypokereval.c library, but i
> > > have no
> > > >    idea on how to compile this library.
> > > >    someone can explain me how to make pypoker-eval works under
> > > windows?
> > > >    thanks in advance and best regards
> > >
> > >      I know nothing about the windows development environment.
> > > However,
> > > you might get a more informative answer from someone else if you
> > > precisely
> > > describe your development environment and the steps you follow to
> > > get to
> > > the point where this error shows.
> > >
> > >      Cheers,
> > >
> > > --
> > > +33 1 76 60 72 81  Loic Dachary mailto:[EMAIL PROTECTED]
> > > http://dachary.org/loic/gpg.txt sip:[EMAIL PROTECTED]
> > > Latitude: 48.86962325498033 Longitude: 2.3623046278953552
> > >
> >
> >
> > _______________________________________________
> > Pokersource-users mailing list
> > [email protected]
> > https://mail.gna.org/listinfo/pokersource-users
> >
> >
>

_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users


_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to