Comment vous faites quand vous avez des erreurs a la compilation? - Installation - Linux et OS Alternatifs
Marsh Posté le 28-08-2003 à 13:09:30
il te dis d'utiliser ./Config non ?
pourquoi ne _pas_ l'écouter
d'ailleurs en lisant la conf ( chose _de_ base a faire quand on veut compiler un truc )
on tombe sur
Installation Instructions |
voila
Marsh Posté le 28-08-2003 à 14:19:32
merci a toi!
j'ai reussi a compilé et a l'installer
j'ai des petits problemes pour le lancer maintenant, lorsque je fait
./unreal start (unreal est un fichier sh )
y a plein de "y" a la suite qui apparaissent dans la console :
|
je fait un ps -ux (si j ai bien compris ca affiche tout les processus ( je debute hein ) )
et la je vois (de memoire)
...
/bin/sh ./unreal start
...
alors je me dit que le serveur est lancé, je lance mon client irc , il n arrive pas a se connecter en localhost ni en 127.0.0.1
je precise qd meme que dans le fichier de conf,j'ai bien mis localhost comme nom de serveur...
ma question est: quel est la commande permettant de connaitre tout les ports de ma machine qui ecoute?
un scanner de port en local en quelque sorte...
merci de votre aide toujours aussi precieuse
Marsh Posté le 28-08-2003 à 14:31:00
je me sers de unreal pour mon réseau ( irc.tafiole.net )
il serait bien que tu me montres ton unrealircd.conf
ensuite perso le mien j'ai pas utilisé un préfix en /usr/local/unreal
plutot un /home/ircd/unreal
pour le nom tu serveur
pour l'écoute des ports un netstat -ltpe par exemple
Marsh Posté le 28-08-2003 à 14:40:44
Mikala a écrit : je me sers de unreal pour mon réseau ( irc.tafiole.net ) |
ahhhhhhhhhh
c toi le mikala dont je@nb me parle!
ben la je suis sous windows et j'ai pas le net sous nux, donc jte filerait ca ce soir
j'essayerai pour le netstats
Marsh Posté le 28-08-2003 à 21:37:22
Mikala a écrit : je me sers de unreal pour mon réseau ( irc.tafiole.net ) |
voila donc mon fichier de conf ( a la racine du prog [rep Unreal 2.1 ])
/* |
et le resultat de netstat:
[root@localhost jerry]# netstat -ltpe |
merci de ton aide
Marsh Posté le 28-08-2003 à 23:25:29
hum
tu m'as l'air d'avoir pris l'exemple de base sans y avoir vraiment touché
allez va on va te pondre un fichier un peu plus simple/clair
(par contre connaitre tes options de compilation aurait été interressant aussi )
|
voila
c'est un peu plus clair la non ?
Marsh Posté le 29-08-2003 à 00:36:25
j'ai mis ton fichier de conf; j ai verifié que src/modules/commands.so existait bien, jai lancé le serveur:
toujours des "y" en boucle...
netstat ne vois rien "en ecoute" sur le port 6667
j'ai l'impression que j'y arriverai pas la
Marsh Posté le 29-08-2003 à 01:50:55
tiens au fait j'ai testé ton client , il fonctionne
(bon j'aime pas le java mais ca fonctionne quand meme )
Marsh Posté le 29-08-2003 à 13:55:30
Mikala a écrit : tiens au fait j'ai testé ton client , il fonctionne |
encore heureux qu il fonctionne
on est meme passé devant miranda ce matin !!!
https://sourceforge.net/softwaremap [...] orm_cat=24
Marsh Posté le 12-09-2003 à 22:34:08
etrangement ton script marche parfaitement sous windows ,par contre sous nux...
enfin ca me convens de toute facon
merci a toi
Marsh Posté le 28-08-2003 à 12:56:24
Bonjour,
j'essaye d'installé un serveur irc sur ma mandrake:
le fichier s appel Unreal3.2-beta17.tar.gz je décompresse >>
Unreal3.2
./configure me met une erreur que j'arrive a détourner , mais lors de la compilation j'ai des erreurs; merci a ceux qui se donnerons la peine de jeter un oeil a ca:
[jerry@localhost jerry]$ cd U
Unreal3.2 Unreal3.2-beta17.tar.gz
[jerry@localhost jerry]$ cd Unreal3.2
[jerry@localhost Unreal3.2]$ ls
aliases/ config.sub ircdcron/ m_template.c
autoconf/ configure* keys/ networks/
badwords.channel.conf CVS/ LICENSE newnet*
badwords.message.conf doc/ Makefile.in READTHIS.NOW
badwords.quit.conf Donation makefile.win32 src/
Changes extras/ makefile.win32.ssl unreal.in
Changes.old help.conf makefile.win32.ssl.ziplink Unreal.nfo
Config* include/ makefile.win32.ziplink update*
config.guess install-sh modulize*
[jerry@localhost Unreal3.2]$ ./configure
You might want to run ./Config or provide some parameters to this script.
./configure --help for information about this script
[jerry@localhost Unreal3.2]$ ./configure --help
`configure' configures this package to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data [PREFIX/share]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--infodir=DIR info documentation [PREFIX/info]
--mandir=DIR man documentation [PREFIX/man]
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-nospoof Enable spoofing protection
--enable-hub Compile as a hub server
--enable-ssl enable ssl will check /usr/local/ssl
/usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr
--enable-ziplinks enable ziplinks will check /usr/local /usr /usr/pkg
--enable-dynamic-linking Make the IRCd dynamically link shared objects rather than statically
--enable-inet6 Make the IRCd support IPv6
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-listen=backlog Specify the listen backlog value
--with-nick-history=length Specify the length of the nickname history
--with-sendq=maxsendq Specify the max sendq for the server
--with-bufferpool=size Specify the size of the buffer pool
--with-hostname=host Specify the local hostname of the server
--with-permissions=permissions Specify the default permissions for
configuration files
--with-dpath=path Specify the path where configuration files are stored
--with-fd-setsize=size Specify the max file descriptors to use
--with-spath Specify the location of the executable
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
headers in a nonstandard directory <include dir>
CPP C preprocessor
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
[jerry@localhost Unreal3.2]$ ./configure --prefix=/usr/local/unreal
checking for gcc... gcc
checking for C compiler default output... 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 if gcc has a working -pipe... yes
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for touch... /bin/touch
checking for openssl... /usr//bin/openssl
checking for install... /usr//bin/install
checking for crypt in -ldescrypt... no
checking for crypt in -lcrypt... yes
checking for socket in -lsocket... no
checking for inet_ntoa in -lnsl... yes
checking how to run the C preprocessor... gcc -E
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 stdlib.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/syslog.h usability... yes
checking sys/syslog.h presence... yes
checking for sys/syslog.h... yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
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 int16_t... yes
checking for u_int16_t... yes
checking for int32_t... yes
checking for u_int32_t... yes
checking for rlim_t... no
checking size of rlim_t... 0
checking what kind of nonblocking sockets you have... O_NONBLOCK
checking whether gcc needs -traditional... no
checking whether setpgrp takes no argument... yes
checking whether setvbuf arguments are reversed... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for strlcpy... no
checking for strlcat... no
checking for strlncat... no
checking if we can set the core size to unlimited... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for getrusage... yes
checking for setproctitle... no
checking for setproctitle in -lutil... no
checking for pstat... no
checking what type of signals you have... POSIX
checking for strtoken... no
checking for strtok... yes
checking for strerror... yes
checking for index... yes
checking for strtoul... yes
checking for bcopy... yes
checking for bcmp... yes
checking for bzero... yes
checking for strcasecmp... yes
checking for inet_addr... yes
checking for inet_ntoa... yes
checking for inet_netof... yes
checking for syslog... yes
checking for vsyslog... yes
checking if FD_SETSIZE is large enough to allow 1024 file descriptors... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/modules/Makefile
config.status: creating unreal
config.status: creating include/setup.h
[jerry@localhost Unreal3.2]$ make
Building src
make[1]: Entering directory `/home/jerry/Unreal3.2/src'
gcc -I../include -pipe -g -O2 -funsigned-char -c auth.c
gcc -I../include -pipe -g -O2 -funsigned-char -c aln.c
gcc -I../include -pipe -g -O2 -funsigned-char -c badwords.c
gcc -I../include -pipe -g -O2 -funsigned-char -c channel.c
gcc -I../include -pipe -g -O2 -funsigned-char -c cloak.c
gcc -I../include -pipe -g -O2 -funsigned-char -c crule.c
gcc -I../include -pipe -g -O2 -funsigned-char -c dbuf.c
gcc -I../include -pipe -g -O2 -funsigned-char -c events.c
gcc -I../include -pipe -g -O2 -funsigned-char -c fdlist.c
gcc -I../include -pipe -g -O2 -funsigned-char -c hash.c
gcc -I../include -pipe -g -O2 -funsigned-char -c help.c
gcc -I../include -pipe -g -O2 -funsigned-char -c ircd.c
gcc -I../include -pipe -g -O2 -funsigned-char -c ircsprintf.c
gcc -I../include -pipe -g -O2 -funsigned-char -c list.c
gcc -I../include -pipe -g -O2 -funsigned-char -c lusers.c
gcc -I../include -pipe -g -O2 -funsigned-char -c match.c
gcc -I../include -pipe -g -O2 -funsigned-char -c -o modules.o modules.c
gcc -I../include -pipe -g -O2 -funsigned-char -c packet.c
gcc -I../include -pipe -g -O2 -funsigned-char -c parse.c
gcc -I../include -pipe -g -O2 -funsigned-char -c res.c
gcc -I../include -pipe -g -O2 -funsigned-char -c -o res_init.o res_init.c
gcc -I../include -pipe -g -O2 -funsigned-char -c -o res_comp.o res_comp.c
gcc -I../include -pipe -g -O2 -funsigned-char -c -o res_mkquery.o res_mkquery.c
gcc -I../include -pipe -g -O2 -funsigned-char -c -o res_skipname.o res_skipname.c
gcc -I../include -pipe -g -O2 -funsigned-char -c s_auth.c
gcc -I../include -pipe -g -O2 -funsigned-char -c s_bsd.c
gcc -I../include -pipe -g -O2 -funsigned-char -c s_conf.c
gcc -I../include -pipe -g -O2 -funsigned-char -c s_debug.c
gcc -I../include -pipe -g -O2 -funsigned-char -c s_err.c
gcc -I../include -pipe -g -O2 -funsigned-char -c s_extra.c
gcc -I../include -pipe -g -O2 -funsigned-char -c s_kline.c
gcc -I../include -pipe -g -O2 -funsigned-char -c s_misc.c
gcc -I../include -pipe -g -O2 -funsigned-char -c s_numeric.c
gcc -I../include -pipe -g -O2 -funsigned-char -c s_serv.c
gcc -I../include -pipe -g -O2 -funsigned-char -c s_svs.c
gcc -I../include -pipe -g -O2 -funsigned-char -c socket.c
gcc -I../include -pipe -g -O2 -funsigned-char -c ssl.c
gcc -I../include -pipe -g -O2 -funsigned-char -c s_user.c
gcc -I../include -pipe -g -O2 -funsigned-char -c scache.c
gcc -I../include -pipe -g -O2 -funsigned-char -c send.c
gcc -I../include -pipe -g -O2 -funsigned-char -c support.c
gcc -I../include -pipe -g -O2 -funsigned-char -c umodes.c
/bin/sh version.c.SH
Extracting src/version.c...
1.1.1.1.2.1.2.31 2003/06/15 17:13:30
gcc -I../include -pipe -g -O2 -funsigned-char -c version.c
gcc -I../include -pipe -g -O2 -funsigned-char -c webtv.c
gcc -I../include -pipe -g -O2 -funsigned-char -c whowas.c
gcc -I../include -pipe -g -O2 -funsigned-char -c zip.c
gcc -I../include -pipe -g -O2 -funsigned-char -c cidr.c
gcc -I../include -pipe -g -O2 -funsigned-char -c random.c
gcc -I../include -pipe -g -O2 -funsigned-char -o ircd auth.o aln.o badwords.o channel.o cloak.o crule.o dbuf.o events.o fdlist.o hash.o help.o ircd.o ircsprintf.o list.o lusers.o match.o modules.o packet.o parse.o res.o res_init.o res_comp.o res_mkquery.o res_skipname.o s_auth.o s_bsd.o s_conf.o s_debug.o s_err.o s_extra.o s_kline.o s_misc.o s_numeric.o s_serv.o s_svs.o socket.o ssl.o s_user.o scache.o send.o support.o umodes.o version.o webtv.o whowas.o zip.o cidr.o random.o -lcrypt -lnsl
modules.o(.text+0xa7): In function `Module_Create':
/home/jerry/Unreal3.2/src/modules.c:135: undefined reference to `dlopen'
modules.o(.text+0xc1):/home/jerry/Unreal3.2/src/modules.c:138: undefined reference to `dlsym'
modules.o(.text+0xde):/home/jerry/Unreal3.2/src/modules.c:146: undefined reference to `dlclose'
modules.o(.text+0x135):/home/jerry/Unreal3.2/src/modules.c:160: undefined reference to `dlclose'
modules.o(.text+0x155):/home/jerry/Unreal3.2/src/modules.c:165: undefined reference to `dlclose'
modules.o(.text+0x171):/home/jerry/Unreal3.2/src/modules.c:169: undefined reference to `dlsym'
modules.o(.text+0x189):/home/jerry/Unreal3.2/src/modules.c:175: undefined reference to `dlsym'
modules.o(.text+0x1a1):/home/jerry/Unreal3.2/src/modules.c:181: undefined reference to `dlsym'
modules.o(.text+0x1cc):/home/jerry/Unreal3.2/src/modules.c:192: undefined reference to `dlsym'
modules.o(.text+0x1e2):/home/jerry/Unreal3.2/src/modules.c:195: undefined reference to `dlsym'
modules.o(.text+0x2d5):/home/jerry/Unreal3.2/src/modules.c:153: undefined reference to `dlclose'
modules.o(.text+0x2e3):/home/jerry/Unreal3.2/src/modules.c:141: undefined reference to `dlclose'
modules.o(.text+0x2f2):/home/jerry/Unreal3.2/src/modules.c:225: undefined reference to `dlerror'
modules.o(.text+0x3ec): In function `Init_all_testing_modules':
/home/jerry/Unreal3.2/src/modules.c:279: undefined reference to `dlsym'
modules.o(.text+0x49e): In function `Unload_all_loaded_modules':
/home/jerry/Unreal3.2/src/modules.c:315: undefined reference to `dlsym'
modules.o(.text+0x53a):/home/jerry/Unreal3.2/src/modules.c:352: undefined reference to `dlclose'
modules.o(.text+0x686): In function `Unload_all_testing_modules':
/home/jerry/Unreal3.2/src/modules.c:395: undefined reference to `dlclose'
modules.o(.text+0x7e8): In function `Module_free':
/home/jerry/Unreal3.2/src/modules.c:452: undefined reference to `dlclose'
modules.o(.text+0x8b8): In function `Module_Unload':
/home/jerry/Unreal3.2/src/modules.c:480: undefined reference to `dlsym'
modules.o(.text+0x936): In function `Module_SymEx':
/home/jerry/Unreal3.2/src/modules.c:516: undefined reference to `dlsym'
modules.o(.text+0x99a): In function `Module_Sym':
/home/jerry/Unreal3.2/src/modules.c:538: undefined reference to `dlsym'
modules.o(.text+0x9f9): In function `Module_SymX':
/home/jerry/Unreal3.2/src/modules.c:560: undefined reference to `dlsym'
modules.o(.text+0xa5c): In function `module_loadall':
/home/jerry/Unreal3.2/src/modules.c:591: undefined reference to `dlsym'
modules.o(.text+0xa6e):/home/jerry/Unreal3.2/src/modules.c:592: more undefined references to `dlsym' follow
collect2: ld returned 1 exit status
make[1]: *** [ircd] Erreur 1
make[1]: Leaving directory `/home/jerry/Unreal3.2/src'
make: *** [build] Erreur 2
[jerry@localhost Unreal3.2]$
je suis un peu perdu