emerge crafty emerge gnuchess installs chess engines. emerge knights installs a kde board emerge xboard installs an XFree board. first, before using gnuchess with xboad one has to copy gnuchess into /usr/src/bin or make a symlink. Otherwise Xboard doesn't find the engine per default. second, one can specify engine paths in the kde board knights. It doesn't matter where the executables of the engines are and what options are set. Knights does give a debug message when starting a new game: mcop warning: user defined signal handler found for SIG_PIPE, overriding QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QMetaObject::findSignal:io_engine: Conflict with io_base::sendCMD(const Command&) it does not call any engine when one starts to play at all. knights in this ebuild is useless. Reproducible: Always Steps to Reproduce: 1.emerge knights 2.energe gnuches or emerge crafty 3.start knights and set the path to the engines 4.make a move Actual Results: knights doesn't call the engines Expected Results: knights should call the engines
xboard works fine here w/out messing around with symlinks like you say i did this: `emerge crafty gnuchess xboard knights` then i ran `xboard` and played a little and it worked fine then i ran `knights` and played a little and it worked fine those QFile warnings/errors are because knights keeps trying to read an image file that doesnt exist: 24785 access("/usr/kde/3.1/share/apps/knights/players.img", R_OK) = -1 ENOENT (No such file or directory) 24785 write(2, "QFile::open: No file name specif"..., 35) = 35 (repeat a few times) i'd image it's related to the theme, but that file is nowhere to be found in the source tarballs, so whatever perhaps you're not in the games group like many of the ebuilds warned ?
yes, the "no filename specified" is irrelevant. What is interesting is: QMetaObject::findSignal:io_engine: Conflict with io_base::sendCMD(const Command&) Here Knights states that it can't communicate with the engine. I get this error when ever I want to play.
i get the same warning/error over here yet the game works i move my piece and bam he moves his (well, after i set the time limit allowed the computer to a 'quicker' value) are you in the games group ? you didnt say either way
What is with this warning: mcop warning: user defined signal handler found for SIG_PIPE, overriding i set the time limit to 1 minute. Everytime knight says that I win. The computer doesn't make any moves. knight reports: Black's flag was called. White wins (and the only thing that I did was one simple move) No I'm not in any "Group" just a User that reported some strange behaviour. I have Kerne 2.6. Maybe that there are some problems with QT and KDE? (jes knight seems to be correctly configured)
mcop warning: user defined signal handler found for SIG_PIPE, overriding that is simply a KDE thing ... launch kmail or something, you'll see it ... means nothing to the end user you have to be in the 'games' group in order to play games everytime you emerge a game you see this warning: ewarn "Remember, in order to play games, you have to" ewarn "be in the '${GAMES_GROUP}' group." echo einfo "See the usermod(8) manpage for more information." what does `groups` show ?
groups shows root bin daemon sys adm disk wheel floppy dialout tape video thank you. I'll try the forum to search for an intro how to get into the games group. BTW: When I am not in that group, why I am able to play crafty and gnuchess from the command line?
what does `which gnuchess` and `which crafty` show ? it probably works becaause you're root although knights works just fine for me as root ...
Well, you are right. I'm only allowed to play crafty on the command line. Crafty is installed via emerge in /usr/bin instead of /usr/games/bin someone should change this in the crafty ebuild
BTW Why do I only see xboard and gnuchess but not knights in the games directory
i had fixed crafty, but only version 19.8 ... i just unmasked that, sync up in a bit and try emerging that knights is not found in /usr/games/bin because it is pretty integrated with kde ... atm, we dont force apps that heavily integrate with gnome/kde to use games.eclass ... just too many headaches
OK. Ill consider that bug as closed. Thanks
closed