-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Doug Sheppard wrote: > Hi Loic, I'm getting back into the pokersource now and am trying to compile the > server. I grabbed the four packages below and am following the instructions on > compiling, but I hit an error. I was following your "HOWTO-install-from-sources" > file. > I'm not sure why it fails and we could investigate (maybe someone on the list to which I've cc'ed the message had the same issue). You would have a much easier time installing the binary packages. Which distribution are you running ? > The packages include: > wget "http://download.gna.org/pokersource/sources/poker-eval-134.0.tar.gz" > wget "http://download.gna.org/pokersource/sources/pypoker-eval-135.0.tar.gz" > wget "http://download.gna.org/pokersource/sources/poker-engine-1.2.0.tar.gz" > wget "http://download.gna.org/pokersource/sources/poker-network-1.6.0.tar.gz" > > I configure/make everything in ~/local/poker/poker-eval just fine. > > But then after the configure in pypoker-eval, the "make" says everything is > already made?: > > [EMAIL PROTECTED]/root/local/poker/pypoker-eval}: ./configure > --prefix=/usr/local/poker > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking target system type... x86_64-unknown-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 ANSI C... 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 egrep... 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 f77... no > checking for xlf... no > checking for frt... no > checking for pgf77... no > checking for fort77... no > checking for fl32... no > checking for af77... no > checking for f90... no > checking for xlf90... no > checking for pgf90... no > checking for epcf90... no > checking for f95... no > checking for fort... no > checking for xlf95... no > checking for ifc... no > checking for efc... no > checking for pgf95... no > checking for lf95... no > checking for gfortran... 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 -m elf_x86_64) 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 -m elf_x86_64 > checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes > checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) 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 python2.4... /usr/bin/python2.4 > checking for python2.4 version... done > checking for python2.4 platform... done > checking for python2.4 script directory... done > checking for python2.4 extension module directory... done > checking for include directory... /usr/include/python2.4 > checking for python2.4 C libraries directory... /usr/lib64/python2.4/config > checking for python2.4 link flags... -L/usr/lib64/python2.4/config -lpython2.4 > checking python includes in /usr/include/python2.4 > 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.4 > checking for a Python interpreter with version =2.5... done > 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 > > [EMAIL PROTECTED]/root/local/poker/pypoker-eval}: make > make: Nothing to be done for `all'. > > So I did a force make, but afterwards the "make test" fails! Any ideas? > > [EMAIL PROTECTED]/root/local/poker/pypoker-eval}: make -B > cd . && /bin/sh /root/local/poker/pypoker-eval/config/missing --run > automake-1.9 --gnu Makefile > cd . && /bin/sh /root/local/poker/pypoker-eval/config/missing --run autoconf > /bin/sh ./config.status --recheck > running /bin/sh ./configure --prefix=/usr/local/poker --no-create --no-recursion > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking target system type... x86_64-unknown-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 ANSI C... 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 egrep... 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 f77... no > checking for xlf... no > checking for frt... no > checking for pgf77... no > checking for fort77... no > checking for fl32... no > checking for af77... no > checking for f90... no > checking for xlf90... no > checking for pgf90... no > checking for epcf90... no > checking for f95... no > checking for fort... no > checking for xlf95... no > checking for ifc... no > checking for efc... no > checking for pgf95... no > checking for lf95... no > checking for gfortran... 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 -m elf_x86_64) 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 -m elf_x86_64 > checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes > checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) 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 python2.4... /usr/bin/python2.4 > checking for python2.4 version... done > checking for python2.4 platform... done > checking for python2.4 script directory... done > checking for python2.4 extension module directory... done > checking for include directory... /usr/include/python2.4 > checking for python2.4 C libraries directory... /usr/lib64/python2.4/config > checking for python2.4 link flags... -L/usr/lib64/python2.4/config -lpython2.4 > checking python includes in /usr/include/python2.4 > 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.4 > checking for a Python interpreter with version =2.5... done > 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 > /bin/sh ./config.status > config.status: creating Makefile > config.status: creating pypoker-eval.pc > config.status: executing depfiles commands > cd . && /bin/sh ./config.status pypoker-eval.pc > config.status: creating pypoker-eval.pc > [EMAIL PROTECTED]/root/local/poker/pypoker-eval}: make check > make check-TESTS > make[1]: Entering directory `/root/local/poker/pypoker-eval' > Traceback (most recent call last): > File "./test.py", line 32, in ? > from pokereval import PokerEval > File "./pokereval.py", line 29, in ? > _pokereval = __import__('_pokereval_' + sys.version[0] + '_' + sys.version[2]) > ImportError: No module named _pokereval_2_4 > FAIL: test.py > Traceback (most recent call last): > File "./bug-1823.py", line 24, in ? > from pokereval import PokerEval > File "./pokereval.py", line 29, in ? > _pokereval = __import__('_pokereval_' + sys.version[0] + '_' + sys.version[2]) > ImportError: No module named _pokereval_2_4 > FAIL: bug-1823.py > =================== > 2 of 2 tests failed > =================== > make[1]: *** [check-TESTS] Error 1 > make[1]: Leaving directory `/root/local/poker/pypoker-eval' > make: *** [check-am] Error 2 > > Let me know what you think please. I can't get to the next configure/make until > this one is done properly. Even if I do the make install anyway, on the next > package I get "ImportError: No module named pokereval" > > > thanks, > > -doug > > > >
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAki3tWcACgkQ8dLMyEl6F21JxwCgubMCqyAMS5dsilDi409nsSUv XXAAnifLnKAR9vmP8j1SY/WRRjJrido8 =Kll+ -----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
