shang3000
asked on
vmware installation problem
hi I'm trying to install vmware on fedora core6 and I'm getting this error
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
Your kernel was built with "gcc" version "4.1.1", while you are trying to use
"/usr/bin/gcc" version "4.1.2". 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.2" anyway? [no]
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
can you please tell me how to upgrade gcc and to which version to upgrade and how
best regards
HG
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
Your kernel was built with "gcc" version "4.1.1", while you are trying to use
"/usr/bin/gcc" version "4.1.2". 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.2" anyway? [no]
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
can you please tell me how to upgrade gcc and to which version to upgrade and how
best regards
HG
what they actually want you to do is downgrade to 4.1.1 - I would just say YES and continue, you should not have a problem.
ASKER
he asks this question and does n't accept the default answer and I don't know what to answer
>>>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]
>>>The path "/usr/src/linux/include" is not an existing directory.
you need to install the package "kernel-source" - it should be on the Fedora Disks
ASKER
I installed every thing any way I've I tried this but no good
[root@localhost vmware-server-distrib]# yum install kernel-source
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
extras 100% |========================= | 1.1 kB 00:00
updates 100% |========================= | 1.2 kB 00:00
ftp://alviss.et.tudelft.nl/pub/fedora/linux/core/6/i386/os/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
core 100% |========================= | 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: kernel-source
Nothing to do
[root@localhost vmware-server-distrib]#
any suggestions
best regards
HG
[root@localhost vmware-server-distrib]# yum install kernel-source
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
extras 100% |=========================
updates 100% |=========================
ftp://alviss.et.tudelft.nl/pub/fedora/linux/core/6/i386/os/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
core 100% |=========================
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: kernel-source
Nothing to do
[root@localhost vmware-server-distrib]#
any suggestions
best regards
HG
hmm, maybe its called something else, let me look it up :
ok, sorry. it seems that in FC6 you can probably get away with just installing the headers: try as noted on this page:
http://www.mjmwired.net/resources/mjm-fedora-fc6.html#kernelheaders
yum install kernel-devel
ok, sorry. it seems that in FC6 you can probably get away with just installing the headers: try as noted on this page:
http://www.mjmwired.net/resources/mjm-fedora-fc6.html#kernelheaders
yum install kernel-devel
ASKER
I have installed them and here is the result
[root@localhost ~]# yum list kernel-devel
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
kernel-devel.i686 2.6.22.9-61.fc6 installed
Available Packages
kernel-devel.i586 2.6.22.9-61.fc6 updates
[root@localhost ~]# uname -rm
2.6.18-1.2798.fc6xen i686
[root@localhost ~]#
but it still give me the same error
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]
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]
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]
do you have any solution
if so please help me
[root@localhost ~]# yum list kernel-devel
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
kernel-devel.i686 2.6.22.9-61.fc6 installed
Available Packages
kernel-devel.i586 2.6.22.9-61.fc6 updates
[root@localhost ~]# uname -rm
2.6.18-1.2798.fc6xen i686
[root@localhost ~]#
but it still give me the same error
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]
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]
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]
do you have any solution
if so please help me
You need to use yum to install the kernel-devel that matches your kernel version then you point the installer to list directory
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] usr/src/kernels/(your version)/include/
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] usr/src/kernels/(your version)/include/
It will also run with GCC 4.1.2 and you may need to run the any-any-update script.
you installed the kernel-devel for the wrong kernel version. Either upgrade your kernel to the latest, or get the devel files for the one you have.
ASKER
hi bhnmi,
>>>What is the location of the directory of C header files that match your running
>>>kernel? [/usr/src/linux/include] usr/src/kernels/(your version)/include/
it's
/usr/src/kernels/2.6.22.9- 61.fc6-i68 6/include
>>>What is the location of the directory of C header files that match your running
>>>kernel? [/usr/src/linux/include] usr/src/kernels/(your version)/include/
it's
/usr/src/kernels/2.6.22.9-
ASKER
hi bhnmi,
>>>It will also run with GCC 4.1.2 and you may need to run the any-any-update script.
would you please forgive me for my ignorance and tell me in clear steps what to do
>>>It will also run with GCC 4.1.2 and you may need to run the any-any-update script.
would you please forgive me for my ignorance and tell me in clear steps what to do
ASKER
hi Heem14,
>>>you installed the kernel-devel for the wrong kernel version. Either upgrade your kernel to the
>>> latest, or get the devel files for the one you have.
would you please tell me how to do it
>>>you installed the kernel-devel for the wrong kernel version. Either upgrade your kernel to the
>>> latest, or get the devel files for the one you have.
would you please tell me how to do it
ASKER
hi all now when I'm trying the installation again it' give me this error and I do not know what to do
here is the error:
[root@localhost vmware-server-distrib]# ./vmware-install.pl
A previous installation of VMware software has been detected.
Failure
Execution aborted.
[root@localhost vmware-server-distrib]#
please help me and tell me what to do
best regards
HG
here is the error:
[root@localhost vmware-server-distrib]# ./vmware-install.pl
A previous installation of VMware software has been detected.
Failure
Execution aborted.
[root@localhost vmware-server-distrib]#
please help me and tell me what to do
best regards
HG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.