| 1 |
$Id: INSTALL.ScrollZ,v 1.3 2002-03-09 17:55:11 f Exp $ |
| 2 |
|
| 3 |
to compile ScrollZ |
| 4 |
|
| 5 |
o using configure: |
| 6 |
- run the `configure' script in the top directory. eg: |
| 7 |
|
| 8 |
% cd ScrollZ-VERSION.NUMBER |
| 9 |
% ./configure |
| 10 |
|
| 11 |
if you are using an old version of system v, you might need |
| 12 |
`sh ./configure'. |
| 13 |
|
| 14 |
- this script tries to guess various things about your system |
| 15 |
that are important to it compiling. it creates various files |
| 16 |
in this process. configure takes a couple of minutes to run. |
| 17 |
|
| 18 |
WARNING: gnu sed version 2.05 (and maybe 2.04 -- i don't know) |
| 19 |
may not function properly with this configure script. gnu |
| 20 |
sed version 2.03 does. please do not send me a bug report if |
| 21 |
you are using gnu sed version 2.05 (such as linux systems), and |
| 22 |
configure fails to run correctly. also, please do not send me |
| 23 |
a bug report about this notice if it does work correctly for you. |
| 24 |
On fairly recent Linux systems the above warning does not apply. |
| 25 |
|
| 26 |
- when this has finished, you might want to check the Makefile |
| 27 |
for the places ScrollZ will be installed. the defaults are |
| 28 |
/usr/local/share, /usr/local/bin and /usr/local/man. you can |
| 29 |
either do `make prefix=/opt' or set it with configure, by |
| 30 |
calling configure with the `--prefix=/opt' switch. |
| 31 |
|
| 32 |
- you can set the compile-time paranoid switch (currently |
| 33 |
turns of CTCP VERSION and FINGER commands returning host |
| 34 |
system, and user details) with the `--with-paranoid' flag to |
| 35 |
configure. |
| 36 |
|
| 37 |
- you can set the various ScrollZ compile-time flags in the |
| 38 |
include/defs.h file (after the PATCHED by Flier line) |
| 39 |
|
| 40 |
- optionally you can do the above step (the ScrollZ compile |
| 41 |
time flags) by compiling the SZdist.c program. it is a |
| 42 |
rather simple program and thus simple |
| 43 |
`gcc -o SZdist SZdist.c' should suffice. run the program with |
| 44 |
`./SZdist' and you'll be presented with full screen menu which |
| 45 |
hopefully you know how to use. optionally the SZdist program |
| 46 |
can be given the flags on command line which comes very handy |
| 47 |
if you want to build the ScrollZ program with the same flags |
| 48 |
you used for older version. simply type `/eval echo $J' and |
| 49 |
press enter in your old ScrollZ binary and client will print |
| 50 |
something similar to: `1.8l [AEcTsdPYlN OV givJxZ OPER]'. |
| 51 |
just copy&paste the string between brackets like this: |
| 52 |
`./SZdist "AEcTsdPYlN OV givJxZ OPER"' and client will be |
| 53 |
configured the same way that old version was. note that |
| 54 |
quotes in the above command line ARE important. |
| 55 |
|
| 56 |
o to compile ScrollZ, type `make' in top directory. |
| 57 |
this will compile the `scrollz' program that resides in the |
| 58 |
source sub directory. |
| 59 |
|
| 60 |
o to compile ircII suplementary programs type `make everything' |
| 61 |
in top directory. this will compile the `ircflush', `ircio', |
| 62 |
and `wserv' programs that reside in the source sub directory. |
| 63 |
|
| 64 |
o once the programs are compiled, you can install them with |
| 65 |
`make installeverything'. this will install all the binaries |
| 66 |
and the ScrollZ manual page. |
| 67 |
|
| 68 |
o you can now delete the object files and binaries from your object |
| 69 |
directory with `make clean'. `make distclean' will also delete |
| 70 |
any file that `configure' created. this is useful for then |
| 71 |
using the same sources to compile on a different architecture. |
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
notes on SOCKS support. |
| 76 |
|
| 77 |
o in order to compile in SOCKS support, you must use `configure' |
| 78 |
and specify the `--with-socks' switch. you can optionally specify |
| 79 |
a path (e.g. `--with-socks=/usr/local/lib/libsocks.a'). otherwise, |
| 80 |
configure will look for the SOCKS library only in the directory |
| 81 |
specified by the `--prefix' option (`/usr/local/lib' by default). |
| 82 |
|
| 83 |
o an irc server getting a connection through a SOCKS proxy will |
| 84 |
not be able to do RFC1413 identification properly. if you have |
| 85 |
an identd running on the SOCKS proxy host, the irc server will |
| 86 |
incorrectly identify all users as `root'. |
| 87 |
|
| 88 |
o SOCKS support is incompatible with ScrollZ's support for non-blocking |
| 89 |
connects. if you don't know what this means, don't worry about it. |
| 90 |
|
| 91 |
|
| 92 |
notes on portability and bugs. |
| 93 |
|
| 94 |
o if you encounter a bug, send the bug report with as much details |
| 95 |
as possible to the ScrollZ mailing list. if you know how to fix |
| 96 |
the bug you are more than welcome to do so and send the patch |
| 97 |
along with your bug report. note that when sending bugs usually |
| 98 |
developers can't do much if you don't tell them how to reproduce |
| 99 |
the bug. |
| 100 |
|
| 101 |
o there is a bug in the compiler shipped with bsdi's operating |
| 102 |
sytem that causes ircii to fail to compile. if you use the |
| 103 |
`gcc2' compiler rather than `gcc' or `cc' this problem is |
| 104 |
alleviated. complain to bsdi about their broken compiler. |
| 105 |
|
| 106 |
o some exotic mips machines are not yet accounted for in the |
| 107 |
configuration process, and must have certain things set |
| 108 |
specially in the Makefile (these are noted in the Makefile |
| 109 |
itself). |
| 110 |
|
| 111 |
o apparently you will get errors of "__inet_addr" or "__inet_ntoa" |
| 112 |
as being undefined, if you have BIND version 8 installed into |
| 113 |
/usr/local (the default) and you use gcc. this is caused by the |
| 114 |
annoyingly stupid defines in the BIND provided <arpa/inet.h> header |
| 115 |
file, which gcc will happily pick up from /usr/local/include. |
| 116 |
the solution to this is to add -lbind to the LIBS= line in the |
| 117 |
Makefile, once configure has run. |
| 118 |
|
| 119 |
o on solaris systems with libresolv patches incorporated may see |
| 120 |
instability (crashes) in the client. (sunos 5.5.1 patches |
| 121 |
103680-01, 103683-01, 103686-01, 103743-01, and 103663-01). |
| 122 |
|
| 123 |
o Under NEXTSTEP, after you have run configure, you can change the |
| 124 |
CFLAGS and add "-arch m68k -arch i486 -arch hppa -arch sparc" (without |
| 125 |
the quotes) to create a multiple architecture binary for all supported |
| 126 |
hardware platforms. |