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

17th May 2007, 07:17 PM
|
|
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
|

17th May 2007, 08:00 PM
|
 |
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 ... :)
|

17th May 2007, 10:21 PM
|
|
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.
|

17th May 2007, 11:09 PM
|
 |
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 ... :)
|

17th May 2007, 11:36 PM
|
 |
Registered User
|
|
Join Date: May 2006
Age: 40
Posts: 86

|
|
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."
|

19th May 2007, 03:01 AM
|
|
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'
|

19th May 2007, 03:03 AM
|
 |
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 ... :)
|

19th May 2007, 03:43 AM
|
|
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
|

19th May 2007, 03:56 AM
|
 |
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 ... :)
|

19th May 2007, 04:05 AM
|
|
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]
|

19th May 2007, 04:23 AM
|
 |
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 ... :)
|

19th May 2007, 04:32 AM
|
|
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?
|

19th May 2007, 04:42 AM
|
 |
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 ... :)
|

19th May 2007, 05:29 AM
|
|
Registered User
|
|
Join Date: May 2007
Posts: 21

|
|
|
Thanx Seve its installing.
|

19th May 2007, 05:30 AM
|
 |
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 ... :)
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 04:54 (Thursday, 23-05-2013)
|
|
 |
 |
 |
 |
|
|