Mystake on my side, it wasnt the last poker-engine src archive.
It seems to be ok. Now. I'm going on my install and get back to you asap for
a report.
2008/1/15, tapie fan <[EMAIL PROTECTED]>:
>
> I added the python libs in the gcc command line. Now, the make install
> seems to work and pypoker seems to be installed. I have this result :
>
> make[1]: Entering directory `/etc/pypoker-eval-134.0'
> test -z "" || mkdir -p -- ""
> test -z "" || mkdir -p -- ""
> test -z "/usr/local/lib/python2.5/site-packages" || mkdir -p --
> "/usr/local/lib/python2.5/site-packages"
> /bin/sh ./libtool --mode=install /usr/bin/install -c '_pokereval_2_5.la'
> '/usr/local/lib/python2.5/site-packages/_pokereval_2_5.la'
> /usr/bin/install -c .libs/_pokereval_2_5.dll.a
> /usr/local/lib/python2.5/site-packages/_pokereval_2_5.dll.a
> base_file=`basename ${file}`
> dlpath=`/bin/sh 2>&1 -c '. .libs/'${base_file}'i;echo $dlname'`
> dldir=/usr/local/lib/python2.5/site-packages/`dirname $dlpath`
> test -d $dldir || mkdir -p $dldir
> /usr/bin/install -c .libs/_pokereval_2_5-1.dll $dldir/_pokereval_2_5-
> 1.dll
> chmod a+x $dldir/_pokereval_2_5- 1.dll
> /usr/bin/install -c .libs/_pokereval_2_5.lai
> /usr/local/lib/python2.5/site-packages/_pokereval_2_5.la
> /usr/bin/install -c .libs/_pokereval_2_5.a
> /usr/local/lib/python2.5/site-packages/_pokereval_2_5.a
> chmod 644 /usr/local/lib/python2.5/site-packages/_pokereval_2_5.a
> ranlib /usr/local/lib/python2.5/site-packages/_pokereval_2_5.a
> ----------------------------------------------------------------------
> Libraries have been installed in:
> /usr/local/lib/python2.5/site-packages
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
> - add LIBDIR to the `PATH' environment variable
> during execution
> - add LIBDIR to the `LD_RUN_PATH' environment variable
> during linking
> - use the `-LLIBDIR' linker flag
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> test -z "/usr/local/lib/pkgconfig" || mkdir -p --
> "/usr/local/lib/pkgconfig"
> /usr/bin/install -c -m 644 'pypoker-eval.pc'
> '/usr/local/lib/pkgconfig/pypoker-eval.pc'
> test -z "/usr/local/lib/python2.5/site-packages" || mkdir -p --
> "/usr/local/lib/python2.5/site-packages"
> /usr/bin/install -c -m 644 'pokereval.py'
> '/usr/local/lib/python2.5/site-packages/pokereval.py'
> Byte-compiling python modules...
> pokereval.py
> Byte-compiling python modules (optimized versions) ...
> pokereval.py
> make[1]: Leaving directory `/etc/pypoker-eval-134.0'
>
>
> When trying to configure poker-engine, pypoker is now found, but pokereval
> is now not found anymore :'(
>
> Here is the result in the console :
>
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make sets $(MAKE)... (cached) yes
> checking for rsync... /usr/bin/rsync
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for a Python interpreter with version >= 2.3... python
> checking for python... /usr/bin/python
> checking for python version... 2.5
> checking for python platform... cygwin
> checking for python script directory...
> ${prefix}/lib/python2.5/site-packages
> checking for python extension module directory...
> ${exec_prefix}/lib/python2.5/site-packages
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for PYPOKER_EVAL... yes
> checking wether python module libxml2 is available...
> /usr/lib/python2.5/site-packages/libxml2.py ... yes
> checking wether python module libxslt is available...
> /usr/lib/python2.5/site-packages/libxslt.py ... yes
> checking wether python module pokereval is available...
> Traceback (most recent call last):
> File "<string>", line 8, in <module>
> ImportError: No module named pokereval
> configure: error: failed
>
> I'm becoming crazy :D
>
>
>
>
> 2008/1/15, Loic Dachary <[EMAIL PROTECTED] >:
> >
> > "tapie fan" <[EMAIL PROTECTED] > writes:
> >
> > > Actually pypoker-eval is not install, because the make install
> > generate an
> > > error, at the same command line, because the beginning od the script
> > is the
> > > same :
> > >
> > > gcc -shared .libs/_pokereval_2_5_la- pypokereval.o
> > > -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
> > >
> > > is there a way to add this parameter
> > >
> > > -lpython2.5 -L/usr/lib/python2.5/config
> > >
> > > to the gcc command line above in the Makefile script ? (it will be a
> > good way
> > > to create a patch too).
> >
> > The patch must go in the config/ccpython.m4 file. The syntax is
> > strange.
> > Let me know if you find your way around.
> >
> > --
> > +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