Hello Muller,
hgm wrote:Note that on Linux systems you cannot run polyglot in the current directory by simply typing 'polyglot'. You have to type './poyglot', or you would get the error message that the binary is not found. So -fcp "polyglot ...." cannot work unless the polyglot binary is in a directory in your path, like /usr/games or /usr/bin . This is probably where it was before your disk crash.
From polyglot readme :
To use PolyGlot with XBoard, you would type something like this:
> xboard -fd 'ini_dir' -fcp 'polyglot engine.ini'
I remember I followed the usage as above and it worked with the 'older' xboard; my xboard
now is the most recent (few weeks)from arhc linux package and it does not work.
This also failed:
xboard -sd '/home/rasjid/chess/polyglot' -scp './polyglot fruit.ini'
"failed to start 2nd chess program on local host:./polyglot (or polyglot)
: No such file or directroy"
I googled and there were some posts elsewhere where others too faced the same problem:
Re: Xboard 4.4.0 for Mac OSX?
Postby H.G.Muller » 01 Jan 2010, 17:28
I think we hd this problem before, and it could be traced to the WinBoard code for invoking Polyglot did not work with the settings used in XBoard for the install directory when -polyglotDir is not equal to ".". I have addressed this in the development version of XBoard, doing away with the polyglot_1st.ini files altogether, but this is such a radical change in the way things work that we did not dare to include this new code in the stabe 4.4.x version.
Currently the only soluton is not use the -polyglotDir option in XBoard. This requires the Polyglot executable to be inside the xboard directory (where the polyglot_1st.ini is made), or in a directory in the PATH, like /usr/games, where it would normally be installed (just as xboard) in Debian systems.
Re: Xboard 4.4.0 for Mac OSX?
Postby H.G.Muller » 01 Jan 2010, 22:58
Well, when you explicitly invoke Polyglot, it does not really matter where you put it, provided that the executable pathname and polyglot.ini path name are consistent with the dirctory specified with -fd. The restriction on the location of Polyglot only applies when using the -fUCI argument.
Thanks,
Rasjid