Still looking for some help on this message.  I didn't have access to the
pokersource mailing list before...

---------- Forwarded message ----------
From: Joshua Veit <[email protected]>
Date: Sat, Mar 14, 2009 at 8:05 PM
Subject: Re: Installing Pypoker
To: [email protected]


Thanks for the quick reply, Bradley.

I looked in the root lib folder, and I don't see libpoker-eval or anything
like that, so I don't believe it's already installed.  This is a computer on
my university's server, so when i try to run 'make install' from the
pokereval folder in Konsole, I am denied access to create a libpoker-eval
folder, so I suspect that is my problem.

Is there a way to get around installing the library, like installing the
library in my local folder and then importing from that location instead of
the root lib folder?  If so, what are the commands I would use?

I'm running this on openSUSE 10.3 (i586), VERSION = 10.3.

Thanks!

 - Josh



On Sat, Mar 14, 2009 at 7:31 PM, Bradley M. Kuhn <[email protected]> wrote:

> Josh V wrote:
>
> > Hi Bradley,
>
> Please don't send general questions to individual pokersource developers.
> I suggest you send your questions to <[email protected]>, which is
> a mailing list to ask questions about pokersource.  I've cc'ed your
> message there so you can follow up to it easily.
>
> > 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:
>
> If you are on a GNU/Linux machine, and you run a well-known distribution,
> Pokersource is probably already packaged for your system.  Did you try to
> use the system-level packaging system to get the pokersource packages?
>
> > 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
>
> Looks like poker-eval is not properly installed.
>
> > 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!
> >
>
>   -- bkuhn
>
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to