Re: 2.1.3 - " cannot compute sizeof (char), 77" configure error

Theo Schlossnagle <[email protected]> Tue, 27 Mar 2007 21:55:19 -0400
Newsgroups gmane.comp.apache.mod-wackamole.general
Message-ID <[email protected]>
Up a ways in the config.log I'd wager.  seek to the end and search  
backwards for "error" and you should see the program it tried to  
compile and the error it received.

On Mar 27, 2007, at 9:41 PM, O'Brien, Nick wrote:

> I've installed Spread 3.17.4 under /usr/local and now am trying to
> install
> wackamole 2.1.3 on A Solaris 9 box with gcc 3.4.6.
>
> However the configure (full output below) ends with
>
> checking for char... yes
> checking size of char... configure: error: cannot compute sizeof  
> (char),
> 77
> See `config.log' for more details.
>
>
> Unfortunately there is nothing obvious in config.log to indicate what
> the
> problem is.
>
> # uname -a
> SunOS xxxxxxxx 5.9 Generic_118558-39 sun4u sparc SUNW,Sun-Fire-V240
>
> I'm running configure with the following flags
>
> --with-cppflags=-I/usr/local/include --with-ldflags="-L/usr/local/lib
> -W1",-rpath=/usr/local/lib
>
> (have also without any flags with the same result)
>
>
> Any ideas or guidance on how to find out what is wrong regarding this?
>
> 	Rgds.,
>
> 		Nick.
>
>
>
> % ./configure --with-cppflags=-I/usr/local/include
> --with-ldflags="-L/usr/local/lib -W1",-rpath=/usr/local/lib
> 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 build system type... sparc-sun-solaris2.9
> checking host system type... sparc-sun-solaris2.9
> checking whether byte ordering is bigendian... yes
> checking how to run the C preprocessor... gcc -E
> checking for ranlib... ranlib
> checking for a BSD-compatible install... ./install-sh -c
> checking whether ln -s works... yes
> checking for bison... no
> checking for byacc... no
> checking for flex... flex
> checking for yywrap in -lfl... yes
> checking lex output file root... lex.yy
> checking whether yytext is a pointer... no
> checking for ar... /usr/ccs/bin/ar
> checking for perl5... no
> checking for perl... /bin/perl
> checking for inline... inline
> checking for gethostbyaddr in -lnsl... yes
> checking for socket in -lsocket... yes
> checking for dlopen in -ldl... yes
> checking for SP_connect in -lsp... no
> checking for SP_connect in -lspread... yes
> checking for strftime... yes
> checking features.h usability... no
> checking features.h presence... no
> checking for features.h... no
> checking pcap.h usability... no
> checking pcap.h presence... no
> checking for pcap.h... no
> checking net/ethernet.h usability... no
> checking net/ethernet.h presence... no
> checking for net/ethernet.h... no
> checking netinet/if_ether.h usability... no
> checking netinet/if_ether.h presence... yes
> configure: WARNING: netinet/if_ether.h: present but cannot be compiled
> configure: WARNING: netinet/if_ether.h:     check for missing
> prerequisite heade
> rs?
> configure: WARNING: netinet/if_ether.h: see the Autoconf documentation
> configure: WARNING: netinet/if_ether.h:     section "Present But  
> Cannot
> Be Compi
> led"
> configure: WARNING: netinet/if_ether.h: proceeding with the
> preprocessor's resul
> t
> configure: WARNING: netinet/if_ether.h: in the future, the compiler  
> will
> take pr
> ecedence
> configure: WARNING:     ##  
> ------------------------------------------ ##
> configure: WARNING:     ## Report this to the AC_PACKAGE_NAME  
> lists.  ##
> configure: WARNING:     ##  
> ------------------------------------------ ##
> checking for netinet/if_ether.h... yes
> checking net/if_dl.h usability... no
> checking net/if_dl.h presence... yes
> configure: WARNING: net/if_dl.h: present but cannot be compiled
> configure: WARNING: net/if_dl.h:     check for missing prerequisite
> headers?
> configure: WARNING: net/if_dl.h: see the Autoconf documentation
> configure: WARNING: net/if_dl.h:     section "Present But Cannot Be
> Compiled"
> configure: WARNING: net/if_dl.h: proceeding with the preprocessor's
> result
> configure: WARNING: net/if_dl.h: in the future, the compiler will take
> precedenc
> e
> configure: WARNING:     ##  
> ------------------------------------------ ##
> configure: WARNING:     ## Report this to the AC_PACKAGE_NAME  
> lists.  ##
> configure: WARNING:     ##  
> ------------------------------------------ ##
> checking for net/if_dl.h... yes
> checking net/if.h usability... no
> checking net/if.h presence... yes
> configure: WARNING: net/if.h: present but cannot be compiled
> configure: WARNING: net/if.h:     check for missing prerequisite
> headers?
> configure: WARNING: net/if.h: see the Autoconf documentation
> configure: WARNING: net/if.h:     section "Present But Cannot Be
> Compiled"
> configure: WARNING: net/if.h: proceeding with the preprocessor's  
> result
> configure: WARNING: net/if.h: in the future, the compiler will take
> precedence
> configure: WARNING:     ##  
> ------------------------------------------ ##
> configure: WARNING:     ## Report this to the AC_PACKAGE_NAME  
> lists.  ##
> configure: WARNING:     ##  
> ------------------------------------------ ##
> checking for net/if.h... yes
> checking net/if_types.h usability... yes
> checking net/if_types.h presence... yes
> checking for net/if_types.h... yes
> checking net/route.h usability... no
> checking net/route.h presence... yes
> configure: WARNING: net/route.h: present but cannot be compiled
> configure: WARNING: net/route.h:     check for missing prerequisite
> headers?
> configure: WARNING: net/route.h: see the Autoconf documentation
> configure: WARNING: net/route.h:     section "Present But Cannot Be
> Compiled"
> configure: WARNING: net/route.h: proceeding with the preprocessor's
> result
> configure: WARNING: net/route.h: in the future, the compiler will take
> precedenc
> e
> configure: WARNING:     ##  
> ------------------------------------------ ##
> configure: WARNING:     ## Report this to the AC_PACKAGE_NAME  
> lists.  ##
> configure: WARNING:     ##  
> ------------------------------------------ ##
> checking for net/route.h... yes
> checking sys/ioctl.h usability... yes
> checking sys/ioctl.h presence... yes
> checking for sys/ioctl.h... yes
> checking arpa/inet.h usability... yes
> checking arpa/inet.h presence... yes
> checking for arpa/inet.h... yes
> checking assert.h usability... yes
> checking assert.h presence... yes
> checking for assert.h... yes
> checking errno.h usability... yes
> checking errno.h presence... yes
> checking for errno.h... yes
> checking grp.h usability... yes
> checking grp.h presence... yes
> checking for grp.h... yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking sys/resource.h usability... yes
> checking sys/resource.h presence... yes
> checking for sys/resource.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 netinet/tcp.h usability... no
> checking netinet/tcp.h presence... yes
> configure: WARNING: netinet/tcp.h: present but cannot be compiled
> configure: WARNING: netinet/tcp.h:     check for missing prerequisite
> headers?
> configure: WARNING: netinet/tcp.h: see the Autoconf documentation
> configure: WARNING: netinet/tcp.h:     section "Present But Cannot Be
> Compiled"
> configure: WARNING: netinet/tcp.h: proceeding with the preprocessor's
> result
> configure: WARNING: netinet/tcp.h: in the future, the compiler will  
> take
> precede
> nce
> configure: WARNING:     ##  
> ------------------------------------------ ##
> configure: WARNING:     ## Report this to the AC_PACKAGE_NAME  
> lists.  ##
> configure: WARNING:     ##  
> ------------------------------------------ ##
> checking for netinet/tcp.h... yes
> checking pwd.h usability... yes
> checking pwd.h presence... yes
> checking for pwd.h... yes
> checking signal.h usability... yes
> checking signal.h presence... yes
> checking for signal.h... yes
> checking stdarg.h usability... yes
> checking stdarg.h presence... yes
> checking for stdarg.h... yes
> checking stdint.h usability... no
> checking stdint.h presence... no
> checking for stdint.h... no
> checking stdio.h usability... yes
> checking stdio.h presence... yes
> checking for stdio.h... yes
> checking stdlib.h usability... yes
> checking stdlib.h presence... yes
> checking for stdlib.h... yes
> checking string.h usability... yes
> checking string.h presence... yes
> checking for string.h... yes
> checking ctype.h usability... yes
> checking ctype.h presence... yes
> checking for ctype.h... yes
> checking stropts.h usability... yes
> checking stropts.h presence... yes
> checking for stropts.h... yes
> checking sys/inttypes.h usability... yes
> checking sys/inttypes.h presence... yes
> checking for sys/inttypes.h... yes
> checking for sys/ioctl.h... (cached) yes
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking sys/stat.h usability... yes
> checking sys/stat.h presence... yes
> checking for sys/stat.h... yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking sys/timeb.h usability... yes
> checking sys/timeb.h presence... yes
> checking for sys/timeb.h... yes
> checking sys/types.h usability... yes
> checking sys/types.h presence... yes
> checking for sys/types.h... yes
> checking sys/wait.h usability... yes
> checking sys/wait.h presence... yes
> checking for sys/wait.h... yes
> checking sys/uio.h usability... yes
> checking sys/uio.h presence... yes
> checking for sys/uio.h... yes
> checking sys/un.h usability... yes
> checking sys/un.h presence... yes
> checking for sys/un.h... yes
> checking sys/sysctl.h usability... no
> checking sys/sysctl.h presence... no
> checking for sys/sysctl.h... no
> checking time.h usability... yes
> checking time.h presence... yes
> checking for time.h... yes
> checking unistd.h usability... yes
> checking unistd.h presence... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking strings.h usability... yes
> checking strings.h presence... yes
> checking for strings.h... yes
> checking sys/sockio.h usability... yes
> checking sys/sockio.h presence... yes
> checking for sys/sockio.h... yes
> checking sys/dlpi.h usability... yes
> checking sys/dlpi.h presence... yes
> checking for sys/dlpi.h... yes
> checking net/bpf.h usability... no
> checking net/bpf.h presence... no
> checking for net/bpf.h... no
> checking sys/filio.h usability... yes
> checking sys/filio.h presence... yes
> checking for sys/filio.h... yes
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking netinet/in_systm.h usability... yes
> checking netinet/in_systm.h presence... yes
> checking for netinet/in_systm.h... yes
> checking netinet/ip.h usability... no
> checking netinet/ip.h presence... yes
> configure: WARNING: netinet/ip.h: present but cannot be compiled
> configure: WARNING: netinet/ip.h:     check for missing prerequisite
> headers?
> configure: WARNING: netinet/ip.h: see the Autoconf documentation
> configure: WARNING: netinet/ip.h:     section "Present But Cannot Be
> Compiled"
> configure: WARNING: netinet/ip.h: proceeding with the preprocessor's
> result
> configure: WARNING: netinet/ip.h: in the future, the compiler will  
> take
> preceden
> ce
> configure: WARNING:     ##  
> ------------------------------------------ ##
> configure: WARNING:     ## Report this to the AC_PACKAGE_NAME  
> lists.  ##
> configure: WARNING:     ##  
> ------------------------------------------ ##
> checking for netinet/ip.h... yes
> checking termios.h usability... yes
> checking termios.h presence... yes
> checking for termios.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking sp.h usability... yes
> checking sp.h presence... yes
> checking for sp.h... yes
> checking for bcopy... yes
> checking for inet_aton... no
> checking for inet_ntoa... yes
> checking for inet_ntop... yes
> checking for memmove... yes
> checking for setsid... yes
> checking for snprintf... yes
> checking for strerror... yes
> checking for lrand48... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking whether snprintf correctly terminates long strings... no
> configure: WARNING: ****** Your snprintf() function is broken,  
> complain
> to your
> vendor
> checking for char... yes
> checking size of char... configure: error: cannot compute sizeof  
> (char),
> 77
> See `config.log' for more details.
>
> _______________________________________________
> wackamole-users mailing list
> [email protected]
> http://lists.backhand.org/mailman/listinfo/wackamole-users

// Theo Schlossnagle
// Principal@OmniTI: http://omniti.com
// Esoteric Curio: http://www.lethargy.org/~jesus/