LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-09-2005, 03:18 PM   #1
Xvium
LQ Newbie
 
Registered: Apr 2005
Posts: 23

Rep: Reputation: 15
Installing vmWare


ok running Mandrake 10.0 official i installed the rpm package then opend a konsole and loaded the vmware config script

Code:
[root@s ***-*-**-*** xvium]# /usr/bin/vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                      [  OK  ]

Configuring fallback GTK+ 2.4 libraries.

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation 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] 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]
now heres where im stuck .. i navigated to /usr/src in konqueror and the only dir in there is /usr/src/rpm and all of the dirs under rpm ar empty, and no include folder.

so i navigated back up a few dirs and noticed a dir "/usr/include/" it sparked some interest
its a folder full of header files as expected .. so i loaded the vmware config script again and when prompted i enterd the following
Code:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]/usr/include
and then got the following
Code:
The header files in /usr/include are generally for C libraries, not for the
running kernel. If you do not have kernel header files in your /usr/src
directory, you probably do not have the kernel-source package installed. Are you
sure that /usr/include contains the header files associated with your running
kernel? [no]
for the hell of it i typed yes and got this
Code:
The directory of kernel headers (version 2.6.0) does not match your running
kernel (version 2.6.3-7mdk-p3-smp-64GB).  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]
can someone give me a hand ?
also i am available on msn if that works for you
Xvium@hotmail.com

Last edited by Xvium; 04-09-2005 at 03:21 PM.
 
Old 04-09-2005, 04:33 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Well, as the message said, "You probably don't have the kernal sources installed." So, got the the Mandrake site, look for the "sources" and install them.

(I don't use Mandrake, so I can't be more specific. Probably something like
Code:
apt-get install Mandrake-2.6.3-7mdk-p3-smp-64GB-kernal-src
, but that's just a (random) guess. There should be some (correct) instructions on the Mandrake web site.
 
Old 04-09-2005, 04:38 PM   #3
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Have you considered following the instructions and downloading and installing the kernel source for your kernel?
 
Old 04-09-2005, 04:53 PM   #4
Xvium
LQ Newbie
 
Registered: Apr 2005
Posts: 23

Original Poster
Rep: Reputation: 15
lol no i havent because before now i didnt even know what the kernel was :P but i will try and do so thx

Last edited by Xvium; 04-09-2005 at 04:56 PM.
 
Old 04-10-2005, 01:14 AM   #5
Xvium
LQ Newbie
 
Registered: Apr 2005
Posts: 23

Original Poster
Rep: Reputation: 15
Ok macemoneta i downladed the kernel from that site and installed the rpm, thx. Now should i leave linux-2.6.3-q7.tar.bz2 and linux-2.6.3.tar.bz2 in the sources dir intact or should i extract them? and where?

thx for the hep guys
 
Old 04-10-2005, 01:45 AM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
You would put the kernel source into /usr/src ... remember, the VMWare install will prompt you for the location of your kernel source, so you can actually put them anywhere, but /usr/src is the standard place. You really need to have the same source as your running kernel (see uname -a to get the version info) or things might not work correctly. There should have been a kernel-source RPM or the equivalent on your Mandrake CDs.
 
Old 04-10-2005, 02:15 AM   #7
Xvium
LQ Newbie
 
Registered: Apr 2005
Posts: 23

Original Poster
Rep: Reputation: 15
ok i have the source rpm for my kernel, i installed it,it dropped a coupple tar files in the /usr/rpm/sources dir. is the source located withing the tarballs? extract the two tarballs to /usr/rpm/sources ?

-edit-- okay i extracted the tars to /usr/src/linux then i went to the vmware config and entered
/usr/src/linux/include as the dir with the c header files and got this message
Code:
The path "/usr/src/linux/include" is an existing directory, but it does not
contain at least one of these directories "linux", "asm", "net" as expected.
in accuality the folder does contain the directorys "linux" and "net" but not asm
mind you there are 22 directorys that start with the letters asm E.g. "asm-alpha, asm-arm, asm-generic"

more help please

Last edited by Xvium; 04-10-2005 at 03:31 AM.
 
Old 04-10-2005, 08:27 AM   #8
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
I don't know where you are getting your source tarballs/rpms from, but if you pick up one of the official mandake source RPMs it will do everything for you, and do it in the fashion that makes mandrake happy.

Specifically, since you have kernel 2.6.3-7mdk-p3-smp-64GB, mandrake wants the kernel sources in /usr/src/inux-2.6.3-7mdk-p3-smp-64GB, with a symlink named /usr/src/linux that points to that directory.

Within that directory, you should have all of these entries:

Code:
3rdparty/  crypto/         include/  kernel/      mm/             scripts/
arch/      Documentation/  init/     lib/         net/            security/
COPYING    drivers/        ipc/      MAINTAINERS  README          sound/
CREDITS    fs/             kdb/      Makefile     REPORTING-BUGS  usr/
You can pick up the official mandrake updates from any number of ftp sites; I commonly use this one:
ftp://ftp.uwsg.indiana.edu/linux/man...tes/10.0/RPMS/
because it is usually up. I also use
ftp://ftp.math.utah.edu/pub/linux/Ma...Mandrake/RPMS/
 
Old 04-10-2005, 11:31 AM   #9
Xvium
LQ Newbie
 
Registered: Apr 2005
Posts: 23

Original Poster
Rep: Reputation: 15
ok got it thx
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing VMware tjgadu Linux - Newbie 1 09-01-2005 05:27 AM
VMWare - Installing VMWare Tools Nightmare jerkmonkee Linux - Newbie 2 11-14-2004 05:52 PM
Installing VMware sgayodhya General 1 10-28-2004 07:06 AM
Installing VMWare true_atlantis Linux - Software 3 10-24-2003 12:37 PM
installing RH 7.1 in vmware illogical Linux - Software 8 11-27-2001 11:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration