Hello,
I have a pretty clean(not much installed there) Fedora Core 1 host, where I have a shell. Everything before this compiled well, but eggdrop gives me some errors I see the first time with it.
[alexeyg@170 eggdrop1.6.17]$ ./configure && make config && make
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... no
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.4.22-1.2199.nptl
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/local/lib/libtcl8.4.so
checking for Tcl header... found /usr/local/include/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... no
checking whether to include SSL support... will try to find
checking for SSL_accept in -lssl... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
configure: creating ./config.status
[color=red]./configure: line 11520: /usr/bin/uniq: cannot execute binary file[/color]
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.4.22-1.2199.nptl
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.
Checking for removed modules..................... done.
Detecting modules..................... done.
Calculating dependencies..................... done.
Building ./src/mod/Makefile... done.
make[1]: Entering directory `/home/alexeyg/download/eggdrop1.6.17/src/mod'
Configuring module 'compress'.
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 gzopen in -lz... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for zlib.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
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 `/home/alexeyg/download/eggdrop1.6.17/src/mod'
Building ./src/mod/Makefile... done.
You can now compile the bot, using "make".
make[1]: Entering directory `/home/alexeyg/download/eggdrop1.6.17/src'
This may take a while. Go get some runts.
[color=red]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:97:67: Error: Your system must have standard ANSI C headers.: No such file or directory
eggdrop.h:101:58: Error: You need vsprintf to compile eggdrop.: No such file or directory
eggdrop.h:111:94: Error: You can't compile with module support on this system (try make static).: No such file or directory
eggdrop.h:265:45: Error: Can't find 32bit type.: No such file or directory
In file included from main.h:91,
from bg.c:27:
eggdrop.h:273: error: syntax error before "IP"
eggdrop.h:273: warning: type defaults to `int' in declaration of `IP'
eggdrop.h:273: warning: data definition has no type or storage class
eggdrop.h:319: error: syntax error before "IP"
eggdrop.h:319: warning: no semicolon at end of struct or union
eggdrop.h:340: error: syntax error before '}' token
eggdrop.h:429: error: syntax error before "IP"
eggdrop.h:429: warning: no semicolon at end of struct or union
eggdrop.h:434: error: syntax error before '}' token
In file included from main.h:95,
from bg.c:27:
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: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 /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from compat/inet_aton.h:32,
from compat/compat.h:28,
from main.h:103,
from bg.c:27:
/usr/include/bits/socket.h:36: error: conflicting types for `socklen_t'
eggdrop.h:222: error: previous declaration of `socklen_t'
In file included from bg.c:28:
/usr/include/signal.h:212: error: syntax error before "int"
In file included from bg.c:28:
/usr/include/signal.h:302: error: redefinition of `struct sigvec'
bg.c: In function `bg_do_detach':
bg.c:115: warning: implicit declaration of function `unlink'
bg.c: In function `bg_do_split':
bg.c:245: warning: implicit declaration of function `fork'
make[1]: *** [bg.o] Error 1
make[1]: Leaving directory `/home/alexeyg/download/eggdrop1.6.17/src'
make: *** [modegg] Error 2[/color]
I have the latest tcl version(8.4.9) installed there and I have no idea what the problem can be... I see that the system misses some packages, but wich?
Hope you can help me find an answer.
looks like you dont have the proper header files to compile C. think you need some C library files...
whats the gcc compiler version you have. also be sure to have the support libs installed.
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
something's wrong with your configure script - it locates the standard C header files (that means it has been able to successfully compile its small embedded test program), but fails to output "#define STDC_HEADERS 1" to config.h, which is later checked in eggdrop.h and compilation is aborted
check out config.log, there might be more info on that issue
/* config.h. Generated by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
#ifndef _EGG_CONFIG_H
#define _EGG_CONFIG_H
/* Define if running on NeXT Step. */
/* #undef BORGCUBES */
/* Define to use Eggdrop's snprintf functions regardless of HAVE_SNPRINTF. */
/* #undef BROKEN_SNPRINTF */
/* Define if running under Cygwin. */
/* #undef CYGWIN_HACKS */
/* Define if running on SunOS 4.0. */
/* #undef DLOPEN_1 */
/* Defines the extension of Eggdrop modules. */
/* #undef EGG_MOD_EXT */
/* Defines the current Eggdrop version. */
/* #undef EGG_VERSION */
/* Define if stripping is enabled. */
/* #undef ENABLE_STRIP */
/* Define to 1 if you have the <arpa/inet.h> header file. */
/* #undef HAVE_ARPA_INET_H */
/* Define to 1 if you have the `clock' function. */
/* #undef HAVE_CLOCK */
/* Defines ssl mode */
/* #undef EGG_SSL_EXT */
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_DIRENT_H */
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
/* Define to 1 if you have the `dlopen' function. */
/* #undef HAVE_DLOPEN */
/* Define to 1 if you have the <dl.h> header file. */
/* #undef HAVE_DL_H */
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
/* #undef HAVE_DOPRNT */
/* Define to 1 if you have the `dprintf' function. */
/* #undef HAVE_DPRINTF */
/* Define to 1 if you have the <fcntl.h> header file. */
/* #undef HAVE_FCNTL_H */
/* Define to 1 if you have the `fsync' function. */
/* #undef HAVE_FSYNC */
/* Define to 1 if you have the `getdtablesize' function. */
/* #undef HAVE_GETDTABLESIZE */
/* Define to 1 if you have the `getpagesize' function. */
/* #undef HAVE_GETPAGESIZE */
/* Define to 1 if you have the `getrusage' function. */
/* #undef HAVE_GETRUSAGE */
/* Define to 1 if you have the `inet_aton' function. */
/* #undef HAVE_INET_ATON */
/* Define to 1 if you have the <inttypes.h> header file. */
/* #undef HAVE_INTTYPES_H */
/* Define to 1 if you have the `isascii' function. */
/* #undef HAVE_ISASCII */
/* Define to 1 if you have the `dl' library (-ldl). */
/* #undef HAVE_LIBDL */
/* Define to 1 if you have the `dld' library (-ldld). */
/* #undef HAVE_LIBDLD */
/* Define to 1 if you have the `dns' library (-ldns). */
/* #undef HAVE_LIBDNS */
/* Define to 1 if you have the `nsl' library (-lnsl). */
/* #undef HAVE_LIBNSL */
/* Define to 1 if you have the `socket' library (-lsocket). */
/* #undef HAVE_LIBSOCKET */
/* Define to 1 if you have the <limits.h> header file. */
/* #undef HAVE_LIMITS_H */
/* Define to 1 if you have the `load' function. */
/* #undef HAVE_LOAD */
/* Define to 1 if you have the <loader.h> header file. */
/* #undef HAVE_LOADER_H */
/* Define to 1 if you have the <locale.h> header file. */
/* #undef HAVE_LOCALE_H */
/* Define to 1 if you have the <mach-o/dyld.h> header file. */
/* #undef HAVE_MACH_O_DYLD_H */
/* Define to 1 if you have the <mach-o/rld.h> header file. */
/* #undef HAVE_MACH_O_RLD_H */
/* Define to 1 if you have the `mbrlen' function. */
/* #undef HAVE_MBRLEN */
/* Define to 1 if you have the `memcpy' function. */
/* #undef HAVE_MEMCPY */
/* Define to 1 if you have the <memory.h> header file. */
/* #undef HAVE_MEMORY_H */
/* Define to 1 if you have the `memset' function. */
/* #undef HAVE_MEMSET */
/* Define to 1 if you have a working `mmap' system call. */
/* #undef HAVE_MMAP */
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */
/* Define to 1 if you have the <netdb.h> header file. */
/* #undef HAVE_NETDB_H */
/* Define to 1 if you have the <netinet/in.h> header file. */
/* #undef HAVE_NETINET_IN_H */
/* Define to 1 if you have the `NSLinkModule' function. */
/* #undef HAVE_NSLINKMODULE */
/* Define to 1 if you have the `random' function. */
/* #undef HAVE_RANDOM */
/* Define to 1 if you have the `rename' function. */
/* #undef HAVE_RENAME */
/* Define to 1 if you have the <rld.h> header file. */
/* #undef HAVE_RLD_H */
/* Define to 1 if you have the `rld_load' function. */
/* #undef HAVE_RLD_LOAD */
/* Define to 1 if you have the `setpgid' function. */
/* #undef HAVE_SETPGID */
/* Define to 1 if you have the `shl_load' function. */
/* #undef HAVE_SHL_LOAD */
/* Define to 1 if you have the `sigaction' function. */
/* #undef HAVE_SIGACTION */
/* Define to 1 if you have the `sigemptyset' function. */
/* #undef HAVE_SIGEMPTYSET */
/* Define to 1 if you have the `snprintf' function. */
/* #undef HAVE_SNPRINTF */
/* Define if your system has the `socklen_t' type. */
/* #undef HAVE_SOCKLEN_T */
/* Define to 1 if you have the `srandom' function. */
/* #undef HAVE_SRANDOM */
/* Define to 1 if you have the <stdarg.h> header file. */
/* #undef HAVE_STDARG_H */
/* Define to 1 if you have the <stddef.h> header file. */
/* #undef HAVE_STDDEF_H */
/* Define to 1 if you have the <stdint.h> header file. */
/* #undef HAVE_STDINT_H */
/* Define to 1 if you have the <stdlib.h> header file. */
/* #undef HAVE_STDLIB_H */
/* Define to 1 if you have the <std_args.h> header file. */
/* #undef HAVE_STD_ARGS_H */
/* Define to 1 if you have the `strcasecmp' function. */
/* #undef HAVE_STRCASECMP */
/* Define to 1 if you have the `strftime' function. */
/* #undef HAVE_STRFTIME */
/* Define to 1 if you have the <strings.h> header file. */
/* #undef HAVE_STRINGS_H */
/* Define to 1 if you have the <string.h> header file. */
/* #undef HAVE_STRING_H */
/* Define to 1 if you have the `strncasecmp' function. */
/* #undef HAVE_STRNCASECMP */
/* Define to 1 if `tm_zone' is member of `struct tm'. */
/* #undef HAVE_STRUCT_TM_TM_ZONE */
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/file.h> header file. */
/* #undef HAVE_SYS_FILE_H */
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/param.h> header file. */
/* #undef HAVE_SYS_PARAM_H */
/* Define to 1 if you have the <sys/rusage.h> header file. */
/* #undef HAVE_SYS_RUSAGE_H */
/* Define to 1 if you have the <sys/select.h> header file. */
/* #undef HAVE_SYS_SELECT_H */
/* Define to 1 if you have the <sys/socket.h> header file. */
/* #undef HAVE_SYS_SOCKET_H */
/* Define to 1 if you have the <sys/stat.h> header file. */
/* #undef HAVE_SYS_STAT_H */
/* Define to 1 if you have the <sys/time.h> header file. */
/* #undef HAVE_SYS_TIME_H */
/* Define to 1 if you have the <sys/types.h> header file. */
/* #undef HAVE_SYS_TYPES_H */
/* Define for Tcl that has Tcl_Free() (7.5p1 and later). */
/* #undef HAVE_TCL_FREE */
/* Define for Tcl that has threads. */
/* #undef HAVE_TCL_THREADS */
/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
`HAVE_STRUCT_TM_TM_ZONE' instead. */
/* #undef HAVE_TM_ZONE */
/* Define to 1 if you don't have `tm_zone' but do have the external array
`tzname'. */
/* #undef HAVE_TZNAME */
/* Define to 1 if you have the `uname' function. */
/* #undef HAVE_UNAME */
/* Define to 1 if you have the <unistd.h> header file. */
/* #undef HAVE_UNISTD_H */
/* Define to 1 if you have the `vprintf' function. */
/* #undef HAVE_VPRINTF */
/* Define to 1 if you have the `vsnprintf' function. */
/* #undef HAVE_VSNPRINTF */
/* Define to 1 if you have the <wchar.h> header file. */
/* #undef HAVE_WCHAR_H */
/* Define if you have a version of libsafe with a broken sscanf(). */
/* #undef LIBSAFE_HACKS */
/* Define if modules will work on your system. */
/* #undef MODULES_OK */
/* Define if modules should be loaded using the dl*() functions. */
/* #undef MOD_USE_DL */
/* Define if modules should be loaded using the NS*() functions. */
/* #undef MOD_USE_DYLD */
/* Define if modules should be loaded using the ldr*() and *load() functions.
*/
/* #undef MOD_USE_LOADER */
/* Define if modules should be loaded using the rld_*() functions. */
/* #undef MOD_USE_RLD */
/* Define if modules should be loaded using the shl_*() functions. */
/* #undef MOD_USE_SHL */
/* Define to the address where bug reports for this package should be sent. */
/* #undef PACKAGE_BUGREPORT */
/* Define to the full name of this package. */
/* #undef PACKAGE_NAME */
/* Define to the full name and version of this package. */
/* #undef PACKAGE_STRING */
/* Define to the one symbol short name of this package. */
/* #undef PACKAGE_TARNAME */
/* Define to the version of this package. */
/* #undef PACKAGE_VERSION */
/* Define to the type of arg 1 for `select'. */
/* #undef SELECT_TYPE_ARG1 */
/* Define to the type of args 2, 3 and 4 for `select'. */
/* #undef SELECT_TYPE_ARG234 */
/* Define to the type of arg 5 for `select'. */
/* #undef SELECT_TYPE_ARG5 */
/* The size of a `int', as computed by sizeof. */
/* #undef SIZEOF_INT */
/* The size of a `long', as computed by sizeof. */
/* #undef SIZEOF_LONG */
/* The size of a `short', as computed by sizeof. */
/* #undef SIZEOF_SHORT */
/* Define to 1 if you have the ANSI C header files. */
/* #undef STDC_HEADERS */
/* Define if running on OSF/1 platform. */
/* #undef STOP_UAC */
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
/* #undef TIME_WITH_SYS_TIME */
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef TM_IN_SYS_TIME */
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */
/* Define to 1 if on AIX 3.
System headers sometimes define this.
We just want to avoid a redefinition error message. */
#ifndef _ALL_SOURCE
/* # undef _ALL_SOURCE */
#endif
/* Define to 1 if on MINIX. */
/* #undef _MINIX */
/* Define to 2 if the system does not provide POSIX.1 features except with
this defined. */
/* #undef _POSIX_1_SOURCE */
/* Define to 1 if you need to in order for `stat' and other things to work. */
/* #undef _POSIX_SOURCE */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* Define to `int' if <sys/types.h> does not define. */
/* #undef pid_t */
/* Define to `unsigned' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */
/* #undef volatile */
#endif /* !_EGG_CONFIG_H */
I'm running out of guesses, so I doubt there's much more I could say to you on instant messenger... there's something wrong with your environment, you may wish to check for the usual showstoppers, like file/directory permission issues, whether you can write to /tmp and similar problems - also try to build another network daemon program (for example ircd, it has similar autoconfiguration process) and see if it's possible; check if you have working sed(1) utility, it's used by `configure'
obviously, the configure script is buggy since it exits normally (exit status 0) but actually fails to update config.h - you should report your observations to eggheads (eggdrop's development team), let them know about the problem, it needs to be fixed
I see, oki, I will try to compile various stuff there, atm just can say that I was able to compile tcl and openssl there. As for permissions - I've tried both root and normal users. If I will not find the solution soon I will submit it as a bug to eggheads.
Thanks for your help and hints!
Alex.
EDIT: Tried to compile Unreal IRCd - errors when just starting to compile.
Building src
make[1]: Entering directory `/home/alexeyg/download/Unreal3.2/src'
gcc -I../include -I/home/alexeyg/download/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -export-dynamic -c auth.c
In file included from auth.c:21:
../include/struct.h:68:23: tre/regex.h: No such file or directory
In file included from auth.c:21:
../include/struct.h:818: error: syntax error before "regex_t"
../include/struct.h:818: warning: no semicolon at end of struct or union
../include/struct.h:821: error: syntax error before '}' token
In file included from auth.c:21:
../include/struct.h:1231: error: syntax error before "regex_t"
../include/struct.h:1231: warning: no semicolon at end of struct or union
../include/struct.h:1313: error: syntax error before "regex_t"
../include/struct.h:1313: warning: no semicolon at end of struct or union
In file included from auth.c:35:
/usr/include/string.h:287: error: syntax error before "__s1"
/usr/include/string.h:287: error: syntax error before '!=' token
/usr/include/string.h:292: error: conflicting types for `myncmp'
../include/common.h:104: error: previous declaration of `myncmp'
make[1]: *** [auth.o] Error 1
make[1]: Leaving directory `/home/alexeyg/download/Unreal3.2/src'
make: *** [build] Error 2
Now I am pretty much sure it's some path problem. The configure seems to find all the required headers but during the compilation they can not be found...
I suppose I have some progress...
There was no response yet from eggheads (why?), but I did some more testing and was pretty luck! I've taken config.h from my other host (some very old version of Red Hat) and put it to current bot and it almost compiled. I can't tell if it compiled ok for sure atm - still have to make mysql.mod to work (mysql dev headers seem to be missing). I suppose that I will finish this by tomorrow evening and tell how all went!
EDIT: All compile well... except that it misses tcl lib...
./eggdrop: error while loading shared libraries: libtcl8.4.so: cannot open shared object file: No such file or directory
I wonder where this setting is set...
do a forum search for that error message, there are tons of answers to the problem of locating TCL libs at run-time
as to why eggheads don't respond - they are busy with other things in their lives, and that's pretty normal, no free software project mailing list has been active all the way, all the time