Cannot compile Erlang

danner mideann danner.mideann@REDACTED
Fri May 5 08:04:58 CEST 2006


First of all, Hello! First post. I posted this yesterday to
erlang-questions-posters, but I think it didn't work. Sorry if It did
and I'm posting this twice.
------
Hi all,

I downloaded erlang source code (otp_src_R10B-10.tar.gz), unpacked, ./configure'
d it and tried to make it. I get this error (follow output follows the mail):

Makefile.in has been updated, please re-run configure!

Obviously, I ran again configure with same results. My system is an AMD64 + Mand
riva Linux 2006 AMD64.

Already ST*W and found no solition, only this similar mail:
http://www.erlang.org/ml-archive/erlang-questions/200507/msg00430.html
But not exactly same problem. Anyway, I checked if automake & autoconf were up-t
o-date.

This is the full output of configure and make:

** ./configure **

checking host system type... x86_64-unknown-linux-gnu
checking for GNU make... yes (make)
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
creating ./config.status
creating Makefile
configuring in lib
running /bin/sh /tmp/otp_src_R10B-10/lib/configure  --cache-file=.././config.cac
he --srcdir=/tmp/otp_src_R10B-10/lib
creating ./config.status
configuring in erl_interface/.
running /bin/sh /tmp/otp_src_R10B-10/lib/erl_interface/./configure  --cache-file
=../../.././config.cache --srcdir=/tmp/otp_src_R10B-10/lib/erl_interface/.
checking host system type... x86_64-unknown-linux-gnu
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... 8
checking size of void *... 8
checking size of long long... 8
checking for ar... ar
checking for a BSD compatible install... /usr/bin/install -c
checking for gethostbyname in -lnsl... yes
checking for getpeername in -lsocket... no
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/select.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
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 dup2... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostbyaddr_r... yes
checking for gethostbyname_r... yes
checking for gethostname... yes
checking for writev... yes
checking for gethrtime... no
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 for clock_gettime... no
checking for clock_gettime in -lrt... yes
checking for native win32 threads... no
checking for pthread_create in -lpthread... yes
checking for pthread_atfork in -lpthread... yes
checking for pthread.h... yes
checking for pthread/mit/pthread.h... no
checking for Native POSIX Thread Library... yes
checking for nptl/pthread.h... yes
checking for /usr/local/include/nptl/pthread.h... no
checking for /usr/include/nptl/pthread.h... yes
creating ./config.status
creating src/x86_64-unknown-linux-gnu/Makefile
creating src/x86_64-unknown-linux-gnu/eidefs.mk
creating src/x86_64-unknown-linux-gnu/config.h
src/x86_64-unknown-linux-gnu/config.h is unchanged
configuring in gs/.
running /bin/sh /tmp/otp_src_R10B-10/lib/gs/./configure  --cache-file=../../../.
/config.cache --srcdir=/tmp/otp_src_R10B-10/lib/gs/.
checking host system type... x86_64-unknown-linux-gnu
checking for prebuilt tcl/tk in tcl/binaries/x86_64_linux-gnu.tar.gz... not foun
d
creating ./config.status
creating tcl/x86_64-unknown-linux-gnu/Makefile
creating tcl/win32/Makefile
configuring in megaco/.
running /bin/sh /tmp/otp_src_R10B-10/lib/megaco/./configure  --cache-file=../../
.././config.cache --srcdir=/tmp/otp_src_R10B-10/lib/megaco/.
checking host system type... x86_64-unknown-linux-gnu
checking for flex... lex
checking for yywrap in -ll... 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... -shared
checking for perl... perl
creating ./config.status
creating src/flex/x86_64-unknown-linux-gnu/Makefile
configuring in odbc/.
running /bin/sh /tmp/otp_src_R10B-10/lib/odbc/./configure  --cache-file=../../..
/./config.cache --srcdir=/tmp/otp_src_R10B-10/lib/odbc/.
checking host system type... x86_64-unknown-linux-gnu
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 mixed cygwin and native VC++ environment... no
checking whether make sets ${MAKE}... yes
checking for ld.sh... no
checking for ld... ld
checking for pthread_create in -lpthread... yes
checking for odbc in standard locations... no
checking for SQLAllocHandle in -lodbc... no
checking for main in -lodbc32... no
checking for connect... yes
checking for gethostbyname... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for Native POSIX Thread Library... yes
checking for nptl/pthread.h... yes
checking for /usr/local/include/nptl/pthread.h... no
checking for /usr/include/nptl/pthread.h... yes
checking for fcntl.h... yes
checking for netdb.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/socket.h... yes
checking for working const... yes
checking for size_t... yes
checking for memset... yes
checking for socket... yes
creating ./config.status
creating c_src/x86_64-unknown-linux-gnu/Makefile
configuring in snmp/.
running /bin/sh /tmp/otp_src_R10B-10/lib/snmp/./configure  --cache-file=../../..
/./config.cache --srcdir=/tmp/otp_src_R10B-10/lib/snmp/.
checking host system type... x86_64-unknown-linux-gnu
checking for perl... perl
creating ./config.status
creating mibs/Makefile
configuring in erts
running /bin/sh /tmp/otp_src_R10B-10/erts/configure  --cache-file=.././config.ca
che --srcdir=/tmp/otp_src_R10B-10/erts
creating cache .././config.cache
checking host system type... x86_64-unknown-linux-gnu
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... no
checking for byacc... byacc
checking for perl5... /usr/bin/perl5
checking whether ln -s works... yes
checking for ar... ar
checking for rm... /bin/rm
checking for mkdir... /bin/mkdir
checking for a BSD compatible install... /usr/bin/install -c
checking how to create a directory including parents... /usr/bin/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... -Wl,-export-dynamic
checking for sin in -lm... yes
checking for dlopen in -ldl... yes
checking for main in -linet... no
checking for native win32 threads... no
checking for pthread_create in -lpthread... yes
checking if SIGUSR1 and SIGUSR2 can be used... yes
checking if sigaltstack can be used... yes
checking for Native POSIX Thread Library... yes
checking for nptl/pthread.h... yes
checking for /usr/local/include/nptl/pthread.h... no
checking for /usr/include/nptl/pthread.h... yes
checking for pthread.h... yes
checking for pthread/mit/pthread.h... no
checking for sys/time.h... yes
checking for pthread_atfork... yes
checking for pthread_mutexattr_settype... yes
checking for pthread_mutexattr_setkind_np... yes
checking whether the emulator should use threads... no; thread support found but
 not requested
checking for tgetent in -lncurses... yes
checking for connect... yes
checking for gethostbyname... yes
checking for gethostbyname_r... yes
checking if netdb.h requires netinet/in.h to be previously included... yes
checking for socklen_t... 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... yes
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... no
checking for sys/stropts.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... (cached) yes
checking for sys/uio.h... yes
checking for sys/sockio.h... no
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 sys/devpoll.h... no
checking for linux/kpoll.h... no
checking for sys/event.h... no
checking for SO_BSDCOMPAT declaration... yes
checking for INADDR_LOOPBACK in netinet/in.h... yes
checking for sys_errlist declaration in stdio.h or errno.h... yes
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 char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of void *... 8
checking size of long long... 8
checking size of size_t... 8
checking size of off_t... 8
checking int/long/void*/size_t sizes... ok
checking whether byte ordering is bigendian... no
checking for getipnodebyname... no
checking for getipnodebyaddr... no
checking for ieee_handler... no
checking for fpsetmask... no
checking for finite... yes
checking for isnan... yes
checking for isinf... yes
checking for res_gethostbyname... no
checking for dlopen... yes
checking for pread... yes
checking for pwrite... yes
checking for writev... yes
checking for memmove... yes
checking for strerror... yes
checking for strerror_r... yes
checking for strncasecmp... yes
checking for gethrtime... no
checking for localtime_r... yes
checking for gmtime_r... yes
checking for mremap... yes
checking for memcpy... yes
checking for mallopt... yes
checking whether setvbuf arguments are reversed... no
checking for vfork.h... no
checking for working vfork... yes
checking for vprintf... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for conflicting declaration of fread... yes
checking for IP version 6 support... yes
checking for multicast support... yes
checking how to correct for time adjustments... times
checking for unreliable floating point execptions... reliable
checking if gethrvtime works and how to use it... not working
checking if clock_gettime works... using clock_gettime
checking whether to redefine FD_SETSIZE... no
checking for vperfctr_info in -lperfctr... no
checking for working poll()... ok
checking for compiler flags for loadable drivers... -g -O2 -I/tmp/otp_src_R10B-1
0/erts/x86_64-unknown-linux-gnu    -D_GNU_SOURCE  -fPIC
checking for linker for loadable drivers... ld
checking for linker flags for loadable drivers... -shared
checking for 'runtime library path' linker flag... -R
checking for a compiler that handles jumptables... gcc
checking for OpenSSL >= 0.9.7 in standard locations... /usr
checking for OpenSSL kerberos 5 support... no
checking for kstat_open in -lkstat... no
checking for javac.sh... no
checking for javac... javac
checking for JDK version 1.2... yes
checking for c++... c++
updating cache .././config.cache
creating ./config.status
creating emulator/x86_64-unknown-linux-gnu/Makefile
creating emulator/zlib/x86_64-unknown-linux-gnu/Makefile
creating epmd/src/x86_64-unknown-linux-gnu/Makefile
creating etc/common/x86_64-unknown-linux-gnu/Makefile
creating include/internal/x86_64-unknown-linux-gnu/ethread.mk
creating lib_src/x86_64-unknown-linux-gnu/Makefile
creating ../make/x86_64-unknown-linux-gnu/otp.mk
creating ../lib/ic/c_src/x86_64-unknown-linux-gnu/Makefile
creating ../lib/os_mon/c_src/x86_64-unknown-linux-gnu/Makefile
creating ../lib/ssl/c_src/x86_64-unknown-linux-gnu/Makefile
creating ../lib/ssl/examples/certs/x86_64-unknown-linux-gnu/Makefile
creating ../lib/crypto/c_src/x86_64-unknown-linux-gnu/Makefile
creating ../lib/orber/c_src/x86_64-unknown-linux-gnu/Makefile
creating ../lib/runtime_tools/c_src/x86_64-unknown-linux-gnu/Makefile
creating ../lib/asn1/c_src/x86_64-unknown-linux-gnu/Makefile
creating x86_64-unknown-linux-gnu/config.h
x86_64-unknown-linux-gnu/config.h is unchanged
creating include/internal/x86_64-unknown-linux-gnu/ethread_header_config.h
include/internal/x86_64-unknown-linux-gnu/ethread_header_config.h is unchanged
*********************************************************************
**********************  APPLICATIONS DISABLED  **********************
*********************************************************************

odbc           : No odbc library found

*********************************************************************

** make **

cd erts/emulator && ERL_TOP=/tmp/otp_src_R10B-10 make generate depend
make[1]: Entering directory `/tmp/otp_src_R10B-10/erts/emulator'
make -f x86_64-unknown-linux-gnu/Makefile generate
make[2]: Entering directory `/tmp/otp_src_R10B-10/erts/emulator'

Makefile.in has been updated, please re-run configure!

make[2]: *** [x86_64-unknown-linux-gnu/Makefile] Error 1
make[2]: Leaving directory `/tmp/otp_src_R10B-10/erts/emulator'
make[1]: *** [generate] Error 2



Any ideas? Thanks in advance.

Dani.-



More information about the erlang-questions mailing list