Problem's installing R9C-0

DANIESC SCHUTTE DANIESC.SCHUTTE@REDACTED
Wed Sep 10 15:42:16 CEST 2003


forgot the most important information :) :

Sun Ultra 5, Solaris 8 Sparc
gcc 2.95.2


>>> Raimo Niskanen <raimo@REDACTED> 09/10/03 03:18PM >>>
What kind of machine are you installing on?

It seems as the configure script (using the autoconf macro 
AC_CHECK_SIZEOF) cannot determine the size of neither of "short, int, 
long, void *, long long, size_t, off_t". This means that it somehow 
failed to compile and run a little test program that prints 
"sizeof(TYPE)" to a temporary file and parse the result.

Very strange. This is a standard configure script macro, they usually 
perform well.

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



DANIESC SCHUTTE wrote:
> Morning all,
> 
> when trying to install R9C-0 I get the following error - please check the attached install.txt file.
> 
> Any suggestions?
> 
> 
> #####################################################################################
> The information contained in this message and or attachments is intended
> only for the person or entity to which it is addressed and may contain
> confidential and/or privileged material.  Any review, retransmission,
> dissemination or other use of, or taking of any action in reliance upon,
> this information by persons or entities other than the intended recipient
> is prohibited. If you received this in error, please contact the sender and
> delete the material from any system and destroy all copies.
> #####################################################################################
> 
> 
> ------------------------------------------------------------------------
> 
> bash-2.03# ./configure
> checking host system type... sparc-sun-solaris2.8
> checking for GNU make... yes (gmake)
> checking for a BSD compatible install... /opt/sfw/bin/ginstall -c
> checking whether ln -s works... yes
> checking for ranlib... ranlib
> creating ./config.status
> creating Makefile
> configuring in lib
> running /bin/sh /export/home/local/otp_src_R9C-0/lib/configure  --cache-file=.././config.cache --srcdir=/export/home/local/otp_src_R9C-0/lib
> creating ./config.status
> configuring in erl_interface/.
> running /bin/sh /export/home/local/otp_src_R9C-0/lib/erl_interface/./configure  --cache-file=../../.././config.cache --srcdir=/export/home/local/otp_src_R9C-0/lib/erl_interface/.
> checking host system type... sparc-sun-solaris2.8
> 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 how to run the C preprocessor... gcc -E
> checking for ranlib... ranlib
> checking size of short... 2
> checking size of int... 4
> checking size of long... 4
> checking size of void *... 4
> checking size of long long... 8
> checking for ar... ar
> checking for a BSD compatible install... /opt/sfw/bin/ginstall -c
> checking for gethostbyname in -lnsl... yes
> checking for getpeername in -lsocket... yes
> checking for ANSI C header files... yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking for arpa/inet.h... yes
> checking for fcntl.h... yes
> checking for limits.h... yes
> checking for malloc.h... yes
> checking for netdb.h... yes
> checking for netinet/in.h... yes
> checking for stddef.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for sys/param.h... yes
> checking for sys/socket.h... yes
> checking for sys/time.h... yes
> checking for unistd.h... yes
> checking for pthread.h... yes
> checking for pthread/mit/pthread.h... no
> checking for uid_t in sys/types.h... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for working alloca.h... yes
> checking for alloca... yes
> checking whether gcc needs -traditional... no
> checking for 8-bit clean memcmp... yes
> checking for clock_gettime... no
> checking for dup2... yes
> checking for gethostbyaddr... yes
> checking for gethostbyname... yes
> checking for gethostbyname_r... yes
> checking for gethostname... yes
> checking for writev... yes
> checking for gethrtime... yes
> checking for gettimeofday... yes
> checking for inet_ntoa... yes
> checking for memchr... yes
> checking for memmove... yes
> checking for memset... yes
> checking for select... yes
> checking for socket... yes
> checking for strchr... yes
> checking for strerror... yes
> checking for strrchr... yes
> checking for strstr... yes
> checking for uname... yes
> checking for res_gethostbyname... no
> checking for res_gethostbyname in -lresolv... yes
> checking if native win32 threads should be used... no
> creating ./config.status
> creating src/sparc-sun-solaris2.8/Makefile
> creating src/sparc-sun-solaris2.8/config.h
> src/sparc-sun-solaris2.8/config.h is unchanged
> configuring in gs/.
> running /bin/sh /export/home/local/otp_src_R9C-0/lib/gs/./configure  --cache-file=../../.././config.cache --srcdir=/export/home/local/otp_src_R9C-0/lib/gs/.
> checking host system type... sparc-sun-solaris2.8
> checking for prebuilt tcl/tk in tcl/binaries/sparc_solaris2.tar.gz... not found
> creating ./config.status
> creating tcl/sparc-sun-solaris2.8/Makefile
> creating tcl/win32/Makefile
> configuring in megaco/.
> running /bin/sh /export/home/local/otp_src_R9C-0/lib/megaco/./configure  --cache-file=../../.././config.cache --srcdir=/export/home/local/otp_src_R9C-0/lib/megaco/.
> checking host system type... sparc-sun-solaris2.8
> checking for flex... flex
> checking for yywrap in -lfl... no
> 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 ld.sh... no
> checking for ld... ld
> checking for linker flags for loadable drivers... -G
> checking for perl... perl
> creating ./config.status
> creating src/flex/sparc-sun-solaris2.8/Makefile
> configuring in snmp/.
> running /bin/sh /export/home/local/otp_src_R9C-0/lib/snmp/./configure  --cache-file=../../.././config.cache --srcdir=/export/home/local/otp_src_R9C-0/lib/snmp/.
> checking host system type... sparc-sun-solaris2.8
> checking for perl... perl
> creating ./config.status
> creating mibs/Makefile
> configuring in erts
> running /bin/sh /export/home/local/otp_src_R9C-0/erts/configure  --cache-file=.././config.cache --srcdir=/export/home/local/otp_src_R9C-0/erts
> loading cache .././config.cache
> checking host system type... sparc-sun-solaris2.8
> 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 POSIXized ISC... no
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc -g -O2 ) works... yes
> checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for mixed cygwin and native VC++ environment... no
> checking how to run the C preprocessor... gcc -E
> checking for ranlib... ranlib
> checking for bison... bison -y
> checking for perl5... no
> checking for perl... /usr/bin/perl
> checking whether ln -s works... yes
> checking for ar... ar
> checking for a BSD compatible install... /usr/ucb/install -c
> checking how to create a directory including parents... /usr/ucb/install -c -d
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking for executable suffix... no
> checking for object suffix... o
> checking for extra flags needed to export symbols... none
> none
> checking for sin in -lm... yes
> checking for dlopen in -ldl... yes
> checking for main in -linet... no
> checking for main in -lresolv... yes
> checking for tgetent in -lncurses... yes
> checking for connect... no
> checking for main in -lsocket... yes
> checking for gethostbyname... no
> checking for main in -lnsl... yes
> checking for gethostbyname_r... yes
> checking if netdb.h requires netinet/in.h to be previously included... yes
> checking for getipnodebyname... yes
> checking for getipnodebyaddr... yes
> checking for h_errno declaration in netdb.h... yes
> checking for dirent.h that defines DIR... yes
> checking for opendir in -ldir... no
> checking for ANSI C header files... no
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for fcntl.h... yes
> checking for limits.h... yes
> checking for unistd.h... yes
> checking for syslog.h... yes
> checking for dlfcn.h... yes
> checking for ieeefp.h... yes
> checking for thread.h... yes
> checking for pthread.h... yes
> checking for poll.h... yes
> checking for sys/stropts.h... yes
> checking for sys/ioctl.h... yes
> checking for sys/time.h... yes
> checking for sys/uio.h... yes
> checking for sys/sockio.h... yes
> checking for sys/socketio.h... no
> checking for net/errno.h... no
> checking for malloc.h... yes
> checking for mach-o/dyld.h... no
> checking for arpa/nameser.h... yes
> checking for pthread/mit/pthread.h... no
> checking for sys/devpoll.h... yes
> checking for linux/kpoll.h... no
> checking for sys/event.h... no
> checking for SO_BSDCOMPAT declaration... no
> checking for INADDR_LOOPBACK in netinet/in.h... yes
> checking for sys_errlist declaration in stdio.h or errno.h... no
> checking for working const... yes
> checking return type of signal handlers... void
> checking for off_t... yes
> 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 whether struct sockaddr has sa_len field... no
> checking for struct exception (and matherr function)... yes
> checking size of short... 0
> checking size of int... 0
> checking size of long... 0
> checking size of void *... 0
> checking size of long long... 0
> checking size of size_t... 0
> checking size of off_t... 0
> checking int/long/void*/size_t sizes... failed
> configure: error: Cannot handle this combination of int/long/void*/size_t sizes
> configure: error: /export/home/local/otp_src_R9C-0/erts/configure failed for erts

#####################################################################################
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy all copies.
#####################################################################################



More information about the erlang-questions mailing list