Article View: gnu.chess
Article #2287Re: Can't Compile GNU Chess v5
From: Tim Mann
Date: Sat, 16 Sep 2000 00:00
Date: Sat, 16 Sep 2000 00:00
44 lines
2072 bytes
2072 bytes
Actually, it looks like you did compile GNU Chess. In article <39C3BC4F.78338EE7@ne.mediaone.net>, Sky Lemon <skylemon@ne.mediaone.net> wrote: >Unfortunately I can not compile gnu's chess program. I am running >Solaris 8 on an Ultra 10. I am using gmake to compile. Here are the >errors I receive: > >After running `gmake`: > >book.c: In function 'bookmove': >book.c:191: warning: passing arg 4 of 'qsort' from incompatible pointer >type > This is only a warning, not a fatal error. If this is the only message you got, then nothing is wrong. >And when I run 'gmake install' > >cp k2.exe /winprg/winboard >cp: cannot access k2.exe >game: *** [install] Error 2 > > There is no k2.exe in my chess/src directory. I did su to root when >running 'gmake install'. I don't understand why it would want to copy a >'k2.exe' to /winprg/winboard. I'm running Solaris 8 now Windows. Any >help would be greatly appreciated. This is an error in the Makefile. "k2" is a former name for what is now GNU Chess 5.0, and of course .exe is a Windows suffix, not a Unix suffix. You successfully compiled gnuchess, and it should be sitting in the source directory. You can run it from where it is, or "install" it by hand by copying it to whatever directory you want to put it in. The fact that "make install" doesn't work shouldn't get in your way. You may also need to build the book. I don't recall offhand how to do that. You should be able to find out by reading the README file. --Tim -- Tim Mann tim.mann@compaq.com http://www.tim-mann.org Compaq Computer Corporation, Systems Research Center, Palo Alto, CA
Technical Details
Message-ID:
<8q1h7j$l8j$1@milwaukee.pa.dec.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39C3BC4F.78338EE7@ne.mediaone.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,fc2cfc9db92ff6c1 X-Google-Attributes: gid10d71d,public From: mann@milwaukee.pa.dec.com (Tim Mann) Subject: Re: Can't Compile GNU Chess v5 Date: 2000/09/16 Message-ID: <8q1h7j$l8j$1@milwaukee.pa.dec.com> X-Deja-AN: 671514285 References: <39C3BC4F.78338EE7@ne.mediaone.net> Organization: Compaq Systems Research Center Newsgroups: gnu.chess