[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 110: Undefined array key "cached"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 111: Undefined array key "normal"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 112: Undefined array key "total"
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3391: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3393: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3394: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3395: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
Cabrillo College Linux Classes • View topic - Compiling C in Linux

Compiling C in Linux

UNIX/Linux Installation & Configuration

Compiling C in Linux

Postby keivn dodd on Sun Oct 12, 2008 3:14 am

I downloaded GNU chess off of the web but it is uncompiled. I'm trying to figure out how to compile it from source.

/root/bin/chess
|-- AUTHORS
|-- COPYING
|-- CVS
| |-- Entries
| |-- Entries.Log
| |-- Repository
| `-- Root
|-- ChangeLog
|-- INSTALL
|-- Makefile.am
|-- Makefile.in
|-- NEWS
|-- README
|-- TODO
|-- acinclude.m4
|-- aclocal.m4
|-- book
| |-- CVS
| | |-- Entries
| | |-- Repository
| | `-- Root
| `-- README
|-- configure
|-- configure.ac
|-- depcomp
|-- doc
| |-- CVS
| | |-- Entries
| | |-- Repository
| | `-- Root
| |-- ChangeLog
| |-- INSTALL
| `-- README
|-- install-sh
|-- missing
|-- mkinstalldirs
`-- src
|-- CVS
| |-- Entries
| |-- Repository
| `-- Root
|-- Makefile.am
|-- Makefile.in
|-- atak.c
|-- book.c
|-- book.h
|-- cmd.c
|-- common.h
|-- config.h.in
|-- epd.c
|-- eval.c
|-- eval.h
|-- genmove.c
|-- hash.c
|-- hung.c
|-- init.c
|-- inlines.h
|-- iterate.c
|-- main.c
|-- move.c
|-- null.c
|-- output.c
|-- pgn.c
|-- players.c
|-- quiesce.c
|-- random.c
|-- repeat.c
|-- search.c
|-- solve.c
|-- sort.c
|-- stamp-h.in
|-- swap.c
|-- test.c
|-- ttable.c
|-- util.c
|-- version.c
`-- version.h

7 directories, 70 files
Last edited by keivn dodd on Tue Oct 14, 2008 12:08 am, edited 1 time in total.
keivn dodd
 
Posts: 43
Joined: Sat Sep 13, 2008 2:30 am

Re: Compiling C in Linux

Postby Jonathan Simms on Mon Oct 13, 2008 2:35 pm

Kevin,

read the INSTALL file for instructions on how to install gnuchess.
Jonathan Simms
 
Posts: 119
Joined: Tue Sep 02, 2008 7:11 pm

Re: Compiling C in Linux

Postby Tim Childers on Tue Oct 14, 2008 9:35 am

Here one example

# tar xvzf package.tar.gz (or tar xvjf package.tar.bz2)
# cd package
# ./configure
# make
# make install
Tim Childers
 
Posts: 57
Joined: Mon Oct 06, 2008 6:33 pm

Re: Compiling C in Linux

Postby John LeMieux on Tue Oct 14, 2008 10:42 am

I installed it from the Fedora-8 iso. If you don't have it anymore, prepare for about a 15 hour download with a cable modem. Once I connected the virtual CD to the iso and ejected from X so it didn't show up on the desktop,

mount /dev/cdrom /mnt
cp /mnt/Packages/gnuchess* /root/depot/software
cd /root/depot/software
rpm -hiv gnuchess*

That should work.

John
User avatar
John LeMieux
 
Posts: 22
Joined: Tue Sep 02, 2008 7:12 pm


Return to CIS 191A - Fall 2008

Who is online

Users browsing this forum: No registered users and 0 guests

cron