[erlang-bugs] Erlang otpR16B03 will not compile on centos 6.4 64 bit

What Name edwardt.tril@REDACTED
Thu Dec 19 00:09:58 CET 2013


Compilation under CEntos 6.x has been not goiing well since R16 is
released, since a lot cof companies are using CEntos as production and not
ubuntu. Can more resource be spent to make sure it works?

Step: autoconf, then ru configure

configure:5440: error: /opt/otp-OTP_R16B03/erts/autoconf/configure failed
for erts.

./configure --prefix=/opt/erlangR16B03 --enable-threads
--enable-smp-support --with-termcap --enable-kernel-poll --enable-sctp
--disable-hipe --enable-native-libs --enable-shared-zlib --enable-m64-build
--without-dynamic-trace --with-ssl --disable-vm-probes --without-javac
--enable-megaco_reentrant_flex_scanner

Full trace:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.63.  Invocation command line was

  $ ./configure --prefix=/opt/erlangR16B03 --enable-threads
--enable-smp-support --with-termcap --enable-kernel-poll --enable-sctp
--disable-hipe --enable-native-libs --enable-shared-zlib --enable-m64-build
--without-dynamic-trace --with-ssl --disable-vm-probes --without-javac
--enable-megaco_reentrant_flex_scanner

## --------- ##
## Platform. ##
## --------- ##

hostname = chat64.ejabberddev.localdomain
uname -m = x86_64
uname -r = 2.6.32-358.23.2.el6.x86_64
uname -s = Linux
uname -v = #1 SMP Wed Oct 16 18:37:12 UTC 2013

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib64/qt-3.3/bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /opt/nodebin/bin
PATH: /opt/jdk1.7.0_25/bin
PATH: /opt/erlangR16B02/lib/erlang/bin
PATH: /root/bin
PATH: /opt/nodebin/bin
PATH: /opt/jdk1.7.0_25/bin
PATH: /opt/erlangR16B02/lib/erlang/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2110: checking build system type
configure:2128: result: x86_64-unknown-linux-gnu
configure:2150: checking host system type
configure:2165: result: x86_64-unknown-linux-gnu
configure:2270: checking for gcc
configure:2286: found /usr/bin/gcc
configure:2297: result: gcc
configure:2529: checking for C compiler version
configure:2537: gcc --version >&5
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2541: $? = 0
configure:2548: gcc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla--enable-bootstrap
--enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
configure:2552: $? = 0
configure:2559: gcc -V >&5
gcc: '-V' option must have argument
configure:2563: $? = 1
configure:2586: checking for C compiler default output file name
configure:2608: gcc    conftest.c  >&5
configure:2612: $? = 0
configure:2650: result: a.out
configure:2669: checking whether the C compiler works
configure:2679: ./a.out
configure:2683: $? = 0
configure:2702: result: yes
configure:2709: checking whether we are cross compiling
configure:2711: result: no
configure:2714: checking for suffix of executables
configure:2721: gcc -o conftest    conftest.c  >&5
configure:2725: $? = 0
configure:2751: result:
configure:2757: checking for suffix of object files
configure:2783: gcc -c   conftest.c >&5
configure:2787: $? = 0
configure:2812: result: o
configure:2816: checking whether we are using the GNU C compiler
configure:2845: gcc -c   conftest.c >&5
configure:2852: $? = 0
configure:2869: result: yes
configure:2878: checking whether gcc accepts -g
configure:2908: gcc -c -g  conftest.c >&5
configure:2915: $? = 0
configure:3016: result: yes
configure:3033: checking for gcc option to accept ISO C89
configure:3107: gcc  -c -g -O2  conftest.c >&5
configure:3114: $? = 0
configure:3137: result: none needed
configure:3213: checking for g++
configure:3229: found /usr/bin/g++
configure:3240: result: g++
configure:3267: checking for C++ compiler version
configure:3275: g++ --version >&5
g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3279: $? = 0
configure:3286: g++ -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla--enable-bootstrap
--enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
configure:3290: $? = 0
configure:3297: g++ -V >&5
g++: '-V' option must have argument
configure:3301: $? = 1
configure:3304: checking whether we are using the GNU C++ compiler
configure:3333: g++ -c   conftest.cpp >&5
configure:3340: $? = 0
configure:3357: result: yes
configure:3366: checking whether g++ accepts -g
configure:3396: g++ -c -g  conftest.cpp >&5
configure:3403: $? = 0
configure:3504: result: yes
configure:3570: checking for ld
configure:3586: found /usr/bin/ld
configure:3597: result: ld
configure:3623: checking for GNU make
configure:3661: result: yes (make)
configure:3681: checking for a BSD-compatible install
configure:3749: result: /usr/bin/install -c
configure:3767: checking whether ln -s works
configure:3771: result: yes
configure:3821: checking for ranlib
configure:3837: found /usr/bin/ranlib
configure:3848: result: ranlib
configure:3874: checking ERTS version
configure:3877: result: 5.10.4
configure:3881: checking OTP release
configure:3884: result: R16B03
configure:4281: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.63.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on chat64.ejabberddev.localdomain

config.status:698: creating Makefile
config.status:845: WARNING:  'Makefile.in' seems to ignore the
--datarootdir setting
config.status:698: creating make/output.mk
config.status:698: creating make/emd2exml
configure:5332: === configuring in lib (/opt/otp-OTP_R16B03/lib)
configure:5421: WARNING: no configuration information is in lib
configure:5332: === configuring in erts (/opt/otp-OTP_R16B03/erts)
configure:5435: running /bin/sh /opt/otp-OTP_R16B03/erts/autoconf/configure
--disable-option-checking '--prefix=/opt/erlangR16B03'  '--enable-threads'
'--enable-smp-support' '--with-termcap' '--enable-kernel-poll'
'--enable-sctp' '--disable-hipe' '--enable-native-libs'
'--enable-shared-zlib' '--enable-m64-build' '--without-dynamic-trace'
'--with-ssl' '--disable-vm-probes' '--without-javac'
'--enable-megaco_reentrant_flex_scanner' --cache-file=/dev/null
--srcdir=/opt/otp-OTP_R16B03/erts
configure:5440: error: /opt/otp-OTP_R16B03/erts/autoconf/configure failed
for erts

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CFLAG_RUNTIME_LIBRARY_PATH_set=
ac_cv_env_CFLAG_RUNTIME_LIBRARY_PATH_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DED_LDFLAGS_set=
ac_cv_env_DED_LDFLAGS_value=
ac_cv_env_DED_LD_FLAG_RUNTIME_LIBRARY_PATH_set=
ac_cv_env_DED_LD_FLAG_RUNTIME_LIBRARY_PATH_value=
ac_cv_env_DED_LD_set=
ac_cv_env_DED_LD_value=
ac_cv_env_ERL_TOP_set=
ac_cv_env_ERL_TOP_value=
ac_cv_env_GETCONF_set=
ac_cv_env_GETCONF_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LFS_CFLAGS_set=
ac_cv_env_LFS_CFLAGS_value=
ac_cv_env_LFS_LDFLAGS_set=
ac_cv_env_LFS_LDFLAGS_value=
ac_cv_env_LFS_LIBS_set=
ac_cv_env_LFS_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_STATIC_CFLAGS_set=
ac_cv_env_STATIC_CFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_erl_xcomp_after_morecore_hook_set=
ac_cv_env_erl_xcomp_after_morecore_hook_value=
ac_cv_env_erl_xcomp_bigendian_set=
ac_cv_env_erl_xcomp_bigendian_value=
ac_cv_env_erl_xcomp_clock_gettime_cpu_time_set=
ac_cv_env_erl_xcomp_clock_gettime_cpu_time_value=
ac_cv_env_erl_xcomp_dlsym_brk_wrappers_set=
ac_cv_env_erl_xcomp_dlsym_brk_wrappers_value=
ac_cv_env_erl_xcomp_double_middle_endian_set=
ac_cv_env_erl_xcomp_double_middle_endian_value=
ac_cv_env_erl_xcomp_getaddrinfo_set=
ac_cv_env_erl_xcomp_getaddrinfo_value=
ac_cv_env_erl_xcomp_gethrvtime_procfs_ioctl_set=
ac_cv_env_erl_xcomp_gethrvtime_procfs_ioctl_value=
ac_cv_env_erl_xcomp_isysroot_set=
ac_cv_env_erl_xcomp_isysroot_value=
ac_cv_env_erl_xcomp_kqueue_set=
ac_cv_env_erl_xcomp_kqueue_value=
ac_cv_env_erl_xcomp_linux_clock_gettime_correction_set=
ac_cv_env_erl_xcomp_linux_clock_gettime_correction_value=
ac_cv_env_erl_xcomp_linux_nptl_set=
ac_cv_env_erl_xcomp_linux_nptl_value=
ac_cv_env_erl_xcomp_linux_usable_sigaltstack_set=
ac_cv_env_erl_xcomp_linux_usable_sigaltstack_value=
ac_cv_env_erl_xcomp_linux_usable_sigusrx_set=
ac_cv_env_erl_xcomp_linux_usable_sigusrx_value=
ac_cv_env_erl_xcomp_poll_set=
ac_cv_env_erl_xcomp_poll_value=
ac_cv_env_erl_xcomp_putenv_copy_set=
ac_cv_env_erl_xcomp_putenv_copy_value=
ac_cv_env_erl_xcomp_reliable_fpe_set=
ac_cv_env_erl_xcomp_reliable_fpe_value=
ac_cv_env_erl_xcomp_sysroot_set=
ac_cv_env_erl_xcomp_sysroot_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_LD=ld
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR=''
BOOTSTRAP_ONLY='no'
CC='gcc'
CFLAGS='-m64 -g -O2'
CFLAG_RUNTIME_LIBRARY_PATH=''
CPP=''
CPPFLAGS=''
CROSS_COMPILING='no'
CXX='g++'
CXXFLAGS='-g -O2'
DED_LD=''
DED_LDFLAGS=''
DED_LD_FLAG_RUNTIME_LIBRARY_PATH=''
DEFAULT_VERBOSITY='1'
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ERL_TOP='/opt/otp-OTP_R16B03'
ERTS_VSN='5.10.4'
EXEEXT=''
GETCONF=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='ld'
LDFLAGS='-m64 '
LFS_CFLAGS=''
LFS_LDFLAGS=''
LFS_LIBS=''
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAKE_PROG='make'
NATIVE_LIBS_ENABLED=''
OBJEXT='o'
OTP_REL='R16B03'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
SHELL='/bin/sh'
STATIC_CFLAGS=''
TARGET='x86_64-unknown-linux-gnu'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
erl_xcomp_after_morecore_hook=''
erl_xcomp_bigendian=''
erl_xcomp_clock_gettime_cpu_time=''
erl_xcomp_dlsym_brk_wrappers=''
erl_xcomp_double_middle_endian=''
erl_xcomp_getaddrinfo=''
erl_xcomp_gethrvtime_procfs_ioctl=''
erl_xcomp_isysroot=''
erl_xcomp_kqueue=''
erl_xcomp_linux_clock_gettime_correction=''
erl_xcomp_linux_nptl=''
erl_xcomp_linux_usable_sigaltstack=''
erl_xcomp_linux_usable_sigusrx=''
erl_xcomp_poll=''
erl_xcomp_putenv_copy=''
erl_xcomp_reliable_fpe=''
erl_xcomp_sysroot=''
exec_prefix='${prefix}'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/erlangR16B03'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' lib erts'
sysconfdir='${prefix}/etc'
target_alias=''

configure: exit 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20131218/9418ea7c/attachment.htm>


More information about the erlang-bugs mailing list