#!/bin/sh
# @function install python27
function InstallGlibc2_17()
{
    ShowResult "[green]正在安装glibc-2.17... [/green]" 1
    
    # install 
    eval cd ${_PATH_COMPILATION_} ${_SYS_SHOW_INSTALL_DETAILS_}
    tar xvf ${_PATH_SOFTWARE_}/glibc-2.17* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval cd glibc-2.17 ${_SYS_SHOW_INSTALL_DETAILS_}
    eval mkdir build && cd build ${_SYS_SHOW_INSTALL_DETAILS_}
    eval ../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin ${_SYS_SHOW_INSTALL_DETAILS_}
    eval make ${_SYS_MAKE_EXT_} ${_SYS_SHOW_INSTALL_DETAILS_}
    eval make install ${_SYS_SHOW_INSTALL_DETAILS_}
    eval strings /lib64/libc.so.6 |grep GLIBC ${_SYS_SHOW_INSTALL_DETAILS_}    
    ShowStatus $?
}