$ tar xvfz irc2.10.3+jp6.tgz
$ cd irc2.10.3+jp6
$ ./configure
(snip)
checking whether select or poll system call will be used... poll
configure: warning: Aiiie.. This is linux. poll() is known to be broken for some releases
(2.0.x with libc6?). You may want to edit setup.h to undefine USE_POLL
checking for signal implementation... using POSIX sigaction
checking for a working non-blocking system... using POSIX O_NONBLOCK
checking for working stdarg... yes
checking for resolver configuration file... /etc/resolv.conf
checking whether this is an alpha/beta release... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating version.c.SH
creating sums
creating tkconf.h
creating setup.h
Have you read doc/README? (I hope so)
Next cd i686-pc-linux-gnulibc1, edit "config.h" and "Makefile",
run "make all" to build and "make install" to install.
|
$ make
Choose one of the following:
all : build everything
server : build server programs
ircd : build the irc daemon
iauth : build the authentication slave
chkconf : build the configuration file checker
ircd-mkpasswd : build ircd-mkpasswd
ircdwatch : build ircdwatch
client : build the client
tkserv : build tkserv
install : build and install server and client programs
install-server : build and install server programs
install-client : build and install client program
install-tkserv : build and install tkserv
|
$ make all (snip) gcc -o ircdwatch clsupport.o clmatch.o ircdwatch.o gcc -O2 -g -I. -I../irc -I../common -DCLIENT_COMPILE -c -o clbsd.o ../common/bsd.c gcc -O2 -g -I. -I../irc -I../common -DCLIENT_COMPILE -c -o cldbuf.o ../common/dbuf.c gcc -O2 -g -I. -I../irc -I../common -DCLIENT_COMPILE -c -o clpacket.o ../common/packet.c gcc -O2 -g -I. -I../irc -I../common -DCLIENT_COMPILE -c -o clsend.o ../common/send.c gcc -O2 -g -I. -I../irc -I../common -DCLIENT_COMPILE -c -o clparse.o ../common/parse.c gcc -O2 -g -I. -I../irc -I../common -DCLIENT_COMPILE -c -o c_bsd.o ../irc/c_bsd.c ../irc/c_bsd.c: In function `client_loop': ../irc/c_bsd.c:110: `LINES' undeclared (first use this function) ../irc/c_bsd.c:110: (Each undeclared identifier is reported only once ../irc/c_bsd.c:110: for each function it appears in.) make: *** [c_bsd.o] Error 1 |
C_CFLAGS = -O2 -g -I/usr/include/ncurses -I. -I../irc -I../common
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾追加
|
/* Curses/Termcap portability problems (client only). */ #ifdef CLIENT_COMPILE #if USE_NCURSES || USE_CURSESX || USE_CURSES # define DOCURSES # if USE_CURSESX && HAVE_CURSESX_H # include |
$ make all $ su # make install |
# ircd -f /etc/ircd.conf Usage: ircd [-a] [-b] [-c] [-h servername] [-q] [-o] [-i] [-T tunefile] [-p (strict|on|off)] [-s] [-v] Server not started |
initconf(): ircd.conf = /usr/local/etc/ircd.conf |
$ tar xvfz irc2.10.3+jp6.tgz
$ cd irc2.10.3+jp6
$ ./configure
(snip)
checking whether select or poll system call will be used... poll
configure: warning: Aiiie.. This is linux. poll() is known to be broken for some releases ¥
(2.0.x with libc6?). You may want to edit setup.h to undefine USE_POLL
checking for signal implementation... using POSIX sigaction
(snip)
$ cd i586-pc-linux-gnu
$ make all
(snip)
gcc -O2 -g -I. -I../ircd -I../common -c -o res.o ../ircd/res.c
gcc -O2 -g -I. -I../ircd -I../common -c -o s_auth.o ../ircd/s_auth.c
gcc -O2 -g -I. -I../ircd -I../common -DIRCDPID_PATH="¥"/usr/local/var/run/ircd.pid¥"" ¥
-DIAUTH_PATH="¥"/usr/local/sbin/iauth¥"" -DIAUTH="¥"iauth¥"" -c -o s_bsd.o ../ircd/s_bsd.c
../ircd/s_bsd.c: In function `read_message':
../ircd/s_bsd.c:2032: `POLLWRNORM' undeclared (first use in this function)
../ircd/s_bsd.c:2032: (Each undeclared identifier is reported only once
../ircd/s_bsd.c:2032: for each function it appears in.)
make: *** [s_bsd.o] Error 1
|
#if HAVE_SYS_POLL_H # if linux /* Linux is just soooo broken */ # define _GNU_SOURCE 1 # endif # include |
(snip) #ifdef __USE_XOPEN /* These values are defined in XPG4.2. */ # define POLLRDNORM 0x040 /* Normal data may be read. */ # define POLLRDBAND 0x080 /* Priority data may be read. */ # define POLLWRNORM 0x100 /* Writing now will not block. */ # define POLLWRBAND 0x200 /* Priority data may be written. */ #endif (snip) |
#if HAVE_SYS_POLL_H # if linux /* Linux is just soooo broken */ # define _GNU_SOURCE 1 # endif #define __USE_XOPEN <--- 追加 # include |
$ make $ su # make install # exit |