Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This docmentation looks well laid out, very well written, and very in-depth. It might be worth really digging through it to get some answers. The section regarding "Creating a New Virtual Machine" might be what you're looking for -- it pretty much steps you through it.
i have tried to follow the steps there, but the console gave such a message :
-----------------
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)?
----------------------
then after selecting yes, it says :
------------------------------------
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]
----------------------------------------------
What is the location of this header files or how can i find their location ?
You'll need your kernel-source RPM if your kernel sources are not installed. Look in /usr/src/linux and /usr/local/src/linux -- if one of those directories is non-empty,. you're probably OK, Otherwise install your kernel sources, and they should be put into /usr/src/linux.
There should be a kernel-source RPM that came with your Mandrake distro. You should find it and install it. It's very important that the kernel source is for the exact kernel that your system runs, otherwise things will fail in strange ways, so therefore you need to use Mandrake's kernel source package.
i installed the file : kernel-source-2.4.19-16mdk.i586.rpm
and then : kernel-headers-2.4.18-41mdk.i586.rpm
and then : gcc3.4-doc-3.4.0-0.4mdk.i586.rpm
but it gives such an error :
--------------
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux
The path "/usr/src/linux" is an existing directory, but it does not contain at
least one of these directories "linux", "asm", "net" as expected.
-----------------
and the content of linux is :
---------------
[root@localhost src]# cd linux
[root@localhost linux]# ls
3rdparty/ Documentation/ include/ kernel/ mm/ Rules.make
arch/ drivers/ init/ lib/ net/ scripts/
COPYING fs/ ipc/ MAINTAINERS README sound/
CREDITS grsecurity/ kdb/ Makefile REPORTING-BUGS
------------------------------------------- what is to do now ?
Last edited by baybocukcu; 07-29-2004 at 01:41 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.