From: Fred W. <fwi...@ho...> - 2006-01-29 22:37:40
|
Can I ask if you did anything particular to get it to compile? On my system with a new cygwin install ./configure fails at this point checking command to parse /usr/bin/nm -B output from gcc object... ok=20 mine outputs of course: checking command to parse /usr/bin/nm -B output from gcc object... = failed Any ideas what this is? Thanks for responding Fred=20 -----Original Message----- From: Laurent Nepveu [mailto:ne...@gm...] Sent: Sunday, January 29, 2006 5:35 PM To: Fred Wilson Cc: pok...@li... Subject: Re: [Pokersource-users] installing pypoker-eval-128.0 on = cygwin I was able to successfully compile poker-eval on cygwin. The configure script was succesful...no failures...the library was = created... Here is the output : checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk=20 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.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes=20 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... /usr/bin/sed=20 checking for egrep... grep -E checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... = yes checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object = files... -r=20 checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic ^x86 = archive import|^x86 DLL checking for ANSI C header files... yes=20 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=20 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=20 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... 8192 checking command to parse /usr/bin/nm -B output from gcc object... ok=20 checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no=20 checking for gcc option to produce PIC...=20 checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) = supports shared libraries... yes checking whether -lc should be explicitly linked in... yes=20 checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes=20 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/i686-pc-cygwin/bin/ld.exe=20 checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... = yes checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) = supports shared libraries... yes checking for g++ option to produce PIC...=20 checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) = supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate=20 checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking whether to enable maintainer-specific portions of = Makefiles... no checking for a Python interpreter with version >=3D 2.3... python2.4 checking for python2.4... /usr/bin/python2.4 checking for python2.4 version... 2.4 checking for python2.4 platform... cygwin checking for python2.4 script directory... = ${prefix}/lib/python2.4/site-packages=20 checking for python2.4 extension module directory... = ${exec_prefix}/lib/python2.4/site-packages checking for python2.4 include directory... /usr/include/python2.4 checking for python2.4 C libraries directory... = /usr/lib/python2.4/config=20 checking for python2.4 link flags... libpython2.4.dll.a configure: Searching python includes in /usr/include/python2.4 checking Python.h usability... yes checking Python.h presence... yes checking for Python.h.. . yes checking for Python libraries... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for POKER_EVAL... configure: creating ./config.status config.status: creating Makefile config.status: creating pypoker-eval.pc config.status: creating pypoker-eval.spec config.status: executing depfiles commands Laurent On 1/29/06, Fred Wilson <fwi...@ho...> wrote: Well, that makes two packages that don't seem to build under cygwin. = I didn't have any luck with poker-eval. Although you successfully ran teh ./configure script, couyld you = check the output from it and see if any line says "failed" or has a = warning. Thanks, Fred -----Original Message----- From: pok...@li... = [mailto:pok...@li...]On Behalf Of = Laurent Nepveu Sent: Sunday, January 29, 2006 2:08 PM To: pok...@li... Subject: [Pokersource-users] installing pypoker-eval-128.0 on = cygwin Hi! I'm trying to install pypoker-eval-128.0 on cygwin. I have succesfully run the ./configure script. But now, I run make and I have the following ouput : [nepveul@madrid /c/bin/poker/pypoker-eval-128.0 ]$ make if /bin/sh ./libtool --tag=3DCC --mode=3Dcompile gcc = -DPACKAGE_NAME=3D\"pypoker-eval\" -DPACKAGE_TARNAME=3D\"pypoker-eval\" = -DPACKAGE_VERSION=3D\"128.0\" -DPACKAGE_STR ING=3D\"pypoker-eval\ 128.0\" -DPACKAGE_BUGREPORT=3D\"\" = -DPACKAGE=3D\"pypoker-eval\" -DVERSION=3D\"128.0\" -D_GNU_SOURCE=3D1 = -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DH AVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 = -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 = -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFC=20 N_H=3D1 -I. -I. -I/usr/include/python2.4 = -I/usr/local/include/poker-eval -pipe -O3 -Wall -Wpointer-arith = -Wstrict-prototypes -MT pypokereval.lo -MD -MP - MF ".deps/pypokereval.Tpo" -c -o pypokereval.lo pypokereval.c; \ then mv -f ".deps/pypokereval.Tpo" ".deps/pypokereval.Plo"; else = rm -f ".deps/pypokereval.Tpo"; exit 1; fi mkdir .libs gcc -DPACKAGE_NAME=3D\"pypoker-eval\" = -DPACKAGE_TARNAME=3D\"pypoker-eval\" -DPACKAGE_VERSION=3D\" 128.0\" = "-DPACKAGE_STRING=3D\"pypoker-eval 128.0\"" -DPACKAGE_BUGRE PORT=3D\"\" -DPACKAGE=3D\"pypoker-eval\" -DVERSION=3D\"128.0\" = -D_GNU_SOURCE=3D1 -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 = -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_S=20 TRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 = -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 = -DHAVE_DLFCN_H=3D1 -I. -I. -I/usr/include/python2.4 -I/u sr/local/include/poker-eval -pipe -O3 -Wall -Wpointer-arith = -Wstrict-prototypes -MT pypokereval.lo -MD -MP -MF .deps/pypokereval.Tpo = -c pypokereval.c -DPIC -o .libs/pypokereval.o pypokereval.c:500: warning: 'CardMask2PyList' defined but not used gcc -DPACKAGE_NAME=3D\"pypoker-eval\" = -DPACKAGE_TARNAME=3D\"pypoker-eval\" -DPACKAGE_VERSION=3D\" 128.0\" = "-DPACKAGE_STRING=3D\"pypoker-eval 128.0\"" -DPACKAGE_BUGRE PORT=3D\"\" -DPACKAGE=3D\"pypoker-eval\" -DVERSION=3D\"128.0\" = -D_GNU_SOURCE=3D1 -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 = -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_S=20 TRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 = -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 = -DHAVE_DLFCN_H=3D1 -I. -I. -I/usr/include/python2.4 -I/u sr/local/include/poker-eval -pipe -O3 -Wall -Wpointer-arith = -Wstrict-prototypes -MT pypokereval.lo -MD -MP -MF .deps/pypokereval.Tpo = -c pypokereval.c -o pypo kereval.o >/dev/null 2>&1 /bin/sh ./libtool --tag=3DCC --mode=3Dlink gcc -pipe -O3 -Wall = -Wpointer-arith -Wstrict-prototypes -o pypokereval.la -rpath = /usr/local/lib/python2.4/site-pack ages -module pypokereval.lo -L/usr/lib/python2.4/config = libpython2.4.dll.a -L/usr/local/lib -lpoker-eval *** Warning: Trying to link with static lib archive = libpython2.4.dll.a. *** I have the capability to make that library automatically link = in when *** you link to this library. But I can only do this if you have = a *** shared version of the library, which you do not appear to have = *** because the file extensions .a of this argument makes me = believe *** that it is just a static archive that I should not used here. *** Warning: This system can not link to static lib archive = /usr/local/lib/libpoker- eval.la. *** I have the capability to make that library automatically link = in when *** you link to this library. But I can only do this if you have = a *** shared version of the library, which you do not appear to = have.=20 *** But as you try to build a module library, libtool will still = create *** a static module, that should work as long as the dlopening = application *** is linked with the -dlopen flag to resolve symbols at runtime. = libtool: link: warning: undefined symbols not allowed in = i686-pc-cygwin shared libraries ar cru .libs/pypokereval.a libpython2.4.dll.a pypokereval.o = libpython2.4.dll.a ar: libpython2.4.dll.a: No such file or directory=20 make: *** [pypokereval.la] Error 1 Could anyone help? thanks! Laurent --=20 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date: = 1/27/2006 |