...
No Format |
---|
module load glibc/glibc2.14.1
OR:
module load glibc/2.25 (Please note that this uses linux3 kernel headers) |
Installation
No Format |
---|
mkdir build cd build ../configure -prefix=/sw/gcc/glibc/glibc-2.14.1 make make install create a module file >>>>>>>>>>>>>> prepend-path PATH /sw/gcc/glibc/glibc-2.14.1/bin:/sw/gcc/glibc/glibc-2.14.1/sbin:/sw/gcc/glibc/glibc-2.14.1/share:/sw/gcc/glibc/glibc-2.14.1/share/i18n:/sw/gcc/glibc/glibc-2.14.1/share/i18n/charmaps:/sw/gcc/glibc/glibc-2.14.1/share/i18n/locale:/sw/gcc/glibc/glibc-2.14.1/share/i18n/zoneinfo:/sw/gcc/glibc/glibc-2.14.1/libexec:/sw/gcc/glibc/glibc-2.14.1/libexec/getconf prepend-path LD_LIBRARY_PATH /sw/gcc/glibc/glibc-2.14.1/lib prepend-path INCLUDE /sw/gcc/glibc/glibc-2.14.1/include >>>>>>>>>>>>>>> After the install: strace localedef -i en_US -f UTF-8 en_US.UTF-8 ##Do the following after the install ##mkdir /sw/gcc/glibc/glibc-2.14.1/lib/locale/ ##chmod 555 /sw/gcc/glibc/glibc-2.14.1/lib/locale/ ##strace localedef -i en_US -f UTF-8 en_US.UTF-8 |
...
No Format |
---|
Note: ===== linux3 kernel headers are needed to compile this version. As we are on rhel 6.5, this cannot be done using the default header files. Header files from a rhel 7.3 installation was copied to /sw/linux/rhel73/include and it was used to compile with --with-headers=/sw/linux/rhel73/include module purge module load gcc/4.9.3 module load python/3.1.4 module load utils/binutils/2.27 /sw/linux/centos68/include/linux cd /sw/gcc/glibc/2.25/src/glibc-2.25 mkdir build cd build cd /sw/gcc/glibc/2.25/src/glibc-2.25/build ../configure -prefix=/sw/gcc/glibc/2.25 --with-headers=/sw/linux/rhel73/include --with-selinux=no 2>&1 | tee configureLog.txt make 2>&1 | tee makeLog.txt make install 2>&1 | tee makeInstallLog.txt |
...