vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On 2005-08-18, Thibaud de Borggraef <thibaud> wrote: > has anyone any idea on how to install crafty (chess) on slackware and let it > work with its opening books? Download source files (tar.gz)... http://www.linux.org/apps/AppId_956.html ....unpack and compile.... http://www.justlinux.com/nhf/Softwar..._Software.html nb |
| |||
| Thanks, but such things I don't need to read. My problem comes from the makefile: $:~/crafty-19.9$ make linux make target=LINUX \ CC=gcc CXX=g++ \ CFLAGS=' -Wall -pipe -D_REENTRANT -march=i686 -O3 \ -fbranch-probabilities -fforce-mem -fomit-frame-pointer \ -fno-gcse -mpreferred-stack-boundary=2' \ CXFLAGS= \ LDFLAGS=' -lpthread -lstdc++' \ opt=' \ -DUSE_ASSEMBLY -DFAST \ -DPOSIX -DSMP -DCPUS=4 -DDGT' \ asm=X86.o \ crafty-make make[1]: Entering directory `/home/thibaud/crafty-19.9' make[2]: Entering directory `/home/thibaud/crafty-19.9' gcc -lpthread -lstdc++ -o crafty crafty.o egtb.o X86.o -lm gcc: crafty.o: No such file or directory make[2]: *** [crafty] Error 1 make[2]: Leaving directory `/home/thibaud/crafty-19.9' make[1]: *** [crafty-make] Error 2 make[1]: Leaving directory `/home/thibaud/crafty-19.9' make: *** [linux] Error 2 And so what now? thibaud notbob wrote: > On 2005-08-18, Thibaud de Borggraef <thibaud> wrote: > >> has anyone any idea on how to install crafty (chess) on slackware and let >> it work with its opening books? > > Download source files (tar.gz)... > > http://www.linux.org/apps/AppId_956.html > > ...unpack and compile.... > > http://www.justlinux.com/nhf/Softwar..._Software.html > > nb |
| |||
| Hello, Thibaud de Borggraef wrote: > $:~/crafty-19.9$ make linux > make target=LINUX \ > CC=gcc CXX=g++ \ > CFLAGS=' -Wall -pipe -D_REENTRANT -march=i686 -O3 \ > -fbranch-probabilities -fforce-mem -fomit-frame-pointer \ > -fno-gcse -mpreferred-stack-boundary=2' \ > CXFLAGS= \ > LDFLAGS=' -lpthread -lstdc++' \ > opt=' \ > -DUSE_ASSEMBLY -DFAST \ > -DPOSIX -DSMP -DCPUS=4 -DDGT' \ > asm=X86.o \ > crafty-make > make[1]: Entering directory `/home/thibaud/crafty-19.9' > make[2]: Entering directory `/home/thibaud/crafty-19.9' > gcc -lpthread -lstdc++ -o crafty crafty.o egtb.o X86.o -lm > gcc: crafty.o: No such file or directory > make[2]: *** [crafty] Error 1 > make[2]: Leaving directory `/home/thibaud/crafty-19.9' > make[1]: *** [crafty-make] Error 2 > make[1]: Leaving directory `/home/thibaud/crafty-19.9' > make: *** [linux] Error 2 > > And so what now? > > thibaud Several hints: - gcc version is often important with crafty - it's often compiled by bob hyatt with the current stable version of gcc - gcc-3.3.5 or gcc-3.3.6 is perfect for crafty-19.19 (nineteen.nineteen not nineteen.nine!) the last version of crafty. - in opt=' -DSMP -DCPUS=4' means a computer with 4 processors! (Is it your case?) because bob hyatt have several SMP in his labs. - in opt='-DDGT' is for wood chess board connected to computer. In you don't need them you may remove these options. - When using profiling compilation with gcc 3.3.x you have to compile your program twice: first with use of the option -fprofile-arcs and run the program a little to generate all .da files. second to remove all .o files and to compile with the option -fbranch-probabilities instead of -fprofile-arcs to generate profiled program which uses all .da files You should have good informations in rec.games.chess.computer. HTH |
| ||||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 20 Aug 2005 11:22:56 +0200, OTTAVI Alain wrote: > Hello, > > Thibaud de Borggraef wrote: > >> $:~/crafty-19.9$ make linux >> make target=LINUX \ >> CC=gcc CXX=g++ \ >> CFLAGS=' -Wall -pipe -D_REENTRANT -march=i686 -O3 \ >> -fbranch-probabilities -fforce-mem -fomit-frame-pointer \ >> -fno-gcse -mpreferred-stack-boundary=2' \ >> CXFLAGS= \ >> LDFLAGS=' -lpthread -lstdc++' \ >> opt=' \ >> -DUSE_ASSEMBLY -DFAST \ >> -DPOSIX -DSMP -DCPUS=4 -DDGT' \ >> asm=X86.o \ >> crafty-make >> make[1]: Entering directory `/home/thibaud/crafty-19.9' >> make[2]: Entering directory `/home/thibaud/crafty-19.9' >> gcc -lpthread -lstdc++ -o crafty crafty.o egtb.o X86.o -lm >> gcc: crafty.o: No such file or directory >> make[2]: *** [crafty] Error 1 >> make[2]: Leaving directory `/home/thibaud/crafty-19.9' >> make[1]: *** [crafty-make] Error 2 >> make[1]: Leaving directory `/home/thibaud/crafty-19.9' >> make: *** [linux] Error 2 >> >> And so what now? >> >> thibaud > That is a rather old version of crafty. You may wish to try a newer version, 19.20 is released (11 versions newer than your 19.9) and the crafty mailing list hasn't had any linux related build problems posted. Crafty list: http://www.cis.uab.edu/mailman/listinfo/crafty-list Get the crafty source from: ftp://ftp.cis.uab.edu/pub/hyatt/source/ Brad -----BEGIN PGP SIGNATURE----- iD8DBQFDDmCzkDp4KjYna1ARAkdJAJ0Z1wa1eAM+BDrL22Y0LO oRczB/SACeLhpr +0liI7VI+79nt5GvWZJI8ho= =v7hF -----END PGP SIGNATURE----- |