-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

[I cc the list to keep other users informed]

Which distribution of GNU/Linux are you using ? It looks like you
forgot to type "make install" after compiling poker-eval. Depending on
which distribution you are using, there may be a package ready for you.

Josh V wrote:
> Hi Loic,
>
> I've spent the entire afternoon trying to install PyPoker and
> Poker-eval, but to no avail.  I was hoping you could tell me what
> I've been doing wrong.  I'm running this on a Linux machine, and
> here's what I've done so far:
>
> 1) Download pypoker-eval-136.0, read INSTALL instructions => run
> ./configure in the appropriate directory.  It gives the following
> error message: No package 'poker-eval' found. Consider adjusting
> the PKG_CONFIG_PATH environment variable if youinstalled software
> in a non-standard prefix. Alternatively, you may set the
> environment variables POKER_EVAL_CFLAGS and POKER_EVAL_LIBS to
> avoid the need to call pkg-config.  See the pkg-config man page for
> more details.
>
> So I figured I needed to install poker-eval...
>
> 2) Downloaded, unzipped poker-eval-135-0.  Followed its install
> instructions => './configure' in appropriate directory.  This
> executed just fine.  Then ran 'make'.  This executes just fine as
> well; no frills, no gimmicks.
>
> 3)  Go back to try and install pypoker again by running
> './configure' in its directory  (Note, I have both pypoker and
> poker-eval in the same parent directory).  It throws the same exact
> error message.  So, I try using PKG_CONFIG_PATH to link the
> directory manually.  Execute './configure
> pkg_config_path=carro...@mambo:/mnt/castor/seas_home/c/carrollk/JoshV/poker-eval-135.0'
>  (the folder where I installed poker-eval).  This executes fine, so
> I assume that it found the directory, so I run 'make.'  After
> checking for a bunch of resources (most of which it finds,
> including all the Python interpreters, but I could tell you
> specifically which ones it doesn't fine), it throws a monster
> error.  It hits the 'make' command, as follows:
>
> make if /bin/sh ./libtool --tag=CC --mode=compile gcc
> -DPACKAGE_NAME=\"pypoker-eval\" -DPACKAGE_TARNAME=\"pypoker-eval\"
> -DPACKAGE_VERSION=\"134.0\" -DPACKAGE_STRING=\"pypoker-eval\
> 134.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pypoker-eval\"
> -DVERSION=\"134.0\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_DLFCN_H=1 -DHAVE_MEMSET=1 -I. -I.
> -I/home1/c/cse39904/python2.5/include/python2.5
> -I/usr/local/include/poker-eval   -DPYTHON_VERSION=\"2_5\"
> -D'VERSION_NAME(w)=w##2_5' -pipe -O3 -Wall -Wpointer-arith
> -Wstrict-prototypes -MT _pokereval_2_5_la-pypokereval.lo -MD -MP
> -MF ".deps/_pokereval_2_5_la-pypokereval.Tpo" -c -o
> _pokereval_2_5_la-pypokereval.lo `test -f 'pypokereval.c' || echo
> './'`pypokereval.c; \ then mv -f
> ".deps/_pokereval_2_5_la-pypokereval.Tpo"
> ".deps/_pokereval_2_5_la-pypokereval.Plo"; else rm -f
> ".deps/_pokereval_2_5_la-pypokereval.Tpo"; exit 1; fi mkdir .libs
> gcc -DPACKAGE_NAME=\"pypoker-eval\"
> -DPACKAGE_TARNAME=\"pypoker-eval\" -DPACKAGE_VERSION=\"134.0\"
> "-DPACKAGE_STRING=\"pypoker-eval 134.0\"" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"pypoker-eval\" -DVERSION=\"134.0\" -D_GNU_SOURCE=1
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_MEMSET=1 -I. -I.
> -I/home1/c/cse39904/python2.5/include/python2.5
> -I/usr/local/include/poker-eval -DPYTHON_VERSION=\"2_5\"
> "-DVERSION_NAME(w)=w##2_5" -pipe -O3 -Wall -Wpointer-arith
> -Wstrict-prototypes -MT _pokereval_2_5_la-pypokereval.lo -MD -MP
> -MF .deps/_pokereval_2_5_la-pypokereval.Tpo -c pypokereval.c  -fPIC
> -DPIC -o .libs/_pokereval_2_5_la-pypokereval.o
>
> The next lines include a whole bunch of pypokereval...error
> messages like these: pypokereval.c:51:24: error: poker_defs.h: No
> such file or directory pypokereval.c:52:26: error: inlines/eval.h:
> No such file or directory pypokereval.c:53:30: error:
> inlines/eval_low.h: No such file or directory pypokereval.c:54:31:
> error: inlines/eval_low8.h: No such file or directory
>
> The closing line is: make: *** [_pokereval_2_5_la-pypokereval.lo]
> Error 1
>
> I see that it can't find the files or directories, which I thought
> pypokereval would have created when I ran the 'make.'  What am I
> missing here?  Any help would be very appreciated!
>
> Regards,
>
> - Josh

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm80rwACgkQ8dLMyEl6F212KwCfQ8UZfkYdJYs3KeU/0RgG6f6q
cDcAnian8bLRDOxJz+6r/1jSawOVlvJJ
=K6rl
-----END PGP SIGNATURE-----

begin:vcard
fn:Loic Dachary
n:Dachary;Loic
org:pokersource
adr:;;12 bd Magenta;Paris;;75010;France
email;internet:[email protected]
title:Senior Developer
tel;work:+33 9 51 18 43 38
tel;cell:+33 6 64 03 29 07
x-mozilla-html:FALSE
url:http://dachary.org/
version:2.1
end:vcard

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

Reply via email to