Skip to content
Newer
Older
100644 88 lines (66 sloc) 3.47 KB
773c21b - several updates to the docs
kreator authored
1 INSTALLATION
2 ============
3
4 The fast and easy way:
5
6 ./install.fast
7
8 NOTE: If you use this script, you must make sure config.h is correctly
9 configured prior to running the script; also - using this script
10 will default to installing Hybserv2 in /usr/local/hybserv/, unless
11 you first edit Makefile.in
12
13 In order to compile Hybserv2, you should perform the following steps:
14
15 1) Enter the hybserv tree and run ./configure, a GNU configure script,
16 which should find whatever it needs for compilation.
17
18 2) Edit include/config.h and change the information to suit your IRC
19 network. This is a *must*. Be sure to edit bin/hybserv.conf to setup
20 the services to work with your network. This is the file where you
21 can give others access to Hybserv2.
22
23 3) Run 'make' in the hybserv tree to compile the package. When make
24 finishes, you'll probably want to: 'strip bin/hybserv' to remove
25 debugging symbols from the file, since the author is the only one who
26 really uses it. It also decreases the file size greatly.
27
28 4) Finally, become root if necessary, and run 'make install' to
29 install Hybserv2 on your system. The default install directory is
30 /usr/local/hybserv. This will automatically chown the install
31 directory to the same user who ran the configure script, so it won't
32 run as root. You can change the user by editing Makefile.
33
34 5) You may wish to remove any objects/binaries created during
35 installation. You can do this via 'make clean'. If you wish to remove
36 any configure generated files as well, use 'make distclean'.
37
38 NOTE: If you want to install Hybserv2 in a directory other than
39 /usr/local/hybserv, you must run the configure script with
40 the --prefix option.
41
42 For example, if you want to install Hybserv2 in /home/mydir:
43
44 ./configure --prefix=/home/mydir
45 make all install
46
47 Then, Hybserv2 will be installed in /home/mydir/hybserv.
48
49 NOTE: ./configure script accepts several additional parameters which
50 can be used to fine-tune your setup:
51
52 --disable-largefile omit support for large files
7a81bd8 - update INSTALL docs
kreator authored
53 --disable-ipv6 Disable IPv6 support [default=no]
54 --enable-efence Enable Electric Fence support [default=no]
773c21b - several updates to the docs
kreator authored
55 --enable-dmalloc Enable dmalloc support [default=no]
7a81bd8 - update INSTALL docs
kreator authored
56 --enable-boehm-gc Enable Boehm GC support [default=yes]
773c21b - several updates to the docs
kreator authored
57 --enable-warnings Enable compiler warnings [default=no]
58 --enable-asserts Enable asserts in code [default=no]
59 --enable-gimmecore Enable core dumping [default=yes]
60 --enable-daemontools Enable daemontools support [default=no]
7a81bd8 - update INSTALL docs
kreator authored
61
773c21b - several updates to the docs
kreator authored
62 --with-nicklen=LENGTH Sets nick length to LENGTH [default=18]
7a81bd8 - update INSTALL docs
kreator authored
63 --with-channellen=LENGTH Sets channel length to LENGTH [default=200]
64 --with-topiclen=LENGTH Sets topic length to LENGTH [default=160]
773c21b - several updates to the docs
kreator authored
65 --with-network=TYPE Sets network type TYPE
66
67 Hybserv2 is known to compile cleanly on the following operating systems,
68 and may compile on others:
69
70 Linux 2.6.x (and older)
71 FreeBSD 5.x (and older)
4e5cd52 - smaller doc update
kreator authored
72 DragonFly BSD 1.2.x (and older)
73 NetBSD 2.0.x (and older)
773c21b - several updates to the docs
kreator authored
74 OpenBSD 2.x (and older)
a1c97e7 - smaller configure stuff to update mkdep
kreator authored
75 Solaris 2.11 (and older)
773c21b - several updates to the docs
kreator authored
76 Tru64 5.0 (and older)
4e5cd52 - smaller doc update
kreator authored
77 Cygwin 1.5.x (and older)
773c21b - several updates to the docs
kreator authored
78 IRIX 6.5 (and older)
4e5cd52 - smaller doc update
kreator authored
79 OSX Tiger 10.4.2
773c21b - several updates to the docs
kreator authored
80
81 Systems known not to compile sucessfuly (ie. miserably fail):
82
4e5cd52 - smaller doc update
kreator authored
83 HP-UX 11.11 with builtin cc - should work with Gcc though
773c21b - several updates to the docs
kreator authored
84
52720ba - several updates to the docs
kreator authored
85 If you are unable to compile Hybserv, please read the README and make a
86 new ticket using the provided URL. Bug reports/suggestions should be sent
87 to the same place. Now, go back to the README.
Something went wrong with that request. Please try again.