From: fer@home.cern.ch (Fer F.de Jong)
Subject: BI-WEEKLY: How to compile and install an IRC-II client
Followup-To: alt.irc
Keywords: IRCII CLIENT
Organization: CERN European Lab for Particle Physics
Date: Sun, 11 Oct 1992 16:20:15 GMT

How to get the IRC-II client software and install it
====================================================


To install an IRC-II client on your machine follow this procedure. People
that want to install IRC for global use should be able to change the
described procedure so the files go in an /usr/local/bin like place.

On your UNIX system type:

fer@home:~fer> mkdir irc
fer@home:~fer> cd irc
fer@home:~fer/irc> ftp cs.bu.edu
[ login as user anonymous ]
[ type your e-mail address when asked for a password ]
ftp% bin
ftp% cd irc
ftp% get ircII2.1.5h.help.tar.Z
ftp% get ircII2.1.5h.tar.Z
ftp% bye
fer@home:~fer/irc> 

Now you have copied all the files needed for compilation and installation.
Now type on your UNIX system:

fer@home:~fer/irc> uncompress *.Z
fer@home:~fer/irc> tar xvf ircII2.1.5h.tar
fer@home:~fer/irc> cd ircII2.1.5h
fer@home:~fer/irc/ircII2.1.5h> 

Read the file INSTALL that explains how to compile and install the whole
IRC system:
The important settings that need to be made are in the files Makefile
and config.h. Pay special attention to:

In config.h: set DEFAULT_SERVER to an IRC server site close to you.
	If you don't know any IRC server pick one from this list:

		ircserver.et.tudelft.nl (For The Netherlands / Belgium)
		suntrax1.cern.ch	(For Switzerland)
		noc.belwue.de		(For Germany)
		cs.hut.fi		(For Finland)
		irc.mit.edu		(For U.S.A.)
		decscc.tau.ac.il	(For Israel)
		
In config.h: Check all other #define's, check the path to zcat and
correct the error (forgotten /* at start of AUTO_RECONNECT #define),
set HELP_SERVICE to help_UK or help_AU or help_US or ircIIhelp depending
on where you are.

In Makefile:
INSTALL_EXECUTABLE = your_homedir/bin/irc
IRCII_LIBRARY = your_homedir/lib/irc		(Create these directories
						 yourself and put the bin
INSTALL_IRCFLUSH = your_homedir/bin/ircflush     directory in your $PATH)

Set the DEFINES= line by removing the # at the beginning of the one
that is ment for your hardware setup.

Now you can 'make' the whole thing and it should work without any
problem. Don't ask me for help if it doesn't work. Ask a local expert.

fer@home:~fer/irc/ircII2.1.5.h> make
fer@home:~fer/irc/ircII2.1.5.h> make ircflush
fer@home:~fer/irc/ircII2.1.5.h> make install
fer@home:~fer/irc/ircII2.1.5.h> make installflush

In the directory your_homedir/lib/irc you should make a file with a list
of all the servers you want to try to connect to if the default one does not
work (machine down, links to machine don't work...) The file should look
something like:

default.machine.domain
second.choise.machine
third.choise.machine
last.hope.for.connection.machine

Always try to find IRC servers that are network-wise close to where you are.

Now you have to install the script files and help files that will make
your IRC life easier.


fer@home:~fer/irc/ircII2.1.5.h> cp -r scripts $HOME/lib/irc
fer@home:~fer/irc/ircII2.1.5.h> cd
fer@home:~fer> cd lib/irc
fer@home:~fer/lib/irc> tar xvf $HOME/irc/ircII2.1.5h.help.tar
fer@home:~fer/lib/irc> compress help/*
fer@home:~fer/lib/irc> compress help/*/*

Don't mind the error messages of the last two commands, these are normal.

If you want to allow others to use IRC, don't forget to use the chmod(1)
command to make the files and directories available.

It might seem a lot of work, but one can have a lot of fun with IRC
so it is worth a try.

To learn to use IRC, type after you started IRC

fer@home:~fer/lib/irc> irc Ferry

the command /help basical and /help ircII.
If all works fine, you can delete the whole directory structure used to
build IRC with:

fer@home:~fer/lib/irc> cd
fer@home:~fer> rm -rf irc
fer@home:~fer> 


	Have fun, and keep in mind, *some* people get addicted to IRC!

-- 
 ___   fer@home.cern.ch    European Organization For Nuclear Research
(  _)  <Ferry> @ IRC
 ) _)                         "The number two is the oddest prime you
(_)er F.de Jong                                 will ever encounter."
+41 22 767 3826 (office/Switzerland) +33 50.42.74.13 (private/France)
Newsgroups: alt.irc