<div dir="ltr">I compile Erlang on many differing CentOS machines and have had no compilation errors.  Despite that, I tried following your steps exactly on both an Ubuntu 12.04 and CentOS 6.4 machine and could not reproduce your error, even using the flags you provided.<div>
<br></div><div>-Jared</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 18, 2013 at 4:09 PM, What Name <span dir="ltr"><<a href="mailto:edwardt.tril@gmail.com" target="_blank">edwardt.tril@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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?<br>

</div><div><br>Step: autoconf, then ru configure <br><br>configure:5440: error: /opt/otp-OTP_R16B03/erts/autoconf/configure failed for erts. <br><br>./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<br>

<br></div>Full trace:<br>This file contains any messages produced by compilers while<br>running configure, to aid debugging if configure makes a mistake.<br><br>It was created by configure, which was<br>generated by GNU Autoconf 2.63.  Invocation command line was<br>

<br>  $ ./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<br>

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

<br>/usr/bin/uname -p = unknown<br>/bin/uname -X     = unknown<br><br>/bin/arch              = x86_64<br>/usr/bin/arch -k       = unknown<br>/usr/convex/getsysinfo = unknown<br>/usr/bin/hostinfo      = unknown<br>/bin/machine           = unknown<br>

/usr/bin/oslevel       = unknown<br>/bin/universe          = unknown<br><br>PATH: /usr/lib64/qt-3.3/bin<br>PATH: /usr/local/sbin<br>PATH: /usr/sbin<br>PATH: /sbin<br>PATH: /usr/local/bin<br>PATH: /usr/bin<br>PATH: /bin<br>

PATH: /opt/nodebin/bin<br>PATH: /opt/jdk1.7.0_25/bin<br>PATH: /opt/erlangR16B02/lib/erlang/bin<br>PATH: /root/bin<br>PATH: /opt/nodebin/bin<br>PATH: /opt/jdk1.7.0_25/bin<br>PATH: /opt/erlangR16B02/lib/erlang/bin<br><br><br>

## ----------- ##<br>## Core tests. ##<br>## ----------- ##<br><br>configure:2110: checking build system type<br>configure:2128: result: x86_64-unknown-linux-gnu<br>configure:2150: checking host system type<br>configure:2165: result: x86_64-unknown-linux-gnu<br>

configure:2270: checking for gcc<br>configure:2286: found /usr/bin/gcc<br>configure:2297: result: gcc<br>configure:2529: checking for C compiler version<br>configure:2537: gcc --version >&5<br>gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)<br>

Copyright (C) 2010 Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions.  There is NO<br>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br><br>configure:2541: $? = 0<br>

configure:2548: gcc -v >&5<br>Using built-in specs.<br>Target: x86_64-redhat-linux<br>Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=<a href="http://bugzilla.redhat.com/bugzilla" target="_blank">http://bugzilla.redhat.com/bugzilla</a> --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<br>

Thread model: posix<br>gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) <br>configure:2552: $? = 0<br>configure:2559: gcc -V >&5<br>gcc: '-V' option must have argument<br>configure:2563: $? = 1<br>configure:2586: checking for C compiler default output file name<br>

configure:2608: gcc    conftest.c  >&5<br>configure:2612: $? = 0<br>configure:2650: result: a.out<br>configure:2669: checking whether the C compiler works<br>configure:2679: ./a.out<br>configure:2683: $? = 0<br>configure:2702: result: yes<br>

configure:2709: checking whether we are cross compiling<br>configure:2711: result: no<br>configure:2714: checking for suffix of executables<br>configure:2721: gcc -o conftest    conftest.c  >&5<br>configure:2725: $? = 0<br>

configure:2751: result: <br>configure:2757: checking for suffix of object files<br>configure:2783: gcc -c   conftest.c >&5<br>configure:2787: $? = 0<br>configure:2812: result: o<br>configure:2816: checking whether we are using the GNU C compiler<br>

configure:2845: gcc -c   conftest.c >&5<br>configure:2852: $? = 0<br>configure:2869: result: yes<br>configure:2878: checking whether gcc accepts -g<br>configure:2908: gcc -c -g  conftest.c >&5<br>configure:2915: $? = 0<br>

configure:3016: result: yes<br>configure:3033: checking for gcc option to accept ISO C89<br>configure:3107: gcc  -c -g -O2  conftest.c >&5<br>configure:3114: $? = 0<br>configure:3137: result: none needed<br>configure:3213: checking for g++<br>

configure:3229: found /usr/bin/g++<br>configure:3240: result: g++<br>configure:3267: checking for C++ compiler version<br>configure:3275: g++ --version >&5<br>g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)<br>Copyright (C) 2010 Free Software Foundation, Inc.<br>

This is free software; see the source for copying conditions.  There is NO<br>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br><br>configure:3279: $? = 0<br>configure:3286: g++ -v >&5<br>

Using built-in specs.<br>Target: x86_64-redhat-linux<br>Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=<a href="http://bugzilla.redhat.com/bugzilla" target="_blank">http://bugzilla.redhat.com/bugzilla</a> --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<br>

Thread model: posix<br>gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) <br>configure:3290: $? = 0<br>configure:3297: g++ -V >&5<br>g++: '-V' option must have argument<br>configure:3301: $? = 1<br>configure:3304: checking whether we are using the GNU C++ compiler<br>

configure:3333: g++ -c   conftest.cpp >&5<br>configure:3340: $? = 0<br>configure:3357: result: yes<br>configure:3366: checking whether g++ accepts -g<br>configure:3396: g++ -c -g  conftest.cpp >&5<br>configure:3403: $? = 0<br>

configure:3504: result: yes<br>configure:3570: checking for ld<br>configure:3586: found /usr/bin/ld<br>configure:3597: result: ld<br>configure:3623: checking for GNU make<br>configure:3661: result: yes (make)<br>configure:3681: checking for a BSD-compatible install<br>

configure:3749: result: /usr/bin/install -c<br>configure:3767: checking whether ln -s works<br>configure:3771: result: yes<br>configure:3821: checking for ranlib<br>configure:3837: found /usr/bin/ranlib<br>configure:3848: result: ranlib<br>

configure:3874: checking ERTS version<br>configure:3877: result: 5.10.4<br>configure:3881: checking OTP release<br>configure:3884: result: R16B03<br>configure:4281: creating ./config.status<br><br>## ---------------------- ##<br>

## Running config.status. ##<br>## ---------------------- ##<br><br>This file was extended by config.status, which was<br>generated by GNU Autoconf 2.63.  Invocation command line was<br><br>  CONFIG_FILES    = <br>  CONFIG_HEADERS  = <br>

  CONFIG_LINKS    = <br>  CONFIG_COMMANDS = <br>  $ ./config.status <br><br>on chat64.ejabberddev.localdomain<br><br>config.status:698: creating Makefile<br>config.status:845: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting<br>

config.status:698: creating make/<a href="http://output.mk" target="_blank">output.mk</a><br>config.status:698: creating make/emd2exml<br>configure:5332: === configuring in lib (/opt/otp-OTP_R16B03/lib)<br>configure:5421: WARNING: no configuration information is in lib<br>

configure:5332: === configuring in erts (/opt/otp-OTP_R16B03/erts)<br>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<br>

configure:5440: error: /opt/otp-OTP_R16B03/erts/autoconf/configure failed for erts<br><br>## ---------------- ##<br>## Cache variables. ##<br>## ---------------- ##<br><br>ac_cv_build=x86_64-unknown-linux-gnu<br>ac_cv_c_compiler_gnu=yes<br>

ac_cv_cxx_compiler_gnu=yes<br>ac_cv_env_AR_set=<br>ac_cv_env_AR_value=<br>ac_cv_env_CCC_set=<br>ac_cv_env_CCC_value=<br>ac_cv_env_CC_set=<br>ac_cv_env_CC_value=<br>ac_cv_env_CFLAGS_set=<br>ac_cv_env_CFLAGS_value=<br>ac_cv_env_CFLAG_RUNTIME_LIBRARY_PATH_set=<br>

ac_cv_env_CFLAG_RUNTIME_LIBRARY_PATH_value=<br>ac_cv_env_CPPFLAGS_set=<br>ac_cv_env_CPPFLAGS_value=<br>ac_cv_env_CPP_set=<br>ac_cv_env_CPP_value=<br>ac_cv_env_CXXFLAGS_set=<br>ac_cv_env_CXXFLAGS_value=<br>ac_cv_env_CXX_set=<br>

ac_cv_env_CXX_value=<br>ac_cv_env_DED_LDFLAGS_set=<br>ac_cv_env_DED_LDFLAGS_value=<br>ac_cv_env_DED_LD_FLAG_RUNTIME_LIBRARY_PATH_set=<br>ac_cv_env_DED_LD_FLAG_RUNTIME_LIBRARY_PATH_value=<br>ac_cv_env_DED_LD_set=<br>ac_cv_env_DED_LD_value=<br>

ac_cv_env_ERL_TOP_set=<br>ac_cv_env_ERL_TOP_value=<br>ac_cv_env_GETCONF_set=<br>ac_cv_env_GETCONF_value=<br>ac_cv_env_LDFLAGS_set=<br>ac_cv_env_LDFLAGS_value=<br>ac_cv_env_LD_set=<br>ac_cv_env_LD_value=<br>ac_cv_env_LFS_CFLAGS_set=<br>

ac_cv_env_LFS_CFLAGS_value=<br>ac_cv_env_LFS_LDFLAGS_set=<br>ac_cv_env_LFS_LDFLAGS_value=<br>ac_cv_env_LFS_LIBS_set=<br>ac_cv_env_LFS_LIBS_value=<br>ac_cv_env_LIBS_set=<br>ac_cv_env_LIBS_value=<br>ac_cv_env_RANLIB_set=<br>

ac_cv_env_RANLIB_value=<br>ac_cv_env_STATIC_CFLAGS_set=<br>ac_cv_env_STATIC_CFLAGS_value=<br>ac_cv_env_build_alias_set=<br>ac_cv_env_build_alias_value=<br>ac_cv_env_erl_xcomp_after_morecore_hook_set=<br>ac_cv_env_erl_xcomp_after_morecore_hook_value=<br>

ac_cv_env_erl_xcomp_bigendian_set=<br>ac_cv_env_erl_xcomp_bigendian_value=<br>ac_cv_env_erl_xcomp_clock_gettime_cpu_time_set=<br>ac_cv_env_erl_xcomp_clock_gettime_cpu_time_value=<br>ac_cv_env_erl_xcomp_dlsym_brk_wrappers_set=<br>

ac_cv_env_erl_xcomp_dlsym_brk_wrappers_value=<br>ac_cv_env_erl_xcomp_double_middle_endian_set=<br>ac_cv_env_erl_xcomp_double_middle_endian_value=<br>ac_cv_env_erl_xcomp_getaddrinfo_set=<br>ac_cv_env_erl_xcomp_getaddrinfo_value=<br>

ac_cv_env_erl_xcomp_gethrvtime_procfs_ioctl_set=<br>ac_cv_env_erl_xcomp_gethrvtime_procfs_ioctl_value=<br>ac_cv_env_erl_xcomp_isysroot_set=<br>ac_cv_env_erl_xcomp_isysroot_value=<br>ac_cv_env_erl_xcomp_kqueue_set=<br>ac_cv_env_erl_xcomp_kqueue_value=<br>

ac_cv_env_erl_xcomp_linux_clock_gettime_correction_set=<br>ac_cv_env_erl_xcomp_linux_clock_gettime_correction_value=<br>ac_cv_env_erl_xcomp_linux_nptl_set=<br>ac_cv_env_erl_xcomp_linux_nptl_value=<br>ac_cv_env_erl_xcomp_linux_usable_sigaltstack_set=<br>

ac_cv_env_erl_xcomp_linux_usable_sigaltstack_value=<br>ac_cv_env_erl_xcomp_linux_usable_sigusrx_set=<br>ac_cv_env_erl_xcomp_linux_usable_sigusrx_value=<br>ac_cv_env_erl_xcomp_poll_set=<br>ac_cv_env_erl_xcomp_poll_value=<br>

ac_cv_env_erl_xcomp_putenv_copy_set=<br>ac_cv_env_erl_xcomp_putenv_copy_value=<br>ac_cv_env_erl_xcomp_reliable_fpe_set=<br>ac_cv_env_erl_xcomp_reliable_fpe_value=<br>ac_cv_env_erl_xcomp_sysroot_set=<br>ac_cv_env_erl_xcomp_sysroot_value=<br>

ac_cv_env_host_alias_set=<br>ac_cv_env_host_alias_value=<br>ac_cv_env_target_alias_set=<br>ac_cv_env_target_alias_value=<br>ac_cv_host=x86_64-unknown-linux-gnu<br>ac_cv_objext=o<br>ac_cv_path_install='/usr/bin/install -c'<br>

ac_cv_prog_ac_ct_CC=gcc<br>ac_cv_prog_ac_ct_CXX=g++<br>ac_cv_prog_ac_ct_LD=ld<br>ac_cv_prog_ac_ct_RANLIB=ranlib<br>ac_cv_prog_cc_c89=<br>ac_cv_prog_cc_g=yes<br>ac_cv_prog_cxx_g=yes<br><br>## ----------------- ##<br>## Output variables. ##<br>

## ----------------- ##<br><br>AR=''<br>BOOTSTRAP_ONLY='no'<br>CC='gcc'<br>CFLAGS='-m64 -g -O2'<br>CFLAG_RUNTIME_LIBRARY_PATH=''<br>CPP=''<br>CPPFLAGS=''<br>CROSS_COMPILING='no'<br>

CXX='g++'<br>CXXFLAGS='-g -O2'<br>DED_LD=''<br>DED_LDFLAGS=''<br>DED_LD_FLAG_RUNTIME_LIBRARY_PATH=''<br>DEFAULT_VERBOSITY='1'<br>DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"'<br>

ECHO_C=''<br>ECHO_N='-n'<br>ECHO_T=''<br>ERL_TOP='/opt/otp-OTP_R16B03'<br>ERTS_VSN='5.10.4'<br>EXEEXT=''<br>GETCONF=''<br>INSTALL_DATA='${INSTALL} -m 644'<br>

INSTALL_PROGRAM='${INSTALL}'<br>INSTALL_SCRIPT='${INSTALL}'<br>LD='ld'<br>LDFLAGS='-m64 '<br>LFS_CFLAGS=''<br>LFS_LDFLAGS=''<br>LFS_LIBS=''<br>LIBOBJS=''<br>

LIBS=''<br>LN_S='ln -s'<br>LTLIBOBJS=''<br>MAKE_PROG='make'<br>NATIVE_LIBS_ENABLED=''<br>OBJEXT='o'<br>OTP_REL='R16B03'<br>PACKAGE_BUGREPORT=''<br>PACKAGE_NAME=''<br>

PACKAGE_STRING=''<br>PACKAGE_TARNAME=''<br>PACKAGE_VERSION=''<br>PATH_SEPARATOR=':'<br>RANLIB='ranlib'<br>SHELL='/bin/sh'<br>STATIC_CFLAGS=''<br>TARGET='x86_64-unknown-linux-gnu'<br>

ac_ct_CC='gcc'<br>ac_ct_CXX='g++'<br>bindir='${exec_prefix}/bin'<br>build='x86_64-unknown-linux-gnu'<br>build_alias=''<br>build_cpu='x86_64'<br>build_os='linux-gnu'<br>

build_vendor='unknown'<br>datadir='${datarootdir}'<br>datarootdir='${prefix}/share'<br>docdir='${datarootdir}/doc/${PACKAGE}'<br>dvidir='${docdir}'<br>erl_xcomp_after_morecore_hook=''<br>

erl_xcomp_bigendian=''<br>erl_xcomp_clock_gettime_cpu_time=''<br>erl_xcomp_dlsym_brk_wrappers=''<br>erl_xcomp_double_middle_endian=''<br>erl_xcomp_getaddrinfo=''<br>erl_xcomp_gethrvtime_procfs_ioctl=''<br>

erl_xcomp_isysroot=''<br>erl_xcomp_kqueue=''<br>erl_xcomp_linux_clock_gettime_correction=''<br>erl_xcomp_linux_nptl=''<br>erl_xcomp_linux_usable_sigaltstack=''<br>erl_xcomp_linux_usable_sigusrx=''<br>

erl_xcomp_poll=''<br>erl_xcomp_putenv_copy=''<br>erl_xcomp_reliable_fpe=''<br>erl_xcomp_sysroot=''<br>exec_prefix='${prefix}'<br>host='x86_64-unknown-linux-gnu'<br>host_alias=''<br>

host_cpu='x86_64'<br>host_os='linux-gnu'<br>host_vendor='unknown'<br>htmldir='${docdir}'<br>includedir='${prefix}/include'<br>infodir='${datarootdir}/info'<br>libdir='${exec_prefix}/lib'<br>

libexecdir='${exec_prefix}/libexec'<br>localedir='${datarootdir}/locale'<br>localstatedir='${prefix}/var'<br>mandir='${datarootdir}/man'<br>oldincludedir='/usr/include'<br>pdfdir='${docdir}'<br>

prefix='/opt/erlangR16B03'<br>program_transform_name='s,x,x,'<br>psdir='${docdir}'<br>sbindir='${exec_prefix}/sbin'<br>sharedstatedir='${prefix}/com'<br>subdirs=' lib erts'<br>

sysconfdir='${prefix}/etc'<br>target_alias=''<br><br>configure: exit 1<br><br></div>
<br>_______________________________________________<br>
erlang-bugs mailing list<br>
<a href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-bugs" target="_blank">http://erlang.org/mailman/listinfo/erlang-bugs</a><br>
<br></blockquote></div><br></div>