Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 21994

GLIBC install failed, programs are missing or too old

$
0
0

I had tried to install glibc-2.15 with non-root, after googling and trying two days, I am looking help here.

After configure, it output following error:../glibc-2.15/configure --prefix=${PWD/objDir/destDir}checking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking for gcc... gccchecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking how to run the C preprocessor... gcc -Echecking for g++... g++checking whether we are using the GNU C++ compiler... yeschecking whether g++ accepts -g... yesconfigure: running configure fragment for add-on libidnconfigure: running configure fragment for add-on nptlchecking for assembler gnu_indirect_function symbol type support... yeschecking whether .text pseudo-op must be used... yeschecking for assembler global-symbol directive... .globlchecking for assembler .type directive prefix... @checking sysdep dirs... sysdeps/x86_64/elf nptl/sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/wordsize-64 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/x86_64 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86_64/multiarch nptl/sysdeps/x86_64 sysdeps/x86_64 sysdeps/wordsize-64 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/genericchecking for a BSD-compatible install... /usr/bin/install -cchecking whether ln -s works... yeschecking whether /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/as is GNU as... yeschecking whether /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld is GNU ld... yeschecking for /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/as... /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/aschecking version of /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/as... 2.25.1, okchecking for /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld... /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ldchecking version of /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld... 2.25.1, okchecking for pwd... /bin/pwdchecking for gcc... gccchecking version of gcc... 4.9.3, okchecking for gnumake... nochecking for gmake... gmakechecking version of gmake... 4.2.1, badchecking for gnumsgfmt... nochecking for gmsgfmt... gmsgfmtchecking version of gmsgfmt... 0.18.3, okchecking for makeinfo... makeinfochecking version of makeinfo... 4.13, okchecking for sed... sedchecking version of sed... 4.2.1, okchecking for readelf... readelfchecking for autoconf... autoconfchecking whether autoconf works... yesconfigure: error:*** These critical programs are missing or too old: make*** Check the INSTALL file for required versions.

and in configure.log:

cat config.logThis file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by GNU C Library configure (see version.h), which wasgenerated by GNU Autoconf 2.68.  Invocation command line was  $ ../glibc-2.15/configure --prefix=/home/zhongxm/glibc/destDir## --------- #### Platform. #### --------- ##hostname = mercuryuname -m = x86_64uname -r = 3.0.6-gentoouname -s = Linuxuname -v = #1 SMP Sun Dec 11 16:24:12 CST 2011/usr/bin/uname -p = Intel(R) Xeon(R) CPU E7450 @ 2.40GHz/bin/uname -X     = unknown/bin/arch              = unknown/usr/bin/arch -k       = unknown/usr/convex/getsysinfo = unknown/usr/bin/hostinfo      = unknown/bin/machine           = unknown/usr/bin/oslevel       = unknown/bin/universe          = unknownPATH: /home/zhongxm/binPATH: /home/zhongxm/local/binPATH: /home/zhongxm/bin/x86_64PATH: /home/zhongxm/bin/scriptsPATH: /home/zhongxm/tool/jdk/binPATH: /home/zhongxm/tool/bedtools/binPATH: /home/zhongxm/tool/annovarPATH: /home/zhongxm/tool/ngsShoRTPATH: /home/zhongxm/tool/qualimapPATH: /usr/local/binPATH: /usr/binPATH: /binPATH: /opt/binPATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3PATH: /opt/svn/binPATH: /usr/local/meme/binPATH: /data/tool/hisatPATH: /rd1/user/zh2yyongxm/binPATH: /rd1/user/zhongxm/script/PATH: /rd1/user/zhangsj/binPATH: /rd1/user/data/bin/x86_64/## ----------- #### Core tests. #### ----------- ##configure:2367: checking build system typeconfigure:2381: result: x86_64-unknown-linux-gnuconfigure:2401: checking host system typeconfigure:2414: result: x86_64-unknown-linux-gnuconfigure:2483: checking for gccconfigure:2499: found /usr/bin/gccconfigure:2510: result: gccconfigure:2739: checking for C compiler versionconfigure:2748: gcc --version >&5gcc (Gentoo 4.9.3 p1.4, pie-0.6.4) 4.9.3Copyright (C) 2015 Free Software Foundation, Inc.This is free software; see the source for copying conditions.  There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.configure:2759: $? = 0configure:2748: gcc -v >&5Using built-in specs.COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/gccCOLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapperTarget: x86_64-pc-linux-gnuConfigured with: /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.9.3 p1.4, pie-0.6.4' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --enable-lto --without-cloog --enable-libsanitizerThread model: posixgcc version 4.9.3 (Gentoo 4.9.3 p1.4, pie-0.6.4)configure:2759: $? = 0configure:2748: gcc -V >&5gcc: error: unrecognized command line option '-V'gcc: fatal error: no input filescompilation terminated.configure:2759: $? = 1configure:2748: gcc -qversion >&5gcc: error: unrecognized command line option '-qversion'gcc: fatal error: no input filescompilation terminated.configure:2759: $? = 1configure:2764: checking for suffix of object filesconfigure:2786: gcc -c   conftest.c >&5configure:2790: $? = 0configure:2811: result: oconfigure:2815: checking whether we are using the GNU C compilerconfigure:2834: gcc -c   conftest.c >&5configure:2834: $? = 0configure:2843: result: yesconfigure:2852: checking whether gcc accepts -gconfigure:2872: gcc -c -g  conftest.c >&5configure:2872: $? = 0configure:2913: result: yesconfigure:2930: checking for gcc option to accept ISO C89configure:2994: gcc  -c -g -O2  conftest.c >&5configure:2994: $? = 0configure:3007: result: none neededconfigure:3077: checking how to run the C preprocessorconfigure:3108: gcc -E  conftest.cconfigure:3108: $? = 0configure:3122: gcc -E  conftest.cconftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h>                            ^compilation terminated.configure:3122: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "GNU C Library"| #define PACKAGE_TARNAME "glibc"| #define PACKAGE_VERSION "(see version.h)"| #define PACKAGE_STRING "GNU C Library (see version.h)"| #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/"| #define PACKAGE_URL "http://www.gnu.org/software/glibc/"| /* end confdefs.h.  */| #include <ac_nonexistent.h>configure:3147: result: gcc -Econfigure:3167: gcc -E  conftest.cconfigure:3167: $? = 0configure:3181: gcc -E  conftest.cconftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h>                            ^compilation terminated.configure:3181: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "GNU C Library"| #define PACKAGE_TARNAME "glibc"| #define PACKAGE_VERSION "(see version.h)"| #define PACKAGE_STRING "GNU C Library (see version.h)"| #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/"| #define PACKAGE_URL "http://www.gnu.org/software/glibc/"| /* end confdefs.h.  */| #include <ac_nonexistent.h>configure:3268: checking for g++configure:3284: found /usr/bin/g++configure:3295: result: g++configure:3322: checking for C++ compiler versionconfigure:3331: g++ --version >&5g++ (Gentoo 4.9.3 p1.4, pie-0.6.4) 4.9.3Copyright (C) 2015 Free Software Foundation, Inc.This is free software; see the source for copying conditions.  There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.configure:3342: $? = 0configure:3331: g++ -v >&5Using built-in specs.COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/g++COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapperTarget: x86_64-pc-linux-gnuConfigured with: /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.9.3 p1.4, pie-0.6.4' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --enable-lto --without-cloog --enable-libsanitizerThread model: posixgcc version 4.9.3 (Gentoo 4.9.3 p1.4, pie-0.6.4)configure:3342: $? = 0configure:3331: g++ -V >&5g++: error: unrecognized command line option '-V'g++: fatal error: no input filescompilation terminated.configure:3342: $? = 1configure:3331: g++ -qversion >&5g++: error: unrecognized command line option '-qversion'g++: fatal error: no input filescompilation terminated.configure:3342: $? = 1configure:3346: checking whether we are using the GNU C++ compilerconfigure:3365: g++ -c   conftest.cpp >&5configure:3365: $? = 0configure:3374: result: yesconfigure:3383: checking whether g++ accepts -gconfigure:3403: g++ -c -g  conftest.cpp >&5configure:3403: $? = 0configure:3444: result: yesconfigure:3949: running configure fragment for add-on libidnconfigure:3949: running configure fragment for add-on nptlconfigure:4091: checking for assembler gnu_indirect_function symbol type supportconfigure:4107: result: yesconfigure:4110: checking whether .text pseudo-op must be usedconfigure:4120: gcc  -c conftest.s 1>&5configure:4123: $? = 0configure:4134: result: yesconfigure:4138: checking for assembler global-symbol directiveconfigure:4151: gcc  -c conftest.s 1>&5configure:4154: $? = 0configure:4162: result: .globlconfigure:4173: checking for assembler .type directive prefixconfigure:4189: gcc  -c conftest.s 1>&5configure:4192: $? = 0configure:4200: result: @configure:4223: checking sysdep dirsconfigure:4468: result: sysdeps/generic/elf sysdeps/genericconfigure:4545: checking for a BSD-compatible installconfigure:4613: result: /usr/bin/install -cconfigure:4628: checking whether ln -s worksconfigure:4632: result: yesconfigure:4656: checking whether /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/as is GNU asconfigure:4670: result: yesconfigure:4675: checking whether /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld is GNU ldconfigure:4689: result: yesconfigure:4699: checking for /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/asconfigure:4726: result: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/asconfigure:4741: checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/asconfigure:4751: result: 2.25.1, okconfigure:4762: checking for /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ldconfigure:4789: result: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ldconfigure:4804: checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ldconfigure:4814: result: 2.25.1, okconfigure:4829: checking for pwdconfigure:4847: found /bin/pwdconfigure:4860: result: /bin/pwdconfigure:4878: checking for gccconfigure:4905: result: gccconfigure:4920: checking version of gccconfigure:4930: result: 4.9.3, okconfigure:4941: checking for gnumakeconfigure:4971: result: noconfigure:4941: checking for gmakeconfigure:4957: found /usr/bin/gmakeconfigure:4968: result: gmakeconfigure:4983: checking version of gmakeconfigure:4993: result: 4.2.1, badconfigure:5005: checking for gnumsgfmtconfigure:5035: result: noconfigure:5005: checking for gmsgfmtconfigure:5021: found /usr/bin/gmsgfmtconfigure:5032: result: gmsgfmtconfigure:5047: checking version of gmsgfmtconfigure:5057: result: 0.18.3, okconfigure:5068: checking for makeinfoconfigure:5084: found /usr/bin/makeinfoconfigure:5095: result: makeinfoconfigure:5110: checking version of makeinfoconfigure:5120: result: 4.13, okconfigure:5131: checking for sedconfigure:5147: found /bin/sedconfigure:5158: result: sedconfigure:5173: checking version of sedconfigure:5183: result: 4.2.1, okconfigure:5234: checking for readelfconfigure:5250: found /usr/bin/readelfconfigure:5261: result: readelfconfigure:5288: checking for autoconfconfigure:5304: found /usr/bin/autoconfconfigure:5315: result: autoconfconfigure:5330: checking whether autoconf worksconfigure:5341: result: yesconfigure:5350: error:*** These critical programs are missing or too old: make*** Check the INSTALL file for required versions.## ---------------- #### Cache variables. #### ---------------- ##ac_cv_build=x86_64-unknown-linux-gnuac_cv_c_compiler_gnu=yesac_cv_cxx_compiler_gnu=yesac_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_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_LDFLAGS_set=ac_cv_env_LDFLAGS_value=ac_cv_env_LIBS_set=ac_cv_env_LIBS_value=ac_cv_env_build_alias_set=ac_cv_env_build_alias_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-gnuac_cv_objext=oac_cv_path_PWD_P=/bin/pwdac_cv_path_install='/usr/bin/install -c'ac_cv_prog_AS=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/asac_cv_prog_AUTOCONF=autoconfac_cv_prog_CC=gccac_cv_prog_CPP='gcc -E'ac_cv_prog_LD=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ldac_cv_prog_MAKE=gmakeac_cv_prog_MAKEINFO=makeinfoac_cv_prog_MSGFMT=gmsgfmtac_cv_prog_SED=sedac_cv_prog_ac_ct_CC=gccac_cv_prog_ac_ct_CXX=g++ac_cv_prog_ac_ct_READELF=readelfac_cv_prog_cc_c89=ac_cv_prog_cc_g=yesac_cv_prog_cxx_g=yeslibc_cv_asm_global_directive=.globllibc_cv_asm_gnu_indirect_function=yeslibc_cv_asm_type_prefix=@libc_cv_autoconf_works=yeslibc_cv_dot_text=.textlibc_cv_nss_crypt=nolibc_cv_prog_as_gnu=yeslibc_cv_prog_ld_gnu=yes## ----------------- #### Output variables. #### ----------------- ##AR='/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ar'AS='/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/as'ASFLAGS_config=''AUTOCONF='autoconf'AWK=''BASH_SHELL=''BISON=''BUILD_CC=''CC='gcc'CFLAGS='-g -O2'CPP='gcc -E'CPPFLAGS=''CXX='g++'CXXFLAGS='-g -O2'CXX_SYSINCLUDES=''DEFINES=''DEFS=''ECHO_C=''ECHO_N='-n'ECHO_T=''EGREP=''GREP=''INSTALL_DATA='${INSTALL} -m 644'INSTALL_INFO=''INSTALL_PROGRAM='${INSTALL}'INSTALL_SCRIPT='${INSTALL}'KSH=''LD='/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld'LDFLAGS=''LIBGD=''LIBOBJS=''LIBS=''LN_S='ln -s'LTLIBOBJS=''MAKE='gmake'MAKEINFO='makeinfo'MIG=''MSGFMT='gmsgfmt'OBJCOPY='/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/objcopy'OBJDUMP='/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/objdump'OBJEXT='o'PACKAGE_BUGREPORT='http://sourceware.org/bugzilla/'PACKAGE_NAME='GNU C Library'PACKAGE_STRING='GNU C Library (see version.h)'PACKAGE_TARNAME='glibc'PACKAGE_URL='http://www.gnu.org/software/glibc/'PACKAGE_VERSION='(see version.h)'PATH_SEPARATOR=':'PERL=''PWD_P='/bin/pwd'READELF='readelf'RELEASE=''SED='sed'SHELL='/bin/sh'SYSINCLUDES=''VERSION=''VERSIONING=''ac_ct_CC='gcc'ac_ct_CXX='g++'add_on_subdirs=' libidn'add_ons='libidn nptl'all_warnings=''base_machine='x86_64'bindir='${exec_prefix}/bin'bindnow='no'bounded='no'build='x86_64-unknown-linux-gnu'build_alias=''build_cpu='x86_64'build_os='linux-gnu'build_vendor='unknown'cross_compiling='no'datadir='${datarootdir}'datarootdir='${prefix}/share'docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'dvidir='${docdir}'elf='yes'enable_check_abi='no'exceptions=''exec_prefix='NONE'fno_unit_at_a_time=''force_install='yes'gnu89_inline=''have_libaudit=''have_libcap=''have_selinux=''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'ldd_rewrite_script=''libc_cv_Bgroup=''libc_cv_as_i686=''libc_cv_as_needed=''libc_cv_cc_avx=''libc_cv_cc_fma4=''libc_cv_cc_novzeroupper=''libc_cv_cc_sse4=''libc_cv_cc_submachine=''libc_cv_cc_with_libunwind=''libc_cv_cpp_asm_debuginfo=''libc_cv_forced_unwind=''libc_cv_fpie=''libc_cv_gcc_static_libgcc=''libc_cv_gcc_unwind_find_fde=''libc_cv_hashstyle=''libc_cv_have_bash2=''libc_cv_have_initfini=''libc_cv_have_ksh=''libc_cv_libgcc_s_suffix=''libc_cv_localedir=''libc_cv_nss_crypt='no'libc_cv_output_format=''libc_cv_pic_default=''libc_cv_rootsbindir=''libc_cv_slibdir=''libc_cv_ssp=''libc_cv_sysconfdir=''libc_cv_z_combreloc=''libc_cv_z_execstack=''libdir='${exec_prefix}/lib'libexecdir='${exec_prefix}/libexec'localedir='${datarootdir}/locale'localstatedir='${prefix}/var'mach_interface_list=''mandir='${datarootdir}/man'multi_arch='default'nopic_initfini=''old_glibc_headers=''oldest_abi='default'oldincludedir='/usr/include'omitfp='no'pdfdir='${docdir}'prefix='/home/zhongxm/glibc/destDir'profile='no'program_transform_name='s,x,x,'psdir='${docdir}'sbindir='${exec_prefix}/sbin'shared='default'sharedstatedir='${prefix}/com'sizeof_long_double=''static='yes'static_nss='no'subdirs=''submachine=''sysconfdir='${prefix}/etc'sysdeps_add_ons=' nptl'sysnames=' sysdeps/x86_64/elf nptl/sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/wordsize-64 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/x86_64 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86_64/multiarch nptl/sysdeps/x86_64 sysdeps/x86_64 sysdeps/wordsize-64 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic'target_alias=''use_default_link='default'use_ldconfig=''with_fp='yes'xcoff='no'## ----------- #### confdefs.h. #### ----------- ##/* confdefs.h */#define PACKAGE_NAME "GNU C Library"#define PACKAGE_TARNAME "glibc"#define PACKAGE_VERSION "(see version.h)"#define PACKAGE_STRING "GNU C Library (see version.h)"#define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/"#define PACKAGE_URL "http://www.gnu.org/software/glibc/"#define HAVE_LIBIDN 1#define ASM_GLOBAL_DIRECTIVE .globl#define ASM_TYPE_DIRECTIVE_PREFIX @#define USE_MULTIARCH 1configure: exit 1

I had checked that programs mentioned in INSTALL is newer than it needed. Considering my software may too new, I had install make-3.79 which is mentioned in INSTALL, gcc texinfo, but they didn't solved my problem. I hardly know what to do? Is any other way can I install GLIBC without root privileges.

The related information of my machine:

uname -aLinux mercury 3.0.6-gentoo #1 SMP Sun Dec 11 16:24:12 CST 2011 x86_64 Intel(R) Xeon(R) CPU E7450 @ 2.40GHz GenuineIntel GNU/Linuxgcc --versiongcc (Gentoo 4.9.3 p1.4, pie-0.6.4) 4.9.3Copyright (C) 2015 Free Software Foundation, Inc.This is free software; see the source for copying conditions.  There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.make --versionGNU Make 4.2.1Built for x86_64-pc-linux-gnuCopyright (C) 1988-2016 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.texi2pdf --versiontexi2dvi (GNU Texinfo 4.13) 1.135Copyright (C) 2008 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.

Any suggestion would be grateful!Best wishes!

Edit:

Mrak Plotnick, thanks for your reply very much!

According to your suggestion, it output new error as follow, could you give me another advice?

../glibc-2.15/configure --prefix=${PWD/objDir/destDir} --disable-multilib........In file included from <command-line>:0:0:../misc/syslog.c: In function '__vsyslog_chk':../misc/syslog.c:123:30: error: inlining failed in call to always_inline 'syslog': function not inlinable ldbl_strong_alias (__syslog, syslog)                              ^./../include/libc-symbols.h:102:26: note: in definition of macro '_strong_alias'   extern __typeof (name) aliasname __attribute__ ((alias (#name)));                          ^../sysdeps/generic/math_ldbl_opt.h:12:44: note: in expansion of macro 'strong_alias' #define ldbl_strong_alias(name, aliasname) strong_alias (name, aliasname)                                            ^../misc/syslog.c:123:1: note: in expansion of macro 'ldbl_strong_alias' ldbl_strong_alias (__syslog, syslog) ^In file included from ../sysdeps/unix/sysv/linux/syslog.c:10:0:../misc/syslog.c:155:3: error: called from here   syslog(INTERNALLOG,   ^make[2]: *** [/home/zhongxm/glibc/v2/objDir/sysd-rules:1311: /home/zhongxm/glibc/v2/objDir/misc/syslog.os] Error 1make[2]: Leaving directory '/home/zhongxm/glibc/v2/glibc-2.15/misc'make[1]: *** [Makefile:220: misc/subdir_lib] Error 2make[1]: Leaving directory '/home/zhongxm/glibc/v2/glibc-2.15'make: *** [Makefile:7: all] Error 2

Also, I had tried to installed latest gcc (which install latest gmp, mpfr and mpc first) and glibc, but when I add the path of lib in glib to LD_LIBRARY_PATH, it output "Segmentation fault", any other suggestions?

Any suggestion would be grateful! Best wishes!


Viewing all articles
Browse latest Browse all 21994

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>