]> jfr.im git - irc/evilnet/x3.git/blame - INSTALL
testing commit diffs
[irc/evilnet/x3.git] / INSTALL
CommitLineData
ceafd592 1 X3 Installation Instructions
d76ed9a9 2
3Introduction:
4----------
ceafd592 5If you encounter any problems compiling/running X3, please make sure
d76ed9a9 6you have followed the directions in this file correctly and that all
7of the requirements listed below are met.
8
9If the problem persists, report it to one (or all) of the coders
10listed in the AUTHORS file. Please try to include ALL relevant
11information about the error/bug, including anything out of the
12ordinary reported from make and the appropriate entries from the log
13files.
14
15Requirements:
16----------
7827220c 17This release of X3 (1.4) only supports the Undernet P10
18protocol and is known to link to ircu/Undernet (u2.10.11, u2.10.12),
19Nefarious IRCu 0.4.0 and Nefarious IRCu 1.0. It does not support
20bahamut, hybrid, Unreal, or any other ircd not listed. Should
d76ed9a9 21you find other compatible ircds, please let us know. Most of the
7827220c 22testing has been done on Nefarious IRCu 0.4.0/1.0 (Based on ircu2.10.11.x).
d76ed9a9 23
ceafd592 24X3 is known to compile on the following systems as long as you
d76ed9a9 25are using GNU make (make on Linux, gmake on many other systems):
26
27 * Linux (libc5 or glibc2); glibc2.1 recommended+ (SPARC, ALPHA, x86, PPC)
28 * FreeBSD 4.x; tested on 4.2-RELEASE and 4.2-STABLE (SPARC, x86)
29 * FreeBSD 3.x; tested on 3.3-RELEASE and 3.4-STABLE (SPARC, x86)
30 * FreeBSD 2.x; tested on 2.2.8-RELEASE (SPARC, x86)
31 * NetBSD 1.6+; (ALPHA, MIPS, x86)
32 * SunOS 5.x; tested on 5.8 (SPARC, x86)
33 * OpenBSD 2.x; tested on 2.8 (x86)
34 * BSDi 4.x; tested on 4.0.1 (x86)
35 * CYGWIN 1.1.x and 1.3.x; tested on 1.1.8 (x86)
36
ceafd592 37For the Linux kernel, X3 has been tested on Debian 2.x - 3.x, and
d76ed9a9 38Redhat 5.x - 8.x.
39
ceafd592 40X3 should compile on other system types also. If you have success
d76ed9a9 41on other platforms/archs or problems on any platforms/archs, please
42contact the authors to let us know.
43
44gcc 2.96 tends to emit spurious warnings; before reporting any
45compiler warnings from it, make sure you are using the most recent
46version of it or try using an official release of gcc.
47
48You may also have trouble unless your compiler's C preprocessor
49supports ISO C99 varadic macros. gcc is the compiler we use for
ceafd592 50almost all our testing, and we recommend it for use with X3.
d76ed9a9 51
52Quick Install:
53----------
a32da4c7 54$ ./configure
ceafd592 55 NOTE: The protocol the resulting X3 binary will support is
d76ed9a9 56 determined by the configure script. The P10 protocol is the
7827220c 57 default.
d76ed9a9 58$ make
ceafd592 59$ ${EDITOR} x3.conf
60 NOTE: You may want to copy x3.conf.example to x3.conf and
d76ed9a9 61 edit that.
ceafd592 62$ ./x3
d76ed9a9 63
64Compiling:
65----------
ceafd592 66 1) Enter the root directory of the X3 tree. If installation is done
d76ed9a9 67 from outside of it, it may cause problems during compile, or during
68 runtime.
69
70 2) Run the configure script (sh configure), it will verify that your
ceafd592 71 system will have the resources needed for X3 to compile. If you
72 would like to change the path where X3 will be installed to,
d76ed9a9 73 execute configure with the --prefix=/path option. The default path
7827220c 74 is ~/x3/, with the X's representing the version.
d76ed9a9 75
76 3) On some systems you may need to edit the Makefile in order for
77 it to compile correctly. Includes, and other such things may
78 reside in other directories. Most likely the Makefile won't require
79 any modifications.
80
81 4) You may optionally edit config.h in case the configure script made a
82 mistake.
83
84 5) Execute the "make" command to begin compiling. If you encounter any
85 uncorrectable errors/warnings, please scroll up to the introduction
86 section and follow the instructions.
87
88 6) You may now either type "make install" to install it to your
89 installation path, or work from your build directory, either is fine.
90
91 7) Copy sockcheck.conf.example to sockcheck.conf (and edit to add
92 new proxy types, if you wish).
93
ceafd592 94 8) Copy x3.conf.example to x3.conf and edit to suit your
d76ed9a9 95 needs. Errors in the configuration file will be logged to
ceafd592 96 main.log (and if X3 is running in the foreground, printed to
d76ed9a9 97 stdout) when you start the daemon.
98
99 9) You can now begin using your service bots. You can debug by
100 running it with '-fd', it will not background itself, and it
101 will be fairly verbose if you gave the configure script the
102 --enable-debug flag. If you would like to run in the foreground
103 with no verbosity, use the '-f' flag. If you just want to run it,
ceafd592 104 execute X3 without any flags.
d76ed9a9 105
e0bcaf30 106 10) Once you have X3 started, you'll need to register a AuthServ
d76ed9a9 107 account:
e0bcaf30 108 /msg AuthServ@services.irc.com register <account> <password>
d76ed9a9 109 Make sure that you register the first account -- it is
110 automatically granted certain privileges and gives you root-level
e0bcaf30 111 access to O3 once you are opered up.
d76ed9a9 112
e0bcaf30 113 11) New operators can be given access to O3 through AuthServ's
d76ed9a9 114 (or whatever you've named the nick/authentication service) oset
115 command:
e0bcaf30 116 /msg AuthServ oset <nick>|*<account> level <level>
d76ed9a9 117 Levels are generally beween 0 and 1000 by convention; higher
118 numbers correspond to more access. You can also add helpers
119 (users with extra privileges such as security override in
e0bcaf30 120 traditional configurations) through AuthServ:
121 /msg AuthServ oset <nick>|*<account> flags +H
d76ed9a9 122
123End of file, INSTALL.
124
125-Jedi (jedi@turboflux.net)