Azzurra IRC Network Forum

IRCD basato su Bahamut di Azzurra.org

Peppinos^ · 04/02/2012 13:22 · #1
Salve a tutti,
ho provato ad installare bahamut di azzurra, sul mio server domestico che gira su Ubuntu Linux 11.10.
dopo aver eseguito le istruzioni riportate su devel.azzurra.org/bahamut/install
effettuando make install, praticamente il sistema non riesce a trovare il file ircd da andare a posizionare. Esso è importante per l'avvio del demone/applicazione dell'IRCD.

Cosa potrebbe essere successo? perchè non riesce a trovare questo file?dubbio.gif
morpheus · 04/02/2012 13:26 · #2
Ciao,
potresti gentilmente postare l'output di configure, make e make install e fornire qualche dettaglio in più rispetto alla configurazione di sistema (OS a 32 o 64 bit, versione di gcc, ecc.)?
Peppinos^ · 04/02/2012 14:08 · #3
Il sistema è questo:

info sistema:
Operating system Ubuntu Linux 11.10
Kernel and CPU Linux 3.0.0-15-generic-pae on i686
Processor information AMD Athlon(tm) processor, 1 cores
gcc versione 4.6
openssl 1.0.0e
ora posto il ./configure
Peppinos^ · 04/02/2012 14:10 · #4
Questo mi esce quando effettuo ./configure

root@ServerUbuntu:/home/marins82/bahamut-4.6d# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking whether make sets $(MAKE)... yes
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for a BSD-compatible install... /usr/bin/install -c
checking for gethostbyname in -lnsl... yes
checking for crypt... no
checking for crypt in -lcrypt... yes
checking for res_mkquery... no
checking for res_mkquery in -lresolv... yes
checking for socket... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/syslog.h usability... yes
checking sys/syslog.h presence... yes
checking for sys/syslog.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for stdlib.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking MIN and MAX definition... yes
checking for stdint.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/limits.h usability... no
checking sys/limits.h presence... no
checking for sys/limits.h... no
checking for inttypes.h... (cached) yes
checking for int8_t... yes
checking size of int8_t... 1
checking for int16_t... yes
checking size of int16_t... 2
checking for int32_t... yes
checking size of int32_t... 4
checking for int64_t... yes
checking size of int64_t... 8
checking for uint8_t... yes
checking size of uint8_t... 1
checking for uint16_t... yes
checking size of uint16_t... 2
checking for uint32_t... yes
checking size of uint32_t... 4
checking for uint64_t... yes
checking size of uint64_t... 8
checking for intptr_t... yes
checking size of intptr_t... 4
checking for uintptr_t... yes
checking size of uintptr_t... 4
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking for void *... yes
checking size of void *... 4
checking for time_t... yes
checking size of time_t... 4
checking for size_t... yes
checking size of size_t... 4
checking for uint... yes
checking for u_char... yes
checking for u_short... yes
checking for u_long... yes
checking for u_int... yes
checking for ssize_t... yes
checking whether gcc needs -traditional... no
checking for index... yes
checking for strerror... yes
checking for strtoken... no
checking for strtok... yes
checking for inet_addr... yes
checking for inet_ntoa... yes
checking for inet_netof... yes
checking for inet_aton... yes
checking for gettimeofday... yes
checking for lrand48... yes
checking for sigaction... yes
checking for bzero... yes
checking for bcmp... yes
checking for bcopy... yes
checking for dn_expand... yes
checking for __dn_expand... yes
checking for poll... yes
checking for writev... yes
checking for mkstemp... yes
checking for dn_skipname... no
checking for __dn_skipname... yes
checking for POSIX (O_NONBLOCK) nonblocking sockets... O_NONBLOCK
checking signal implementation... POSIX
checking for sys_errlist declaration... yes
checking to see if we should enable fast FD_ISSET code... no
checking to see if FD_SETSIZE is broken... YES
configure: WARNING: FD_SETSIZE is hard set by your operating system
configure: WARNING: MAXCONNECTIONS must be no higher than the hardwired FD_SETSIZE
configure: WARNING: If you're using a system that supports it use the poll call instead of select.
checking whether we are living in a 2s-complement world... yes
checking whether byte ordering is bigendian... no
checking for zlib path... /usr
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking zlib in /usr... ok
encryption enabled, looking for openssl library...
- openssl library version: OpenSSL 1.0.0e 6 Sep 2011
- openssl header version : OpenSSL 1.0.0e 6 Sep 2011
checking operating system... nothing special required
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating include/setup.h
running ./config...
Welcome to Config for Azzurra IRCD, Version: bahamut(enterprise)-1.4(34)-inet6(1.0a)-azzurra(4.6d)-ssl(1.1)-webirc(1.2)-haproxy(1.0).


What are the maximum File Descriptors that the IRCD can use?
[1024] ->

What are the maximum number of Users you
intend to allow on your IRC server?
Note that you can now change this number
on the fly with with /set command.
[1000] ->

What is the maximum connection buffer amount?
Note, this CANNOT exceed the number of file descriptors
minus the maximum clients.
[24] ->

Do you want an IPv6 Server ?
[No] ->

Do you want an SSL Server ? (needs OpenSSL 0.9.6 installed)
[Yes] ->

What directory are all the server configuration files in ?
[/home/marins82/bahamut-4.6d/] -> /home/marins82/irc/

Would you like to compile as a HUB?
[No] -> yes

Would you like to encrypt oper passwords in O:lines?
[No] -> yes

Cannot find the OpenSSL installation or one of its components !
SSL support for this build disabled.


Thats all folks..
Writing include/options.h...Done.


Would you like me to generate a random cloak key (1024 bits) ?
[Yes] ->
make: Entering directory `/home/marins82/bahamut-4.6d/tools'
gcc -I../include -c mkcloak.c
gcc -o mkcloak mkcloak.o
make: Leaving directory `/home/marins82/bahamut-4.6d/tools'

caugth /dev/urandom, 0 bytes large (special file), goodness: 256
caugth /dev/random, 0 bytes large (special file), goodness: 64
caugth /vmlinuz, 4789376 bytes large, goodness: 2
caugth /bin/ls, 96284 bytes large, goodness: 1
caugth /bin/cp, 100220 bytes large, goodness: 1
Notice: /dev/random caugth. if key generation freezes,
type random strokes on the keyboard to speed it up.
Got 128 bits of random data . .
Got 256 bits of random data . .
Got 384 bits of random data . .
Got 512 bits of random data . .
Got 640 bits of random data . .
Got 768 bits of random data . .
Got 896 bits of random data . .
Got 1024 bits of random data . .

hex output of the key:
------------------------- ---- --- --- -- -- - - - -
0x00000010 53 64 54 3e 56 66 55 72 6a 75 30 66 74 7d 3b 64
0x00000020 42 79 56 5b 31 48 33 59 33 2d 5e 25 27 59 53 5b
0x00000030 44 42 7d 6a 58 26 5e 3c 4d 37 7d 65 2d 23 59 26
0x00000040 77 6e 3a 67 4a 5c 54 21 51 68 43 32 7a 58 3d 5e
0x00000050 21 6f 70 58 2a 56 4c 54 41 60 7d 3e 59 4f 5f 31
0x00000060 59 4b 53 3c 5d 2f 35 75 25 6b 47 52 24 67 4e 65
0x00000070 49 7b 22 57 6d 59 68 2f 5f 2d 3f 43 52 29 60 70
0x00000080 37 47 54 56 31 48 37 52 7e 62 22 2f 6f 67 32 33
------------------------- ---- --- --- -- -- - - - -

Done.
To rebuild a random cloak key, you can use tools/mkcloak <bits>

Now your include/options.h is configured. Please look over
include/config.h for more server specific options.
To compile your server, type 'make'.
root@ServerUbuntu:/home/marins82/bahamut-4.6d#
Peppinos^ · 04/02/2012 14:11 · #5
qua quando si compila "make"

root@ServerUbuntu:/home/marins82/bahamut-4.6d# make
Building src
make[1]: ingresso nella directory "/home/marins82/bahamut-4.6d/src"
gcc -I../include -Wall -Werror -g -O2 -c blalloc.c
gcc -I../include -Wall -Werror -g -O2 -c bsd.c
gcc -I../include -Wall -Werror -g -O2 -c channel.c
channel.c: In function âm_sjoinâ:
channel.c:3413:2: error: variable âdoesopâ set but not used [-Werror=unused-but-set-variable]
channel.c: In function âm_samodeâ:
channel.c:4096:9: error: variable âsendtsâ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[1]: *** [channel.o] Errore 1
make[1]: uscita dalla directory "/home/marins82/bahamut-4.6d/src"
Building tools
make[1]: ingresso nella directory "/home/marins82/bahamut-4.6d/tools"
gcc -Wall -Werror -g -O2 -I../include -c viconf.c
viconf.c: In function âmainâ:
viconf.c:27:10: error: variable ârvâ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[1]: *** [viconf.o] Errore 1
make[1]: uscita dalla directory "/home/marins82/bahamut-4.6d/tools"
************************************************** ****************************
* Note: Please do not send bug reports or feature inquiries to the mailing *
* lists or to the Bahamut coders. Instead, go to *
* http://www.bahamut.net/contact.html and FOLLOW the *
* directions there. If you don't follow those simple instructions, your *
* requests will most likely be ignored. *
************************************************** ****************************
root@ServerUbuntu:/home/marins82/bahamut-4.6d#
Peppinos^ · 04/02/2012 14:12 · #6
qua make install

root@ServerUbuntu:/home/marins82/bahamut-4.6d# make install
Building src
make[1]: ingresso nella directory "/home/marins82/bahamut-4.6d/src"
gcc -I../include -Wall -Werror -g -O2 -c channel.c
channel.c: In function âm_sjoinâ:
channel.c:3413:2: error: variable âdoesopâ set but not used [-Werror=unused-but-set-variable]
channel.c: In function âm_samodeâ:
channel.c:4096:9: error: variable âsendtsâ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[1]: *** [channel.o] Errore 1
make[1]: uscita dalla directory "/home/marins82/bahamut-4.6d/src"
Building tools
make[1]: ingresso nella directory "/home/marins82/bahamut-4.6d/tools"
gcc -Wall -Werror -g -O2 -I../include -c viconf.c
viconf.c: In function âmainâ:
viconf.c:27:10: error: variable ârvâ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[1]: *** [viconf.o] Errore 1
make[1]: uscita dalla directory "/home/marins82/bahamut-4.6d/tools"
************************************************** ****************************
* Note: Please do not send bug reports or feature inquiries to the mailing *
* lists or to the Bahamut coders. Instead, go to *
* http://www.bahamut.net/contact.html and FOLLOW the *
* directions there. If you don't follow those simple instructions, your *
* requests will most likely be ignored. *
************************************************** ****************************
installing ircd as /home/marins82/irc/ircd
install: src/ircd does not exist
installing example.conf as your /home/marins82/irc/ircd.conf
installing a sample /home/marins82/irc/ircd.motd
touching /home/marins82/irc/azzurra.conf
installing opers.txt as /home/marins82/irc/opers.txt
root@ServerUbuntu:/home/marins82/bahamut-4.6d#
non va a creare ircd perchè non lo trova.
morpheus · 04/02/2012 15:25 · #7
gcc -I../include -Wall -Werror -g -O2 -c channel.c
channel.c: In function "m_sjoin":
channel.c:3413:2: error: variable "doesop" set but not used [-Werror=unused-but-set-variable]
channel.c: In function "m_samode":
channel.c:4096:9: error: variable "sendts" set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
Ubuntu 11.10 non è una piattaforma ufficialmente supportata. Purtroppo, la codebase del server è molto vecchia e causa non pochi problemi con versioni recenti di gcc.
Prova ad utilizzare una chroot con Debian Squeeze.

Ciao,
M.
Sonic · 24/04/2012 22:21 · #8
Cancella la P: sulla porta 7000. L'ircd apre quella porta di default (se non viene specificata una porta nella M:Line) quindi con la P tenta di mettersi 2 volte in ascolto sulla stessa porta.
Gogetassj5 · 25/04/2012 18:14 · #9
ciao Sonic grazie per aver risposto ma avevo gia risolto e avevo dimenticato di replicare qui per via del poco tempo che avevo..rispetto all'unreal è proprio un'altra cosa e complimenti ancora..pero mi chiedo come mai essendo un ircd modificato proprio da voi aveve lasciato i sorgenti in lingua ENG anziche ita?

Cordiali saluti
Sonic · 26/04/2012 21:18 · #10
I messaggi inviati dall'ircd all'utente sono veramente pochi e molto semplici, tradurli sarebbe stato abbastanza inutile.

Quelli verso gli Oper non hanno bisogno di traduzione, poiché l'ircd era stato pensato ad uso esclusivo nostro e non ci sono problemi di sorta all'interno dello staff con l'uso della lingua inglese. (Rimangono pur sempre semplici frasi).

Se invece intendi i commenti nei sorgenti, bhè tradurli sarebbe un lavoro completamente inutile e privo di ogni senso.

I services, che invece hanno una interazione maggiore con l'utente, sono localizzati in 4 lingue differenti (italiano, inglese, francese e spagnolo).
Gogetassj5 · 27/04/2012 12:01 · #11
Ciao sonic, lo chiedevo giusto per curiosità essendo un software che gira su una community italiana mi faceva strano non vedere tutto lo sviluppo in italiano anche se come hai detto gli ouput di notifica in lingua originali sono molto intuibili come altri ircd....Ma una guida per l'installazione e configurazione dei services è disponibile o è tutto uguale come i "comuni" irc services?