Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th May 2007, 07:17 PM
mikebleek Offline
Registered User
 
Join Date: May 2007
Posts: 21
Vmware C header files

Hi gurus

Am trying to get my vmware server configured but after installation, i run the command vmware-config-pl i get an error i have copied below. Please help

Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is not an existing directory.
What is the location of the directory of C header files that match your running

Reply With Quote
  #2  
Old 17th May 2007, 08:00 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:

If you do the following, it should cover off everything that you require.

yum groupinstall "Development Tools"

yum install kernel-devel kernel-headers

Then give it a whirl again.


Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #3  
Old 17th May 2007, 10:21 PM
mikebleek Offline
Registered User
 
Join Date: May 2007
Posts: 21
Thanx but my box with the fedora is at home not connected to internet. How can i install them manually without using yum.
Reply With Quote
  #4  
Old 17th May 2007, 11:09 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Quote:
Originally Posted by mikebleek
Thanx but my box with the fedora is at home not connected to internet. How can i install them manually without using yum.
Hello:
You will need to find the matching kernel-devel and kernel-headers for your kernel and then install them with
rpm -Uvh

You can get by without the whole of the "Development Tools" package, but you will need to down load the gcc rpm packages and transfer those to your FC and then
rpm -Uvh

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #5  
Old 17th May 2007, 11:36 PM
byroniac's Avatar
byroniac Offline
Registered User
 
Join Date: May 2006
Age: 40
Posts: 86
Lightbulb You might need the ANY ANY VMWare patch

Quote:
Originally Posted by mikebleek
Thanx but my box with the fedora is at home not connected to internet. How can i install them manually without using yum.
And for Fedora Core 6, you might need the so-called "Any Any" VMWare patch (I did, but haven't tried on my new x86_64 yet):

http://www.vmware.com/community/thre...76957&tstart=0
__________________
Romans 1:16-17 (ESV) 16 For I am not ashamed of the gospel, for it is the power of God for salvation to everyone who believes, to the Jew first and also to the Greek. 17 For in it the righteousness of God is revealed from faith for faith, as it is written, "The righteous shall live by faith."
Reply With Quote
  #6  
Old 19th May 2007, 03:01 AM
mikebleek Offline
Registered User
 
Join Date: May 2007
Posts: 21
Hi guys am trying to run this command #yum install kernel-devel kernel-headers and i get the error below
PLease help on the way forward to this.

errors = self.ts.run(cb.callback, '')
File "/usr/share/yum-cli/callback.py", line 112, in callback
fd = os.open(rpmloc, os.O_RDONLY)
OSError: [Errno 2] No such file or directory: '//var/cache/yum/updates/packages/ kernel-devel-2.6.20-1.2316.fc5.i686.rpm'
Reply With Quote
  #7  
Old 19th May 2007, 03:03 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
Are you connected to the internet when you are running the yum command ?

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #8  
Old 19th May 2007, 03:43 AM
mikebleek Offline
Registered User
 
Join Date: May 2007
Posts: 21
Yes as at now am connected to the internet what should i do, av updated my kernel also with yum how do i activate the new kernel because when i reboot the box i get two options of kernel in grub i chose the newer one but still gives me an error with vmware-config-pl. Please healp
Reply With Quote
  #9  
Old 19th May 2007, 03:56 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
Please
Post the error you are receiving with vmware-config-pl

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #10  
Old 19th May 2007, 04:05 AM
mikebleek Offline
Registered User
 
Join Date: May 2007
Posts: 21
Thanx Seve here is the error i get.

Your kernel was built with "gcc" version "4.1.1", while you are trying to use
"/usr/bin/gcc" version "4.1.0". This configuration is not recommended and
VMware Server may crash if you'll continue. Please try to use exactly same
compiler as one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.1.0" anyway? [no] yes

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is not an existing directory.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
Reply With Quote
  #11  
Old 19th May 2007, 04:23 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
You need to update your installation.

If you are not familiar with using root and yum then have a read here : Configuring Yum

Or, if you do not want to do that then you need to run

yum groupupdate "Development Tools"

yum install kernel-devel kernel-headers

using the exact syntax including the quotes

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #12  
Old 19th May 2007, 04:32 AM
mikebleek Offline
Registered User
 
Join Date: May 2007
Posts: 21
I did try that earlier and it gave me an error same as now. The error is

[root@localhost samba]# yum groupupdate ´Development Tools´
Loading "installonlyn" plugin
Setting up Group Process
Setting up repositories
core [1/3]
updates [2/3]
extras [3/3]
Setting up repositories
Reading repository metadata in from local files
Warning: Group None does not exist.
Warning: Group None does not exist.
No packages in any requested group available to install or update
[root@localhost samba]#

Which i dont understand is it users group called None or what group is it ment to be?
Reply With Quote
  #13  
Old 19th May 2007, 04:42 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
You must have the quotes "
Just copy and paste the following

yum groupupdate "Development Tools"

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #14  
Old 19th May 2007, 05:29 AM
mikebleek Offline
Registered User
 
Join Date: May 2007
Posts: 21
Thanx Seve its installing.
Reply With Quote
  #15  
Old 19th May 2007, 05:30 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Quote:
Originally Posted by mikebleek
Thanx Seve its installing.
Hello:

You're Welcome

Glad you got it sorted out

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
Reply

Tags
files, header, vmware

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
location of the directory of C header files - vmware installation anitha2324 Using Fedora 13 31st July 2012 08:58 PM
Vmware cannot find kernel header Jupiter Hce Using Fedora 1 28th July 2009 01:15 PM
VMWare tools - OS C Header files jon80 Using Fedora 5 30th June 2008 11:54 AM
VMWare "Directory of C header files" HMSS013 Using Fedora 5 6th June 2007 10:24 AM
vmware tools & fedora 5 & c header XhonkX Using Fedora 11 26th December 2006 05:04 AM


Current GMT-time: 04:54 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat