I just installed eggdrop1.6.9 and everything went great until it was time to start my bot. When i wrote ./eggdrop -m mybot.conf i just got this message:
zsh: exec format error: ./eggdrop
Does anyone know what that means? Is the problem in my configure or is it my internet service provider?
The same message comes even if I just write ./eggdrop
That makes me believe that the problem isnt in my configure.
Comments needed very badly. Thanks!
<font size=-1>[ This Message was edited by: timber on 2002-03-31 15:28 ]</font>
This is Eggdrop's GNU configure script.
It's going to run a bunch of strange tests to hopefully
make your compile work without much twiddling.
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 executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for POSIXized ISC... no
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... no
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 -pipe... yes
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for a BSD compatible install... misc/install-sh -c
checking whether ln -s works... yes
checking for strip... strip
checking for gawk... gawk
checking for basename... basename
checking for uname... uname
checking system type... SunOS
checking system release... 5.6
checking for socket in -lsocket... yes
checking for connect in -lnsl... yes
checking for gethostbyname in -ldns... no
checking for dlopen in -ldl... yes
checking for tan in -lm... yes
checking for pthread_mutex_init in -lpthread... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking for unistd.h... (cached) yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking std_args.h usability... no
checking std_args.h presence... no
checking for std_args.h... no
checking for strings.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for gcc -pipe option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... yes
checking for inline... inline
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for clock... yes
checking for getrusage... yes
checking for setpgid... yes
checking for uname... yes
checking for sigaction... yes
checking for sigemptyset... yes
checking for rename... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for getdtablesize... yes
checking for memset... yes
checking for random... yes
checking for srandom... yes
checking for dlopen... yes
checking for dprintf... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for isascii... yes
checking for inet_aton... no
checking for memcpy... yes
checking for strftime... yes
checking for fsync... yes
checking for vsprintf... yes
checking for broken libsafe sscanf... no
checking for Tcl library... using /opt/tcl/lib/libtcl8.0.a
checking for Tcl header... using /opt/tcl/include/tcl.h
checking whether the Tcl system has changed... yes
checking for Tcl version... 8.0
checking for Tcl patch level... 8.0p2
checking for Tcl_Free in -ltcl8.0... yes
checking for TclpFinalizeThreadData in -ltcl8.0... no
configure: warning:
Your Tcl library is not a shared lib.
configure will now set default make type to static...
Type 'make config' to configure the modules
to interactively choose which modules to compile.
After that, type 'make' to create the bot.
[18:00] simpukka /work/tkuutti/eggdrop1.6.9 % make config
detecting modules.................... done.
calculating dependencies................... done.
building ./src/mod/Makefile... done.
Configuring module compress ...
running in eggdrop mode.
creating cache ../../../config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gzopen in -lz... no
checking how to run the C preprocessor... gcc -E
checking for zlib.h... yes
configure: warning:
Your system does not provide a working zlib compression library. The
compress module will therefore be disabled.
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
updating cache ../../../config.cache
creating ./config.status
creating Makefile
creating compress_config.h
Configuring module dns ...
running in eggdrop mode.
loading cache ../../../config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for Cygwin environment... no
checking for res_init... no
checking for res_init in -lresolv... yes
checking for res_mkquery... no
checking for res_mkquery in -lresolv... yes
updating cache ../../../config.cache
creating ./config.status
creating Makefile
building ./src/mod/Makefile... done.
You can now compile the bot, using "make".
[18:01] simpukka /work/tkuutti/eggdrop1.6.9 % make
Installing in directory: '/home/t/k/tkuutti/eggdrop'.
Creating directory: /home/t/k/tkuutti/eggdrop.
mkdir /home/t/k/tkuutti/eggdrop
Copying new 'eggdrop' executable and creating symlink.
Creating 'logs' subdirectory.
mkdir /home/t/k/tkuutti/eggdrop/logs
Creating 'text' subdirectory.
mkdir /home/t/k/tkuutti/eggdrop/text
Copying help files.
Creating 'help' subdirectory.
mkdir /home/t/k/tkuutti/eggdrop/help
Creating 'help/set' subdirectory.
mkdir /home/t/k/tkuutti/eggdrop/help/set
Copying module help files.
Creating 'help/msg' subdirectory.
mkdir /home/t/k/tkuutti/eggdrop/help/msg
Copying language files.
Creating 'language' subdirectory.
mkdir /home/t/k/tkuutti/eggdrop/language
Copying module language files.
Creating a skeletal filesys subdirectory.
mkdir /home/t/k/tkuutti/eggdrop/filesys
mkdir /home/t/k/tkuutti/eggdrop/filesys/incoming
Creating a doc subdirectory.
mkdir /home/t/k/tkuutti/eggdrop/doc
mkdir /home/t/k/tkuutti/eggdrop/doc/man1
mkdir /home/t/k/tkuutti/eggdrop/doc/html
mkdir /home/t/k/tkuutti/eggdrop/doc/settings
Copying docs.
Creating a scripts subdirectory.
mkdir /home/t/k/tkuutti/eggdrop/scripts
Copying scripts.
Installation completed.
You MUST ensure that you edit/verify your configuration file.
Use one of the three configuration files (eggdrop.simple.conf, eggdrop.advanced.
conf and eggdrop.complete.conf) distributed with your bot.
Remember to change directory to /home/t/k/tkuutti/eggdrop before you proceed.
well the binary does work as "Eggdrop v1.6.9 (C) 1997 Robey Pointer (C) 2002 Eggheads" is generated by an ./eggdrop -v in the Makefile. Probably the -O2 in your cc flags is messing things up.