Hallo Patrick,
ich weiß nicht, ob ich Dir helfen kann - bin ein Linux-Greenhorn 😇
Auf zwei Seiten habe ich Hinweise finden können, die das Installieren (bzw. auch Kompilieren) ohne den Dreierschritt empfehlen:
http://en.opensuse.org/Chess#Crafty
Crafty
Prior to openSUSE 10.3, simply install openSUSE provided rpm. openSUSE 10.3 and 11.0 do not provide an rpm for Crafty. However it is relatively easy to install crafty on those PCs. Either use the one-click install package from the build service or follow these instructions to compile it:
Copy the crafty tarball to /home/username/chess, and untar it there. The tarball can be located here:
* ftp://ftp.cis.uab.edu/pub/hyatt/
To compile crafty on a 32-bit openSUSE PC, one needs to type: "make linux". For a 64-bit openSUSE, instead use "make linux-amd64". This will create a crafty executable. Now copy this executable to the path on your openSUSE.
und
http://ubuntuforums.org/showthread.php?t=31659&page=2
June 16th, 2005
kb00heda
Re: ChessBase with Wine
OK, I'll try! (Actually, there will be no real installation, since this procedure only creates an executable to run.)
I did like this:
1) Download the source package
Go to <ftp://ftp.cis.uab.edu/pub/hyatt/>, click on "source" (as you will see there are, e.g., books and tablebases to download as well, if one wants them) and then scroll down to select the latest (and the greatest) "crafty-19.19.tar.gz" version. Have it put at some suitable location (in my case /home/kb00heda/Chess/Crafty/).
2) Untar and compile Crafty
In a terminal execute:
cd /home/kb00heda/Chess/Crafty
tar -xzvf crafty-19.19.tar.gz
cd crafty-19.19
make linux
In fact this is it: the tar command, with options, decompresses and untars the downloaded file, and creates a directory crafty-19.19, where all files are placed, and then "make linux" (have this changed to "make linux-amd64" if you run such a machine --- have a look at "Makefile" for details) eventually (it takes some time to run) produces an executable "crafty".
Now to run the chess engine in xboard type something like:
xboard -fcp ./crafty -fd Chess/Crafty/crafty-19.19
in a terminal (this works for me --- note that "/home/kb00heda" must not be included). There are the possibilities to add opening books and tablebases too, but I can tell you about this later, assuming running Crafty works fine.
Crafty can also be run in a terminal (without any graphics) or, e.g., from within SCID or Jose, which are database programs, that can be used for analyzing games. Actually this is how I mainly use Crafty.
Ich selbst bin noch nicht einmal so weit gekommen wie Du:
martin@MD8088:~$ sudo apt-get build-dep crafty
[sudo] password for martin:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
martin@MD8088:~$ cd /home/martin/chess/crafty/crafty-23.0
martin@MD8088:~/chess/crafty/crafty-23.0$ ./configure
bash: ./configure: No such file or directory
martin@MD8088:~/chess/crafty/crafty-23.0$ make
make linux-icc
make[1]: Betrete Verzeichnis '/home/martin/chess/crafty/crafty-23.0'
make target=LINUX \
CC=icc CXX=icc \
CFLAGS=' -O2 \
-xN -prof_use -prof_dir ./profdir \
-Ob2 -fno-alias' \
CXFLAGS=' -O2 \
-w -xN -prof_use -prof_dir ./profdir' \
LDFLAGS=' -lpthread -lstdc++' \
opt=' -DTEST -DINLINE32 -DCPUS=4' \
crafty-make
make[2]: Betrete Verzeichnis '/home/martin/chess/crafty/crafty-23.0'
make[3]: Betrete Verzeichnis '/home/martin/chess/crafty/crafty-23.0'
make[3]: »crafty« ist bereits aktualisiert.
make[3]: Verlasse Verzeichnis '/home/martin/chess/crafty/crafty-23.0'
make[2]: Verlasse Verzeichnis '/home/martin/chess/crafty/crafty-23.0'
make[1]: Verlasse Verzeichnis '/home/martin/chess/crafty/crafty-23.0'
martin@MD8088:~/chess/crafty/crafty-23.0$ checkinstall
checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
Diese Software wurde unter der GNU GPL veröffentlicht
The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: y
Bereite Paket-Dokumentation vor...OK
*** No known documentation files were found. The new package
*** won't include a documentation directory.
Bitte geben Sie eine Beschreibung für das Paket ein.
Beenden Sie Ihre Beschreibung mit einer leeren Zeile oder EOF.
>> crafty
>>
*****************************************
**** Debian package creation selected ***
*****************************************
Das Paket wird entsprechend dieser Vorgaben erstellt:
0 - Maintainer: [ martin@MD8088 ]
1 - Summary: [ crafty ]
2 - Name: [ crafty ]
3 - Version: [ 23.0 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ crafty-23.0 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ crafty ]
Geben Sie die betreffende Nummer ein, um die Vorgaben zu ändern:
Installing with make...Installing with install...
====================== Installations-Ergebnisse ==========================
make: *** Keine Regel, um »install« zu erstellen. Schluss.
**** Installation fehlgeschlagen. Breche Paket-Erzeugung ab.
Räume auf...OK
Auf Wiedersehen!
martin@MD8088:~/chess/crafty/crafty-23.0$ make linux
make target=LINUX \
CC=gcc CXX=g++ \
CFLAGS=' -g -Wall -pipe -march=i686 -O3 \
-fno-gcse -mpreferred-stack-boundary=2' \
CXFLAGS= \
LDFLAGS=' -g -lpthread -lstdc++' \
opt=' -DDEBUG -DTRACE -DINLINE32 -DCPUS=2' \
crafty-make
make[1]: Betrete Verzeichnis '/home/martin/chess/crafty/crafty-23.0'
make[2]: Betrete Verzeichnis '/home/martin/chess/crafty/crafty-23.0'
make[2]: »crafty« ist bereits aktualisiert.
make[2]: Verlasse Verzeichnis '/home/martin/chess/crafty/crafty-23.0'
make[1]: Verlasse Verzeichnis '/home/martin/chess/crafty/crafty-23.0'
martin@MD8088:~/chess/crafty/crafty-23.0$ checkinstall
checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
Diese Software wurde unter der GNU GPL veröffentlicht
The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: y
Bereite Paket-Dokumentation vor...OK
*** No known documentation files were found. The new package
*** won't include a documentation directory.
*****************************************
**** Debian package creation selected ***
*****************************************
Das Paket wird entsprechend dieser Vorgaben erstellt:
0 - Maintainer: [ martin@MD8088 ]
1 - Summary: [ crafty ]
2 - Name: [ crafty ]
3 - Version: [ 23.0 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ crafty-23.0 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ crafty ]
Geben Sie die betreffende Nummer ein, um die Vorgaben zu ändern:
Installing with make...Installing with install...
====================== Installations-Ergebnisse ==========================
make: *** Keine Regel, um »install« zu erstellen. Schluss.
**** Installation fehlgeschlagen. Breche Paket-Erzeugung ab.
Räume auf...OK
Auf Wiedersehen!
martin@MD8088:~/chess/crafty/crafty-23.0$
Configure nimmt er gar nicht. Mit den Empfehlungen auf den o.g. Seiten bin ich auch nicht weiter gekommen.
Auf amd64 ist mir das Gleiche passiert.
Schade. Habe nirgendwo eine Anleitung für Leute ohne tiefgreifende Shell-Kenntnisse finden können.
Immerhin funktioniert die wenn auch veraltete Version aus den Repositories unter Scid einwandfrei.
Schöne Grüße und viel Glück
Martin