PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : You haven't compiled Eggdrop yet.



hmstr
07.10.07, 14:38
Hallo,

habe wieder ein Problem.

Ich gebe ./configure ein. Er macht alles.

Dann wenn ich "make" eingebe kommt am Ende:



make[1]: *** [bg.o] Error 1
make[1]: Leaving directory `/root/eggdrop/eggdrop1.6.17/src'
make: *** [modegg] Error 2


Und bei "make install" kommt dann:


root@v447:~/eggdrop/eggdrop1.6.17# make install

You haven't compiled Eggdrop yet.
To compile Eggdrop, use:

make [target]

Valid targets: 'eggdrop', 'static', 'debug', 'sdebug'.
Default target: 'eggdrop'.

make: *** [install-start] Error 1



Wie kann ich diesen Fehler beheben?


mfG
hmstr

BedriddenTech
07.10.07, 14:46
Was kommt bei "make eggdrop"? Und: Was du beim ersten Make-Fehler hier eingefügt hast, hilft garnicht. Die Compilermeldung(en) vorher müssten wir schon haben.

hmstr
07.10.07, 15:48
root@v447:~/eggdrop/eggdrop1.6.17# ./configure

This is Eggdrop's GNU configure script.
It's going to run a bunch of tests to hopefully make your compile
work without much twiddling.

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 how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether the compiler understands -Wall... yes
checking whether the compiler understands -pipe... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking whether head -n 1 works... yes
checking for gawk... gawk
checking for basename... basename
checking for uname... uname
checking for socket in -lsocket... no
checking for connect in -lnsl... yes
checking for gethostbyname in -ldns... yes
checking for dlopen in -ldl... yes
checking for tan in -lm... yes
checking for pthread_mutex_init in -lpthread... yes
checking system type... Linux
checking system release... 2.6.9-023stab044.4-smp
checking module loading capabilities...
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking loader.h usability... no
checking loader.h presence... no
checking for loader.h... no
checking rld.h usability... no
checking rld.h presence... no
checking for rld.h... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking mach-o/rld.h usability... no
checking mach-o/rld.h presence... no
checking for mach-o/rld.h... no
checking for dlopen... yes
checking for load... no
checking for NSLinkModule... no
checking for shl_load... no
checking for rld_load... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking std_args.h usability... no
checking std_args.h presence... no
checking for std_args.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for working volatile... yes
checking for socklen_t... yes
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for clock... yes
checking for dprintf... yes
checking for fsync... yes
checking for getdtablesize... yes
checking for getrusage... yes
checking for inet_aton... yes
checking for isascii... yes
checking for mbrlen... yes
checking for memcpy... yes
checking for memset... yes
checking for random... yes
checking for rename... yes
checking for setpgid... yes
checking for sigaction... yes
checking for sigemptyset... yes
checking for snprintf... yes
checking for srandom... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for uname... yes
checking for vsnprintf... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for vprintf... yes
checking for _doprnt... no
checking for strftime... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for broken libsafe sscanf... no
checking for Tcl library... found /usr/lib/libtcl8.4.so
checking for Tcl header... found /usr/include/tcl8.4/tcl.h
checking whether the Tcl system has changed... yes
checking for Tcl version... 8.4
checking for Tcl patch level... 8.4.9
checking for Tcl_Free in -ltcl8.4... yes
checking for TclpFinalizeThreadData in -ltcl8.4... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating scripts/Makefile
config.status: creating src/Makefile
config.status: creating src/compat/Makefile
config.status: creating src/md5/Makefile
config.status: creating src/mod/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing replace-if-changed commands
lush.h is unchanged
config.status: executing catch-make-rebuild commands
Building ./src/mod/Makefile... done.

Operating System: Linux 2.6.9-023stab044.4-smp

If you experiance any problems compiling Eggdrop, please read the
compile guide, found in doc/COMPILE-GUIDE.

Type 'make config' to configure the modules, or type 'make iconfig'
to interactively choose which modules to compile.

root@v447:~/eggdrop/eggdrop1.6.17# make config
Checking for removed modules.................... done.
Detecting modules.................... done.
Calculating dependencies.................. done.
Building ./src/mod/Makefile... done.
make[1]: Entering directory `/root/eggdrop/eggdrop1.6.17/src/mod'

Configuring module 'dns'.
configure: loading cache ../../../config.cache
checking for gcc... (cached) 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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for res_init... (cached) no
checking for res_init in -lresolv... (cached) no
checking for res_init in -lbind... (cached) no
checking for __res_init... (cached) yes
checking for res_mkquery... (cached) no
checking for res_mkquery in -lresolv... (cached) yes
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
configure: creating ./config.status
config.status: creating Makefile

make[1]: Leaving directory `/root/eggdrop/eggdrop1.6.17/src/mod'
Building ./src/mod/Makefile... done.

You can now compile the bot, using "make".

root@v447:~/eggdrop/eggdrop1.6.17# make config
Checking for removed modules.................... done.
Detecting modules.................... done.
Calculating dependencies.................. done.
Building ./src/mod/Makefile... done.
make[1]: Entering directory `/root/eggdrop/eggdrop1.6.17/src/mod'

Configuring module 'dns'.
configure: loading cache ../../../config.cache
checking for gcc... (cached) 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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for res_init... (cached) no
checking for res_init in -lresolv... (cached) no
checking for res_init in -lbind... (cached) no
checking for __res_init... (cached) yes
checking for res_mkquery... (cached) no
checking for res_mkquery in -lresolv... (cached) yes
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
configure: creating ./config.status
config.status: creating Makefile

make[1]: Leaving directory `/root/eggdrop/eggdrop1.6.17/src/mod'
Building ./src/mod/Makefile... done.

You can now compile the bot, using "make".

root@v447:~/eggdrop/eggdrop1.6.17#
root@v447:~/eggdrop/eggdrop1.6.17# make
make[1]: Entering directory `/root/eggdrop/eggdrop1.6.17/src'
This may take a while. Go get some runts.

gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c bg.c
In file included from main.h:91,
from bg.c:27:
eggdrop.h:1: error: syntax error before "on"
eggdrop.h:10: error: syntax error before '}' token
eggdrop.h:10: warning: type defaults to `int' in declaration of `sock_list'
eggdrop.h:10: warning: data definition has no type or storage class
In file included from main.h:91,
from bg.c:27:
eggdrop.h:34:2: #endif without #if
In file included from main.h:92,
from bg.c:27:
flags.h:177: warning: `struct userrec' declared inside parameter list
flags.h:177: warning: its scope is only this definition or declaration, which is probably not what you want
flags.h:178: warning: `struct userrec' declared inside parameter list
In file included from main.h:95,
from bg.c:27:
proto.h:150: warning: `struct chat_info' declared inside parameter list
proto.h:152: warning: `struct dcc_table' declared inside parameter list
proto.h:155: warning: `struct dcc_table' declared inside parameter list
proto.h:158: warning: parameter names (without types) in function declaration
proto.h:160: warning: parameter names (without types) in function declaration
proto.h:162: error: syntax error before "char"
proto.h:163: error: syntax error before "IP"
proto.h:164: warning: parameter names (without types) in function declaration
proto.h:170: warning: `struct chat_info' declared inside parameter list
proto.h:248: error: syntax error before "my_atoul"
proto.h:248: warning: type defaults to `int' in declaration of `my_atoul'
proto.h:248: warning: data definition has no type or storage class
proto.h:249: warning: parameter names (without types) in function declaration
proto.h:250: error: syntax error before "getmyip"
proto.h:250: warning: type defaults to `int' in declaration of `getmyip'
proto.h:250: warning: data definition has no type or storage class
proto.h:259: error: syntax error before "addr"
proto.h:268: error: syntax error before "IP"
proto.h:269: warning: parameter names (without types) in function declaration
In file included from main.h:98,
from bg.c:27:
cmdt.h:33: error: syntax error before "Function"
cmdt.h:33: warning: no semicolon at end of struct or union
cmdt.h:35: error: syntax error before '}' token
cmdt.h:35: warning: type defaults to `int' in declaration of `cmd_t'
cmdt.h:35: warning: data definition has no type or storage class
cmdt.h:39: error: syntax error before "Function"
cmdt.h:39: warning: no semicolon at end of struct or union
cmdt.h:40: warning: type defaults to `int' in declaration of `botcmd_t'
cmdt.h:40: warning: data definition has no type or storage class
In file included from main.h:99,
from bg.c:27:
tclegg.h:113: error: syntax error before "Function"
tclegg.h:113: warning: no semicolon at end of struct or union
tclegg.h:114: warning: type defaults to `int' in declaration of `tcl_cmds'
tclegg.h:114: warning: data definition has no type or storage class
tclegg.h:118: error: syntax error before "Function"
tclegg.h:118: warning: no semicolon at end of struct or union
tclegg.h:120: error: syntax error before '}' token
tclegg.h:120: warning: type defaults to `int' in declaration of `cd_tcl_cmd'
tclegg.h:120: warning: data definition has no type or storage class
tclegg.h:122: error: syntax error before '*' token
tclegg.h:123: error: syntax error before '*' token
tclegg.h:124: error: syntax error before '*' token
tclegg.h:125: error: syntax error before '*' token
In file included from main.h:100,
from bg.c:27:
tclhash.h:37: error: syntax error before "u_8bit_t"
tclhash.h:37: warning: no semicolon at end of struct or union
tclhash.h:38: warning: type defaults to `int' in declaration of `tcl_cmd_t'
tclhash.h:38: warning: data definition has no type or storage class
tclhash.h:46: error: syntax error before "tcl_cmd_t"
tclhash.h:46: warning: no semicolon at end of struct or union
tclhash.h:48: error: syntax error before "flags"
tclhash.h:48: warning: type defaults to `int' in declaration of `flags'
tclhash.h:48: error: conflicting types for `flags'
eggdrop.h:5: error: previous declaration of `flags'
tclhash.h:48: warning: data definition has no type or storage class
tclhash.h:49: warning: type defaults to `int' in declaration of `tcl_bind_mask_t'
tclhash.h:49: warning: data definition has no type or storage class
tclhash.h:59: error: syntax error before "tcl_bind_mask_t"
tclhash.h:59: warning: no semicolon at end of struct or union
tclhash.h:62: error: syntax error before "flags"
tclhash.h:62: warning: type defaults to `int' in declaration of `flags'
tclhash.h:62: warning: data definition has no type or storage class
tclhash.h:63: error: syntax error before "func"
tclhash.h:63: warning: type defaults to `int' in declaration of `func'
tclhash.h:63: warning: data definition has no type or storage class
tclhash.h:65: warning: type defaults to `int' in declaration of `tcl_bind_list_t'
tclhash.h:65: warning: type defaults to `int' in declaration of `p_tcl_bind_list'
tclhash.h:65: warning: data definition has no type or storage class
tclhash.h:76: error: syntax error before '*' token
tclhash.h:76: error: syntax error before "Function"
tclhash.h:76: warning: type defaults to `int' in declaration of `add_bind_table'
tclhash.h:76: warning: data definition has no type or storage class
tclhash.h:77: error: syntax error before '*' token
tclhash.h:79: error: syntax error before '*' token
tclhash.h:79: warning: type defaults to `int' in declaration of `find_bind_table'
tclhash.h:79: warning: data definition has no type or storage class
tclhash.h:81: error: syntax error before '*' token
tclhash.h:92: warning: `struct tm' declared inside parameter list
tclhash.h:96: error: syntax error before "tcl_bind_list_t"
tclhash.h:102: error: syntax error before "tcl_bind_list_t"
tclhash.h:106: error: syntax error before "tcl_bind_list_t"
tclhash.h:111: error: syntax error before '*' token
tclhash.h:112: error: syntax error before '*' token
tclhash.h:114: error: syntax error before "Function"
tclhash.h:115: error: syntax error before "H_chat"
tclhash.h:115: warning: type defaults to `int' in declaration of `H_chat'
tclhash.h:115: warning: type defaults to `int' in declaration of `H_act'
tclhash.h:115: warning: type defaults to `int' in declaration of `H_bcst'
tclhash.h:115: warning: type defaults to `int' in declaration of `H_chon'
tclhash.h:115: warning: type defaults to `int' in declaration of `H_chof'
tclhash.h:115: warning: data definition has no type or storage class
tclhash.h:116: error: syntax error before "H_load"
tclhash.h:116: warning: type defaults to `int' in declaration of `H_load'
tclhash.h:116: warning: type defaults to `int' in declaration of `H_unld'
tclhash.h:116: warning: type defaults to `int' in declaration of `H_dcc'
tclhash.h:116: warning: type defaults to `int' in declaration of `H_bot'
tclhash.h:116: warning: type defaults to `int' in declaration of `H_link'
tclhash.h:116: warning: data definition has no type or storage class
tclhash.h:117: error: syntax error before "H_away"
tclhash.h:117: warning: type defaults to `int' in declaration of `H_away'
tclhash.h:117: warning: type defaults to `int' in declaration of `H_nkch'
tclhash.h:117: warning: type defaults to `int' in declaration of `H_filt'
tclhash.h:117: warning: type defaults to `int' in declaration of `H_disc'
tclhash.h:117: warning: type defaults to `int' in declaration of `H_event'
tclhash.h:117: warning: data definition has no type or storage class
In file included from main.h:101,
from bg.c:27:
chan.h:47: error: `NICKLEN' undeclared here (not in a function)
chan.h:48: error: `UHOSTLEN' undeclared here (not in a function)
chan.h:204: error: `FLOOD_CHAN_MAX' undeclared here (not in a function)
chan.h:205: error: `FLOOD_CHAN_MAX' undeclared here (not in a function)
chan.h:206: error: `FLOOD_CHAN_MAX' undeclared here (not in a function)
chan.h:207: error: `NICKLEN' undeclared here (not in a function)
In file included from main.h:102,
from bg.c:27:
users.h:152: error: `HANDLEN' undeclared here (not in a function)
bg.c: In function `bg_do_detach':
bg.c:115: warning: implicit declaration of function `unlink'
bg.c:132: warning: implicit declaration of function `setpgid'
bg.c: In function `bg_prepare_split':
bg.c:148: warning: implicit declaration of function `pipe'
bg.c:155: warning: implicit declaration of function `fork'
bg.c:166: warning: implicit declaration of function `read'
bg.c: In function `bg_send_pidfile':
bg.c:207: warning: implicit declaration of function `write'
make[1]: *** [bg.o] Error 1
make[1]: Leaving directory `/root/eggdrop/eggdrop1.6.17/src'
make: *** [modegg] Error 2

root@v447:~/eggdrop/eggdrop1.6.17# make install

You haven't compiled Eggdrop yet.
To compile Eggdrop, use:

make [target]

Valid targets: 'eggdrop', 'static', 'debug', 'sdebug'.
Default target: 'eggdrop'.

make: *** [install-start] Error 1

Svenny
07.10.07, 16:04
RTFM?

make config schon gemacht?

hmstr
07.10.07, 16:15
Ja steht da ja auch ;)

Rain_maker
07.10.07, 16:22
Schonmal auf die Idee gekommen, daß diese Sourcen für Deine Distribution zu alt sein könnten?

http://www.eggheads.org/downloads/



Older versions of Eggdrop

Older releases are listed for archaeological purposes only. They are no longer supported.

* Eggdrop 1.6.17 (tar.gz) [998Kb] [signature] - 22 Aug 2004
(MD5sum: 95b3744a45ac1420cf08d88ee0ed0b6c)
Die ganzen Syntax-Errors beim Kompilieren müssen ja irgendwo herkommen.

hmstr
07.10.07, 19:07
Hab die aktuellset Version.

Rain_maker
07.10.07, 19:12
Nein, hast Du nicht.

hmstr
07.10.07, 19:18
Ich habe die 1.6.18

Svenny
07.10.07, 19:28
wieso steht bei dir dann:
root@v447:~/eggdrop/eggdrop-->1.6.17<--# make install

?

Rain_maker
07.10.07, 19:39
Wieso versuchst Du es überhaupt von Hand zu bauen?

Sicher, daß es keine fertigen Pakete für Deine - leider der absoluten Geheimhaltung unterliegenen- Distribution gibt?

BTW:

Die 1.6.18 kompiliert bei mir (openSUSE 10.2) ohne Probleme, aber auch da würde ich das fertige RPM verwenden und über den Paketmanager installieren.

hmstr
07.10.07, 19:49
Ja hab jetzt die neuste Version installiert.

KLappt immer noch nicht. Genau das gleiche wie oben.

BedriddenTech
08.10.07, 07:56
Hast du die ganzen foo-devel-Pakete installiert, die in doc/COMPILE-GUIDE erwähnt sind?

Svenny
08.10.07, 16:28
welche distri hast du?

hmstr
13.10.07, 23:47
Debian.

@BedriddenTech:

Keine Ahnung was du damit meinst.

Svenny
16.10.07, 05:25
welche Version von Debian?