Simplifying it. 32bit library is already present as you can see below. [root@pmd02 pmdtest]# yum provides "*gnu/stubs-32.h" Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. glibc-devel-2.5-34.i386 : Object files for development using standard C libraries. Matched from: Filename : /usr/include/gnu/stubs-32.h [root@pmd02 pmdtest]# yum install glibc-devel-2.5-34.i386 Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Parsing package install arguments Package glibc-devel-2.5-34.i386 already installed and latest version Nothing to do [root@pmd02 pmdtest]# But I dont see any stubs-32.h in /usr/include/gnu/ On Thu, Jan 24, 2013 at 9:26 AM, Syed Ahsan Ali Bokhari <ahsan.pmd@xxxxxxxxx> wrote: > Dear Andrew > > My System is RHEL 5.3 (Linux pmd.pakmet.com 2.6.18-128.el5 #1 SMP Wed > Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux). > > yum install glibc-devel.i686 gives this message > No package glibc-devel.i686 available. > > However in ths system already x86_64 and i386 libraries are present. > [root@pmd02 ~]# locate glibc-devel > /depot/kits/11/Server/glibc-devel-2.5-34.i386.rpm > /depot/kits/11/Server/glibc-devel-2.5-34.x86_64.rpm > /depot/repos/.repocache/1000/glibc-devel-2.5-34.i386.rpm-2a5cdd4af13f60155ec515558a3278cd272f555b-2088434-1231276645 > /depot/repos/.repocache/1000/glibc-devel-2.5-34.x86_64.rpm-7a14914413ecb0a946f68c23af724d7b9d1f5a70-2519668-1231276645 > /depot/repos/.repocache/1000/glibc-devel-21ab948178d568ee91d39206aeff3907 > /depot/repos/.repocache/1000/glibc-devel-2c2569c08d9ee7c06c26268fe37c3e41 > /depot/repos/1000/Server/glibc-devel-2.5-34.i386.rpm > /depot/repos/1000/Server/glibc-devel-2.5-34.x86_64.rpm > > > I am attaching config.log for reference. > > Kind Regards > Ahsan > > On Wed, Jan 23, 2013 at 6:08 PM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: >> On 23 January 2013 10:30, Syed Ahsan Ali Bokhari <ahsan.pmd@xxxxxxxxx> wrote: >>> I am trying to build gfortran 4.6, >>> I am using the following installation procedure >>> cd gcc-4.6 >>> ./contrib/download_prerequisites >>> cd .. >>> mkdir objdir >>> cd objdir >>> $PWD/../gcc-4.6/configure --prefix=/opt/gcc-4.6 --disable-multilib >>> make >>> >>> In file included from /home/pmdtest/objdir/./gcc/include-fixed/features.h:361:0, >>> from /usr/include/stdio.h:28, >>> from ../../../../gcc-4.6-20130118/libgcc/../gcc/tsystem.h:87, >>> from ../../../../gcc-4.6-20130118/libgcc/../gcc/libgcc2.c:29: >>> /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such >>> file or directory >>> compilation terminated. >> >> The top hits on popular search engines explain this problem, and the >> first or second hit is usually >> http://stackoverflow.com/q/7412548/981959 which tells you how to fix >> it for various different GNU/Linux distributions. -- Engr. Syed Ahsan Ali Bokhari Electronic Engineer (EE) Research & Development Division Pakistan Meteorological Department H-8/2, Islamabad. Phone # off +92518358714 Cell # +923155145014 www.pmd.gov.pk