Fedora Linux Support Community & Resources Center

Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > General Support

General Support Fedora general support. Ask questions here that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2008-06-22, 11:07 PM CDT
dht317 Offline
Registered User
 
Join Date: Jun 2008
Posts: 2
Fedora core 9 and C header files

I'm trying to install VMWare 6 on Fedora core 9 and it asked: "What is the location of the directory of C header files that match your running kernel?", but I don't know where the directory for C header files is.
Does anyone know?
Thank you in advance.
Reply With Quote
  #2  
Old 2008-06-22, 11:13 PM CDT
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 51
Posts: 11,971
Hello:
Try from a terminal

su -
then copy and paste the following;

yum install kernel-headers kernel-devel xinetd

yum groupinstall "Development Tools" "Legacy Software Development"

Using the exact syntax including the quotes.

Then give your installation another whirl.

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ...
Reply With Quote
  #3  
Old 2008-06-23, 12:02 AM CDT
dht317 Offline
Registered User
 
Join Date: Jun 2008
Posts: 2
Thank you for your reply Seve. I was able to install VMware, but I couldn't start the program. Any ideas?
Thank you again.
Reply With Quote
  #4  
Old 2008-06-23, 12:17 AM CDT
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 51
Posts: 11,971
Hello:
From a terminal
type and enter
vmware

and post the output.

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ...
Reply With Quote
  #5  
Old 2008-06-23, 01:59 AM CDT
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 38
Posts: 4,181
You could follow thru this link.
http://fedorasolved.org/server-solut...server-install

But use VMware-server 1.0.6 version and no patching is needed.
Reply With Quote
  #6  
Old 2008-07-07, 07:08 AM CDT
Gweasel Offline
Registered User
 
Join Date: Jul 2008
Posts: 1
Quote:
Originally Posted by Seve
Hello:
Try from a terminal

su -
then copy and paste the following;

yum install kernel-headers kernel-devel xinetd

yum groupinstall "Development Tools" "Legacy Software Development"

Using the exact syntax including the quotes.

Then give your installation another whirl.

Seve
I'm searching for this solution as well. How can you install these packages without an active Internet connection?
Reply With Quote
  #7  
Old 2008-07-07, 09:10 AM CDT
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 38
Posts: 4,181
Quote:
I'm searching for this solution as well. How can you install these packages without an active Internet connection?
Install from the DVD? Search the forum. Its been tried sucessfully.
Reply With Quote
  #8  
Old 2008-07-16, 03:14 PM CDT
gotosimon Offline
Registered User
 
Join Date: Jul 2008
Posts: 7
I have the same problem. But when I run the first command I get the following error.

[root@oak-msimon bin]# yum install kernel-headers kernel-devel xinetd
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.i686 0:2.6.27-0.144.rc0.git2.fc10 set to be installed
---> Package kernel-headers.i386 0:2.6.27-0.144.rc0.git2.fc10 set to be updated
---> Package xinetd.i386 2:2.3.14-18.fc9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
kernel-devel i686 2.6.27-0.144.rc0.git2.fc10 rawhide 5.3 M
xinetd i386 2:2.3.14-18.fc9 fedora 124 k
Updating:
kernel-headers i386 2.6.27-0.144.rc0.git2.fc10 rawhide 704 k

Transaction Summary
================================================== ===========================
Install 2 Package(s)
Update 1 Package(s)
Remove 0 Package(s)

Total size: 6.1 M
Total download size: 5.4 M
Is this ok [y/N]: Y
Downloading Packages:
(1/2): xinetd-2.3.14-18.fc9.i386.rpm | 124 kB 00:01
(2/2): kernel-devel-2.6.27-0.144.rc0.git2.fc10.i686.rpm | 5.3 MB 00:35
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
file /usr/include/drm/drm.h from install of kernel-headers-2.6.27-0.144.rc0.git2.fc10.i386 conflicts with file from package libdrm-devel-2.4.0-0.13.fc9.i386
file /usr/include/drm/drm_sarea.h from install of kernel-headers-2.6.27-0.144.rc0.git2.fc10.i386 conflicts with file from package libdrm-devel-2.4.0-0.13.fc9.i386
file /usr/include/drm/i915_drm.h from install of kernel-headers-2.6.27-0.144.rc0.git2.fc10.i386 conflicts with file from package libdrm-devel-2.4.0-0.13.fc9.i386
file /usr/include/drm/mga_drm.h from install of kernel-headers-2.6.27-0.144.rc0.git2.fc10.i386 conflicts with file from package libdrm-devel-2.4.0-0.13.fc9.i386
file /usr/include/drm/r128_drm.h from install of kernel-headers-2.6.27-0.144.rc0.git2.fc10.i386 conflicts with file from package libdrm-devel-2.4.0-0.13.fc9.i386
file /usr/include/drm/radeon_drm.h from install of kernel-headers-2.6.27-0.144.rc0.git2.fc10.i386 conflicts with file from package libdrm-devel-2.4.0-0.13.fc9.i386
file /usr/include/drm/savage_drm.h from install of kernel-headers-2.6.27-0.144.rc0.git2.fc10.i386 conflicts with file from package libdrm-devel-2.4.0-0.13.fc9.i386
file /usr/include/drm/via_drm.h from install of kernel-headers-2.6.27-0.144.rc0.git2.fc10.i386 conflicts with file from package libdrm-devel-2.4.0-0.13.fc9.i386

Error Summary
-------------
Reply With Quote
  #9  
Old 2008-07-16, 03:25 PM CDT
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 51
Posts: 11,971
Quote:
Originally Posted by gotosimon
I have the same problem.
Hello:
You have a different problem .. one that is self-inflicted.

You have enabled rawhide/development/testing repositories that are not part of the normal Fedora 9 installation.
Quote:
kernel-devel i686 2.6.27-0.144.rc0.git2.fc10 rawhide 5.3 M
xinetd i386 2:2.3.14-18.fc9 fedora 124 k
Updating:
kernel-headers i386 2.6.27-0.144.rc0.git2.fc10 rawhide 704 k
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ...
Reply With Quote
  #10  
Old 2008-07-17, 11:32 AM CDT
gotosimon Offline
Registered User
 
Join Date: Jul 2008
Posts: 7
OK. I'm on track now. I re-installed Fedora 9. Got past the two lines. But I still don't see the C header files.

Thanks for the quick response.
Reply With Quote
  #11  
Old 2008-07-17, 11:37 AM CDT
gotosimon Offline
Registered User
 
Join Date: Jul 2008
Posts: 7
Wait... I think its. working....
Reply With Quote
  #12  
Old 2008-07-17, 11:41 AM CDT
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 38
Posts: 4,181
Code:
su  -
yum install kernel-devel kernel-headers
Reply With Quote
  #13  
Old 2008-11-05, 01:07 AM CST
irfanzaidi Offline
Registered User
 
Join Date: Nov 2008
Posts: 4
In which directory do you want to install the mime type icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

/usr/share/applications/vmware-server.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an

extension,but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
/usr/share/applications/vmware-console-uri-handler.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name

with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

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] /lib/modules/2.6.26.6-79.fc9.i686.PAE/build/include

The directory of kernel headers (version 2.6.26.6-79.fc9.i686) does not match
your running kernel (version 2.6.26.6-79.fc9.i686.PAE). Even if the module
were to compile successfully, it would not load into the running kernel.


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

*************************************
When i run the command 'uname -r' i get the kernel version "2.6.26.6-79.fc9.i686.PAE"
I followed the procedure from "http://www.howtoforge.com/vmware-server-installation-on-a-fedora9-desktop" Also used above mentioned commands

yum install kernel-headers kernel-devel xinetd
yum groupinstall "Development Tools" "Legacy Software Development"

but problem not solved.

Kernel source is available in /usr/src/kernels/2.6.26.6-79.fc9.i686, Is it the matter of additional .PAE in kernel name or something else? And if it is

how can i correct it?
Do anyone help me in this matter?

Thanks
Irfan
Reply With Quote
  #14  
Old 2008-11-05, 04:27 AM CST
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 4,728
When you are using kernel-PAE, you must install kernel-PAE-devel instead of the regular kernel-devel.
Reply With Quote
  #15  
Old 2008-11-05, 05:17 AM CST
irfanzaidi Offline
Registered User
 
Join Date: Nov 2008
Posts: 4
Thanks, it really worked, but getting error in vmmon compilation


What is the location of the directory of C header files that match your running
kernel?
[/usr/src/kernels/2.6.26.6-79.fc9.i686.PAE/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config8/vmmon-only'
make -C /usr/src/kernels/2.6.26.6-79.fc9.i686.PAE/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.26.6-79.fc9.i686.PAE'
CC [M] /tmp/vmware-config8/vmmon-only/linux/driver.o
/tmp/vmware-config8/vmmon-only/linux/driver.c:146: error: unknown field nopage specified in initializer
/tmp/vmware-config8/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
/tmp/vmware-config8/vmmon-only/linux/driver.c:150: error: unknown field nopage specified in initializer
/tmp/vmware-config8/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
make[2]: *** [/tmp/vmware-config8/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config8/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.26.6-79.fc9.i686.PAE'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config8/vmmon-only'
Unable to build the vmmon module.

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.

What do i do now? Need your help more

Last edited by irfanzaidi; 2008-11-05 at 05:32 AM CST.
Reply With Quote
Reply

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
C header files chejose Software 15 2007-01-24 08:15 AM CST
C header files beny Servers 11 2006-12-19 03:32 AM CST
fedora 5 kernel header files ilbh Software 12 2006-06-02 07:33 AM CDT
up2date header files Mark Weaver gmane.linux.redhat.fedora.general 6 2005-03-31 08:50 PM CST
SRC/header files needed for Fedora driver compilations Phisherman alt.os.linux.redhat 4 2004-01-31 02:14 PM CST

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 11:20 AM CST.

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 | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Translations supported by vBET 2.3.8