--- Begin Message ---hi, it's working now , but I have another problem with the command in /poker/MySQL-python when I try to do python setup py install --prefix=/usr/local/poker debian:/usr/local/poker/MySQL-python-1.2.3c1# python setup.py install --prefix=/usr/local/poker 'import site' failed; use -v for traceback running install Checking .pth file support in /usr/local/poker/lib/python2.5/site-packages/ /usr/bin/python -E -c pass 'import site' failed; use -v for traceback TEST FAILED: /usr/local/poker/lib/python2.5/site-packages/ does NOT support .pth files error: bad install directory or PYTHONPATHYou are attempting to install a package to a directory that is not on PYTHONPATH and which Python does not read ".pth" files from. The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: /usr/local/poker/lib/python2.5/site-packages/ and your PYTHONPATH environment variable currently contains: '' Here are some of your options for correcting the problem: * You can choose a different installation directory, i.e., one that is on PYTHONPATH or supports .pth files * You can add the installation directory to the PYTHONPATH environment variable. (It must then also be on PYTHONPATH whenever you run Python and want to use the package(s) you are installing.) * You can set up the installation directory to support ".pth" files by using one of the approaches described here: http://peak.telecommunity.com/EasyInstall.html#custom-installation-locations Please make the appropriate changes for your system and try again. I wrote in .profile,hmmm, bashrc export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/poker/lib/pkgconfig:/usr/local/poker/share/pkgconfig export PATH=$PATH:/usr/local/poker/sbin:/usr/local/poker/bin export PYTHONPATH=/usr/local/poker/lib/python2.5/site-packages what's up ? pls have nice day --- On Wed, 11/25/09, Loic Dachary <l...@dachary.org> wrote: From: Loic Dachary <l...@dachary.org> Subject: Re: [Pokersource-users] pypoker problem to install To: "cordier-brinzeu cyril" <brinz...@yahoo.com> Cc: "Pokersource Users" <pokersource-users@gna.org> Date: Wednesday, November 25, 2009, 1:18 AM -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I suggest you try with : http://download.gna.org/pokersource/sources/poker-eval-136.0.tar.gz Cheers > debian:/usr/local/poker/pypoker-eval-135.0# ./configure checking > build system type... i686-pc-linux-gnu checking host system type... > i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu > 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 style of > include used by make... GNU checking for gcc... gcc checking for C > compiler default output file name... a.out checking whether the C > compiler works... yes checking whether we are cross compiling... no > checking for suffix of executables... checking for suffix of > object files... o checking whether we are using the GNU C > compiler... yes checking whether gcc accepts -g... yes checking for > gcc option to accept ISO C89... none needed checking dependency > style of gcc... gcc3 checking how to run the C preprocessor... gcc > -E checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E checking for ld used by gcc... > /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for /usr/bin/ld option to reload object files... -r > checking for BSD-compatible nm... /usr/bin/nm -B checking whether > ln -s works... yes checking how to recognise dependent libraries... > pass_all checking for ANSI C header files... yes checking for > sys/types.h... yes checking for sys/stat.h... yes checking for > stdlib.h... yes checking for string.h... yes checking for > memory.h... yes checking for strings.h... yes checking for > inttypes.h... yes checking for stdint.h... yes checking for > unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h > presence... yes checking for dlfcn.h... yes checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes checking > whether g++ accepts -g... yes checking dependency style of g++... > gcc3 checking how to run the C++ preprocessor... g++ -E checking > for g77... no checking for xlf... no checking for f77... no > checking for frt... no checking for pgf77... no checking for > cf77... no checking for fort77... no checking for fl32... no > checking for af77... no checking for xlf90... no checking for > f90... no checking for pgf90... no checking for pghpf... no > checking for epcf90... no checking for gfortran... no checking for > g95... no checking for xlf95... no checking for f95... no checking > for fort... no checking for ifort... no checking for ifc... no > checking for efc... no checking for pgf95... no checking for > lf95... no checking for ftn... no checking whether we are using the > GNU Fortran 77 compiler... no checking whether accepts -g... no > checking the maximum length of command line arguments... 32768 > checking command to parse /usr/bin/nm -B output from gcc object... > ok checking for objdir... .libs checking for ar... ar checking for > ranlib... ranlib checking for strip... strip checking if gcc > supports -fno-rtti -fno-exceptions... no checking for gcc option to > produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes > checking if gcc static flag -static works... yes checking if gcc > supports -c -o file.o... yes checking whether the gcc linker > (/usr/bin/ld) supports shared libraries... yes checking whether -lc > should be explicitly linked in... no checking dynamic linker > characteristics... GNU/Linux ld.so checking how to hardcode library > paths into programs... immediate checking whether stripping > libraries is possible... yes checking if libtool supports shared > libraries... yes checking whether to build shared libraries... yes > checking whether to build static libraries... yes configure: > creating libtool appending configuration tag "CXX" to libtool > checking for ld used by g++... /usr/bin/ld checking if the linker > (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker > (/usr/bin/ld) supports shared libraries... yes checking for g++ > option to produce PIC... -fPIC checking if g++ PIC flag -fPIC > works... yes checking if g++ static flag -static works... yes > checking if g++ supports -c -o file.o... yes checking whether the > g++ linker (/usr/bin/ld) supports shared libraries... yes checking > dynamic linker characteristics... GNU/Linux ld.so checking how to > hardcode library paths into programs... immediate appending > configuration tag "F77" to libtool checking for ranlib... (cached) > ranlib checking for memset... yes checking whether to enable > maintainer-specific portions of Makefiles... no checking for a > Python interpreter with version =2.3... done checking for a Python > interpreter with version =2.4... done checking for a Python > interpreter with version =2.5... done checking for python2.5... > /usr/bin/python2.5 checking for python2.5 version... done checking > for python2.5 platform... done checking for python2.5 script > directory... done checking for python2.5 extension module > directory... done checking for include directory... > /usr/include/python2.5 checking for python2.5 C libraries > directory... /usr/lib/python2.5/config checking for python2.5 link > flags... -L/usr/lib/python2.5/config -lpython2.5 checking python > includes in /usr/include/python2.5 checking Python.h usability... > no checking Python.h presence... no checking for Python.h... no > checking for Python libraries... yes configure: WARNING: No python > compilation environment for =2.5 checking for pkg-config... > /usr/bin/pkg-config checking pkg-config is at least version > 0.9.0... yes checking for POKER_EVAL... yes configure: creating > ./config.status config.status: creating Makefile config.status: > creating pypoker-eval.pc config.status: executing depfiles commands > debian:/usr/local/poker/pypoker-eval-135.0# make make: Rien à > faire pour « all ». debian:/usr/local/poker/pypoker-eval-135.0# > make check make check-TESTS make[1]: entrant dans le répertoire « > /usr/local/poker/pypoker-eval-135.0 » Traceback (most recent call > last): File "./test.py", line 32, in <module> from pokereval import > PokerEval File "./pokereval.py", line 29, in <module> _pokereval = > __import__('_pokereval_' + sys.version[0] + '_' + sys.version[2]) > ImportError: No module named _pokereval_2_5 FAIL: test.py Traceback > (most recent call last): File "./bug-1823.py", line 24, in <module> > from pokereval import PokerEval File "./pokereval.py", line 29, in > <module> _pokereval = __import__('_pokereval_' + sys.version[0] + > '_' + sys.version[2]) ImportError: No module named _pokereval_2_5 > FAIL: bug-1823.py =================== 2 of 2 tests failed > =================== make[1]: *** [check-TESTS] Erreur 1 make[1]: > quittant le répertoire « /usr/local/poker/pypoker-eval-135.0 » > make: *** [check-am] Erreur 2 > > thanks for you help > > have nice day > > Cyril Cordier-Brinzeu +33622460073 --- On *Tue, 11/24/09, Loic > Dachary /<l...@dachary.org>/* wrote: > > > From: Loic Dachary <l...@dachary.org> Subject: Re: > [Pokersource-users] pypoker problem to install To: "cordier-brinzeu > cyril" <brinz...@yahoo.com> Cc: pokersource-users@gna.org Date: > Tuesday, November 24, 2009, 12:17 PM > > cordier-brinzeu cyril wrote: >> hi, I have a problem to install pypoker just because > POKER-EVAL_2_5 >> wich doesn't exist. Is somebody could help me pls ? > >> have nice day > > Sure. What is your operating system ? Can you please send a copy of > the error messages you get ? > > Cheers > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksM9m0ACgkQ8dLMyEl6F23G5QCfRo+pf7KQ6MQLI6T60qhpKLaN AfUAoJaneuVF70LbN7cFnJ2rETqFzEZQ =Su5c -----END PGP SIGNATURE-----
--- End Message ---
<<attachment: loic.vcf>>
_______________________________________________ Pokersource-users mailing list Pokersource-users@gna.org https://mail.gna.org/listinfo/pokersource-users