Article View: gnu.chess
Article #2449Re: compiling 5.0 under Red Hat
From: George Smith
Date: Wed, 03 May 2000 00:00
Date: Wed, 03 May 2000 00:00
86 lines
4095 bytes
4095 bytes
u35105148@telia.com (McRiley) writes: > On 27 Apr 2000 12:16:41 +0200, George Smith <smithg@rz.uni-potsdam.de> wrote: > >George Smith <smithg@rz.uni-potsdam.de> writes: > > > >> I can't get GNU Chess 5.0 to compile. I am running Red Hat Linux 6.0 on > >> a Pentium III machine. This is presumably due to lack of experience. I > >> don't program in C at all, but only compile source code which I download. > > > >I haven't yet received any hints regarding compiling GNU Chess 5.0. Is > >anyone aware of pre-compiled binaries which would work under Red Hat > >Linux 6.0? > > > >Thanks, > > Hi, > > I probably missed your first post. > If you are having problems compiling it, it might have something to do with > your compiler? I had problems with an older version of the compile but when > I upgraded it worked just fine.' Thanks for the reply. I haven't had a chance to read News for awhile, due to problems with my provider; thus the delay in a followup. I'm using gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release). As I mentioned in my first post, I don't use C for anything other than compiling softare that others have written. I followed the directions in the README to the letter. Up to now I've always gotten things to work after tinkering around with the Makefile. In this case, there aren't many comments targeted specifically at helping the inexperienced. One problem seems to be the following line, which I presumably need to uncomment if I want xboard capability (which I do). # make k2 - makes chess-playing program with xboard capability If I put 'make k2' on line 53, I get the following error: $ make install Makefile:53: *** missing separator. Stop. If the line is left as is, I get the following error, presumably due to the fact that I didn't 'make' k2. This line looks strange to me on a linux machine, as I wouldn't expect a directory /winprg/winboard or an extension .exe either. $ make install cp k2.exe /winprg/winboard cp: k2.exe: No such file or directory make: *** [install] Error 1 This is presumably due to the lines install: cp k2.exe /winprg/winboard > I have precompiled versions of Gnuchess5. I have a few extra flags from the > original and gained quite afew % extra in speed from those. Just tell me > how much RAM you have and how much you want to use for gnuchess's > hashtables. I would be using it primarily on an older laptop with only 32 MB RAM (no other programs would be running). I'm not sure how to calculate how much to use for hashtables. > I have also versions where I tweaked the timemanaging abit and fixed the > book code .It has a bug where adding "!" and/or "?" would do the opposit > to what it is suppose to do. Not fun at all I tell you :) Uh oh! > Also, I have been working on a much better book and I constantly update it. > If you have access to ICC (www.chessclub.com) you can check out the handle > 'gnuchess' there to see how it does with the new code and book. My intended use for gnuchess is to use it with a book that I put together myself to work through specific openings. I would want to change the book from time to time, depending on what I am currently interested in. I would really like to get to the point where I can compile it myself. Does this seem realistic? Thanks, George
Technical Details
Message-ID:
<m2d7n3divz.fsf@bloomfield.phil1.uni-potsdam.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<m2wvlmtmvo.fsf@bloomfield.phil1.uni-potsdam.de> <m2wvljvofq.fsf@bloomfield.phil1.uni-potsdam.de> <956834269.835518@news2.cybercity.dk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,28059c8359fec79f X-Google-Attributes: gid10d71d,public From: George Smith <smithg@rz.uni-potsdam.de> Subject: Re: compiling 5.0 under Red Hat Date: 2000/05/03 Message-ID: <m2d7n3divz.fsf@bloomfield.phil1.uni-potsdam.de> X-Deja-AN: 618634821 References: <m2wvlmtmvo.fsf@bloomfield.phil1.uni-potsdam.de> <m2wvljvofq.fsf@bloomfield.phil1.uni-potsdam.de> <956834269.835518@news2.cybercity.dk> X-Complaints-To: usenet@zeppelin.rz.uni-potsdam.de X-Trace: zeppelin.rz.uni-potsdam.de 957349923 22101 141.89.99.140 (3 May 2000 10:32:03 GMT) Organization: University of Potsdam NNTP-Posting-Date: 3 May 2000 10:32:03 GMT Newsgroups: gnu.chess