Kernel headers are necessary for driver development. Otherwise, no need to install them. -----Original Message----- From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On Behalf Of FlaDude1 Sent: Wednesday, October 08, 2008 9:28 PM To: gcc-help@xxxxxxxxxxx Subject: RE: gcc not properly installed - cannot find libraries Alex Austin-3 wrote: > > Chances are, the easiest way to get going would be to install an IDE of > some kind. Try: > # yum install anjuta > And see if all build dependencies are installed. I think they probably > would be. > - Alex > > -----Original Message----- > From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On > Behalf Of FlaDude1 > Sent: Wednesday, October 08, 2008 9:15 PM > To: gcc-help@xxxxxxxxxxx > Subject: Re: gcc not properly installed - cannot find libraries > > > > > Brian Dessent wrote: >> >> FlaDude1 wrote: >> >>> When I check what glibc packages are installed I see this >>> # yum list all|grep glibc >>> glibc.i686 2.5-24 >>> installed >>> glibc.x86_64 2.5-24 >>> installed >>> glibc-common.x86_64 2.5-24 >>> installed >> >> These include the runtime support libraries, but not development files >> (i.e. no headers.) >> >>> Should I install glibc-devel-2.5-24.x86_64.rpm? What about >>> glibc-headers-2.5-24.x86_64.rpm too? Or are these installed with what >>> is >>> already installed? >> >> Just "yum install glibc-devel" and let yum resolve the dependencies, >> that's its job. Note that if you want to compile 32 bit code you'll >> also need to "yum install glibc-devel.i386". >> >> Brian >> >> > > > So I first tried to install the glibc-devel and got dependency errors and > then tried the headers and got kernal header dependency errors! Its not > looking good. It looks like the kernal headers need to be updated. > > [root@uwdatlwbm01 Server]# yum install glibc-devel-2.5-24.x86_64.rpm > Loading "rhnplugin" plugin > Loading "security" plugin > This system is not registered with RHN. > RHN support will be disabled. > Setting up Install Process > Parsing package install arguments > Examining glibc-devel-2.5-24.x86_64.rpm: glibc-devel - 2.5-24.x86_64 > Marking glibc-devel-2.5-24.x86_64.rpm to be installed > Resolving Dependencies > --> Running transaction check > ---> Package glibc-devel.x86_64 0:2.5-24 set to be updated > --> Processing Dependency: glibc-headers for package: glibc-devel > --> Processing Dependency: glibc-headers = 2.5-24 for package: glibc-devel > --> Finished Dependency Resolution > Error: Missing Dependency: glibc-headers is needed by package glibc-devel > Error: Missing Dependency: glibc-headers = 2.5-24 is needed by package > glibc-dev > el > [root@uwdatlwbm01 Server]# yum install glibc-headers-2.5-24.x86_64.rpm > Loading "rhnplugin" plugin > Loading "security" plugin > This system is not registered with RHN. > RHN support will be disabled. > Setting up Install Process > Parsing package install arguments > Examining glibc-headers-2.5-24.x86_64.rpm: glibc-headers - 2.5-24.x86_64 > Marking glibc-headers-2.5-24.x86_64.rpm to be installed > Resolving Dependencies > --> Running transaction check > ---> Package glibc-headers.x86_64 0:2.5-24 set to be updated > --> Processing Dependency: kernel-headers for package: glibc-headers > --> Processing Dependency: kernel-headers >= 2.2.1 for package: > glibc-headers > --> Finished Dependency Resolution > Error: Missing Dependency: kernel-headers is needed by package > glibc-headers > Error: Missing Dependency: kernel-headers >= 2.2.1 is needed by package > glibc-he > aders > -- > View this message in context: > http://www.nabble.com/gcc-not-properly-installed---cannot-find-libraries-tp19888085p19891078.html > Sent from the gcc - Help mailing list archive at Nabble.com. > > > I also see now that NO kernel headers are installed. # ls *head* compat-glibc-headers-2.3.4-2.26.x86_64.rpm glibc-headers-2.5-24.x86_64.rpm kernel-headers-2.6.18-92.el5.x86_64.rpm readahead-1.3-7.el5.x86_64.rpm # yum list all|grep headers # # yum -y info kernel-headers Loading "rhnplugin" plugin Loading "security" plugin This system is not registered with RHN. RHN support will be disabled. Error: No matching Packages to list Should I install them? Can it harm anything? -- View this message in context: http://www.nabble.com/gcc-not-properly-installed---cannot-find-libraries-tp19888085p19891187.html Sent from the gcc - Help mailing list archive at Nabble.com.