lotus

previous page: B.8 Does GNU Chess run on Atari computers?
  
page up: GNU Chess and XBoard FAQ
  
next page: C.1 XBoard tells me "Error: first chess program (gnuchessx) exited unexpectedly".

B.9 How do I build GNU Chess? Do I need gcc?

Headaches Begone! A Systemic Approach To Healing Your Headaches Book

Description

This article is from the GNU Chess and XBoard FAQ, by Tim Mann mann@pa.dec.com with numerous contributions by others.

B.9 How do I build GNU Chess? Do I need gcc?

The first step to building GNU Chess is to get the distribution file and
unpack it. See topic [A.3] for places you can ftp the distribution from.

To unpack the gnuchess distribution, gnuchess-*.tar.gz, put it into a
new, empty directory, cd there, and give this Unix command:

gzip -cd gnuchess-*.tar.gz | tar -xvf -

If this command fails because you don't have gzip, see topic [A.3] , and
ask a local Unix expert if you need more help.

The above command will unpack all the files into a new directory. Next,
cd into this new directory.

Decide what directory tree you are going to install GNU Chess in. The
default is /usr/local. If you have write access to this directory tree,
make sure that it contains subdirectories bin, lib, and man. (If you
must "su" to get write access to /usr/local, you don't need to do so
until just before the "make install" below.) Type the following:

configure
make
make install

If you are going to install GNU Chess under your home directory for
personal use, do this instead:

mkdir $HOME/bin $HOME/lib $HOME/man
configure --prefix=$HOME
make
make install

If you have problems or special requirements, see the files README,
INSTALL, Makefile.in, and configure.in for more information.

You don't need to have gcc to build GNU Chess. However, GNU Chess is
written in ANSI C. If you have only an old K&R C compiler, be sure you
have the current patchlevel of GNU Chess, and get "unproto" by:

Wietse Venema
wietse@wzv.win.tue.nl
Mathematics and Computing Science
Eindhoven University of Technology
The Netherlands

It was released in comp.sources.misc Vol 27 with patches in vol 28 and
vol 38. Among other places, it can be found on unix.hensa.ac.uk in
pub/uunet/usenet/comp.sources.misc/volume27/unproto.

Compile it and copy the cpp it produces into the gnuchess src directory
before you type "make" there.


 

Continue to:

Free Sex Improvement Training at ExperientialSexLab.com







TOP
previous page: B.8 Does GNU Chess run on Atari computers?
  
page up: GNU Chess and XBoard FAQ
  
next page: C.1 XBoard tells me "Error: first chess program (gnuchessx) exited unexpectedly".