Bugs: configure trouble

Sergey Pavlov shrike at eggdrop.org.ru
Sun Jun 6 18:17:25 CST 2004


Hello bugs,

  There is strange configure trouble...

  tryed 1.6.16... it's failed... so tryed 1.6.15... same trouble.

sergey at blackhawk:~/eggdrop1.6.15 # ./configure && make config

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 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 -pipe... yes
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/local/bin/ginstall -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... Linux
checking system release... 2.4.26
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 for dirent.h that defines DIR... yes
checking for library containing opendir... none required
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 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 an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for kernel IPv6 support... yes
checking whether or not you enabled IPv6 support... no
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... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for isascii... yes
checking for inet_aton... yes
checking for inet_ntop... yes
checking for memcpy... yes
checking for strftime... yes
checking for fsync... yes
checking for gethostbyname2... yes
checking for getipnodebyname... no
checking for vsprintf... yes
checking for broken libsafe sscanf... no
checking for Tcl library... found /usr/local/lib/libtcl.so
checking for Tcl header... found /usr/local/include/tcl.h
checking whether the Tcl system has changed... yes
checking for Tcl version... 8.3
checking for Tcl patch level... 8.3.4
checking for Tcl_Free in -ltcl... yes
checking for TclpFinalizeThreadData in -ltcl... no
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/md5/Makefile
config.status: creating src/compat/Makefile
config.status: creating src/mod/Makefile
config.status: creating config.h
config.status: executing default-1 commands
creating lush.h
config.status: executing default-2 commands

Configure is done.

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

detecting modules.................... done.
calculating dependencies................... done.
building ./src/mod/Makefile... done.
make[1]: Entering directory `/home/sergey/eggdrop1.6.15/src/mod'

Configuring module compress ...

running in eggdrop mode.
configure: warning: CFLAGS=-mcpu=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3 -Wno-deprecated -L/usr/local/lib: invali
d host type
configure: warning: LDFLAGS=-L/usr/local/lib: invalid host type
configure: error: can only configure for one host and one target at a time

Configuring module dns ...

running in eggdrop mode.
configure: warning: CFLAGS=-mcpu=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3 -Wno-deprecated -L/usr/local/lib: invali
d host type
configure: warning: LDFLAGS=-L/usr/local/lib: invalid host type
configure: error: can only configure for one host and one target at a time

make[1]: Leaving directory `/home/sergey/eggdrop1.6.15/src/mod'
building ./src/mod/Makefile... done.

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

sergey at blackhawk:~/eggdrop1.6.15 # make
make[1]: Entering directory `/home/sergey/eggdrop1.6.15/src'
(This may take a while.  Go get some runts.)
[skipped]
---------- Yeah! that's the compiling, now the linking! ----------

Linking eggdrop...

gcc -pipe -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match
.o main.o mem.o misc.o misc_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o userent.o user
rec.o users.o  -L/usr/local/lib -ltcl -lm -ldl -lnsl  md5/md5c.o compat/*.o `cat mod/mod.xlibs`
strip ../eggdrop
Successful compile: eggdrop

make[1]: Leaving directory `/home/sergey/eggdrop1.6.15/src'

Eggdrop v1.6.15 (C) 1997 Robey Pointer (C) 2003 Eggheads
-rwxr-xr-x  1 sergey users 350520 2004-06-07 03:56 eggdrop
make[1]: Entering directory `/home/sergey/eggdrop1.6.15/src/mod'
make[2]: Entering directory `/home/sergey/eggdrop1.6.15/src/mod/assoc.mod'
gcc -pipe -fPIC -mcpu=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3 -Wno-deprecated -L/usr/local/lib -Wall -I. -I../../
.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././assoc.mod/assoc.c
mv assoc.o ../
gcc -pipe -shared -nostartfiles -o ../../../assoc.so ../assoc.o -L/usr/local/lib -ltcl -lm -ldl -lnsl
strip ../../../assoc.so
make[2]: Leaving directory `/home/sergey/eggdrop1.6.15/src/mod/assoc.mod'
make[2]: Entering directory `/home/sergey/eggdrop1.6.15/src/mod/blowfish.mod'
gcc -pipe -fPIC -mcpu=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3 -Wno-deprecated -L/usr/local/lib -Wall -I. -I../../
.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././blowfish.mod/blowfish.c
mv blowfish.o ../
gcc -pipe -shared -nostartfiles -o ../../../blowfish.so ../blowfish.o -L/usr/local/lib -ltcl -lm -ldl -lnsl
strip ../../../blowfish.so
make[2]: Leaving directory `/home/sergey/eggdrop1.6.15/src/mod/blowfish.mod'
make[2]: Entering directory `/home/sergey/eggdrop1.6.15/src/mod/channels.mod'
gcc -pipe -fPIC -mcpu=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3 -Wno-deprecated -L/usr/local/lib -Wall -I. -I../../
.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././channels.mod/channels.c
mv channels.o ../
gcc -pipe -shared -nostartfiles -o ../../../channels.so ../channels.o -L/usr/local/lib -ltcl -lm -ldl -lnsl
strip ../../../channels.so
make[2]: Leaving directory `/home/sergey/eggdrop1.6.15/src/mod/channels.mod'
cp: невозможно выполнить stat для `./compress.mod/Makefile': No such file or directory
make[2]: Entering directory `/home/sergey/eggdrop1.6.15/src/mod/compress.mod'
make[2]: *** Нет правила для сборки цели `modules'.  Останов.
make[2]: Leaving directory `/home/sergey/eggdrop1.6.15/src/mod/compress.mod'
make[1]: *** [compress.mod_so] Ошибка 2
make[1]: Leaving directory `/home/sergey/eggdrop1.6.15/src/mod'
make: *** [modules] Ошибка 2
sergey at blackhawk:~/eggdrop1.6.15  

running ./configure for modules in hand mode ;)

sergey at blackhawk:~/eggdrop1.6.15/src/mod/compress.mod # ./configure
running in eggdrop mode.
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -mcpu=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3 -Wno-deprecated -L/usr/local/lib -L/usr/local/lib) works... yes
checking whether the C compiler (gcc -mcpu=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3 -Wno-deprecated -L/usr/local/lib -L/usr/local/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gzopen in -lz... yes
checking how to run the C preprocessor... gcc -E
checking for zlib.h... yes
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

make again...

make[2]: Entering directory `/home/sergey/eggdrop1.6.15/src/mod/compress.mod'
gcc -pipe -fPIC -mcpu=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3 -Wno-deprecated -L/usr/local/lib -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././compress.mod/compress.c
rm -f ../compress.o
mv compress.o ../
gcc -pipe -shared -nostartfiles -o ../../../compress.so ../compress.o -lz -L/usr/local/lib -ltcl -lm -ldl -lnsl
strip ../../../compress.so
make[2]: Leaving directory `/home/sergey/eggdrop1.6.15/src/mod/compress.mod'
make[2]: Entering directory `/home/sergey/eggdrop1.6.15/src/mod/console.mod'
gcc -pipe -fPIC -mcpu=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3 -Wno-deprecated -L/usr/local/lib -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././console.mod/console.c
mv console.o ../
gcc -pipe -shared -nostartfiles -o ../../../console.so ../console.o -L/usr/local/lib -ltcl -lm -ldl -lnsl
strip ../../../console.so
make[2]: Leaving directory `/home/sergey/eggdrop1.6.15/src/mod/console.mod'
make[2]: Entering directory `/home/sergey/eggdrop1.6.15/src/mod/ctcp.mod'
gcc -pipe -fPIC -mcpu=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3 -Wno-deprecated -L/usr/local/lib -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././ctcp.mod/ctcp.c
mv ctcp.o ../
gcc -pipe -shared -nostartfiles -o ../../../ctcp.so ../ctcp.o
strip ../../../ctcp.so
make[2]: Leaving directory `/home/sergey/eggdrop1.6.15/src/mod/ctcp.mod'
cp: невозможно выполнить stat для `./dns.mod/Makefile': No such file or directory
make[2]: Entering directory `/home/sergey/eggdrop1.6.15/src/mod/dns.mod'
make[2]: *** Нет правила для сборки цели `modules'.  Останов.
make[2]: Leaving directory `/home/sergey/eggdrop1.6.15/src/mod/dns.mod'
make[1]: *** [dns.mod_so] Ошибка 2
make[1]: Leaving directory `/home/sergey/eggdrop1.6.15/src/mod'
make: *** [modules] Ошибка 2

i suppose it's a bug somewhere... src/mod/*/configure not executed...
;/

sergey at blackhawk:~/eggdrop1.6.15 # gcc --version
gcc (GCC) 3.2.2
sergey at blackhawk:~/eggdrop1.6.15 # aclocal --version
aclocal (GNU automake) 1.8.5
sergey at blackhawk:~/eggdrop1.6.15 # autoconf --version
autoconf (GNU Autoconf) 2.59
sergey at blackhawk:~/eggdrop1.6.15 # automake --version
automake (GNU automake) 1.8.5
sergey at blackhawk:~/eggdrop1.6.15 # autoheader --version
autoheader (GNU Autoconf) 2.59
sergey at blackhawk:~/eggdrop1.6.15 # make --version
GNU Make 3.80
sergey at blackhawk:~/eggdrop1.6.15 # uname -a
Linux blackhawk 2.4.26 #2 Втр Июн 1 16:16:08 MSD 2004 i686 unknown unknown GNU/Linux

-- 
Best regards,
 Sergey                          mailto:shrike at eggdrop.org.ru




More information about the Bugs mailing list