Amigo This forum is for the discussion of Amigo Linux. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-18-2005, 06:00 AM
|
#1
|
Member
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39
Rep:
|
VMware & "directory of C header files"
Hi Guys
I'm installing VMware Workstation 5 and it's got me stumped at the "directory of C header files" prompt. Anybody know where these are. Hunted all over, tried several tricks to locate them (unusable results via fgrep), Googled 'til my eyes and fingers got sore, but no joy.
Thanks,
Mike (pacranch)
|
|
|
04-18-2005, 09:31 AM
|
#2
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
|
I'm not familiar with setting up VMWARE, but the Amigo C header files used for compiling programs are in /usr/include.
|
|
|
04-18-2005, 09:38 AM
|
#3
|
Member
Registered: Aug 2003
Posts: 150
Rep:
|
I'm not at all familiar with Amigo, but you need to make sure you have your kernel source and kernel headers (for your running kernel) installed to allow vmware to compile its kernel module against...
|
|
|
04-18-2005, 02:55 PM
|
#4
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
|
Does vmware compile a C-coded kernel module, or what? There are some programs that require the kernel source to be installed only to know the version number.
|
|
|
04-18-2005, 04:47 PM
|
#5
|
Member
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39
Original Poster
Rep:
|
One from Column A (keos, good idea, but too unfocused to use - but excellent thinking), and one fromColumn B (Gnashley, it needs the C headers that match the kernel - and yes, it will match all this against the kernel number, so both are needed). The ***exact*** error is:
"What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]"
Any attempt to fake it out by giving it just the C headers produces an error about how the C headers are nice and all, but ***not*** the ones used to compile the kernel. I've encountered advice for other distros that says I need to install the C Headers for my distro (Amigo), but haven't a clue how to do that ***or*** if that would fix the problem.
In advance,
Thanks,
Mike (pacranch)
|
|
|
04-19-2005, 01:24 AM
|
#6
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
|
Usually these things are looking for one of several files called version.h or something. These files are generated when you configure or compile a kernel on your machine.
In order to do this on Amigo, you'll need to install
kernel source code be sure and match running version or later if you'd like to upgrade your running kernel. install:
make
binutils
perl
gcc
Then, after unpacking the source code in /usr/src create a link to the folder:
ln -s linux-2.4.29 linux
Then:
cd linux
make menuconfig
Just saving the configuration may be enough for vmware to do it's thing. If not, compile a kernel by typing:
make dep
and then:
make bzImage
Now I'm sure that vmware has what it needs -you don't HAVE to install the kernel, unless it is a different version from what you are running.
|
|
|
04-21-2005, 04:29 PM
|
#7
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
|
Did you get vmware working? I've just recieved an e-mail from someone who has.
|
|
|
04-21-2005, 09:10 PM
|
#8
|
Member
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39
Original Poster
Rep:
|
Haven't tried yet, got caught up in finding a "non insane" (???) c compiler for some other stuff.
Mike (pacranch)
|
|
|
05-08-2005, 02:49 AM
|
#9
|
Member
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39
Original Poster
Rep:
|
Back In The Saddle
Keep getting hit with a missing modversions.h file error. All the other parts run smoothoy up 'til that. Tried lots of ways to get around it, Googled all over, but no joy. Apparently modversions.h is 100% missing from AmigoLinux, but VMware needs it. How do I get a copy of it (Kernel 2.4.25) and just copy it into the correct dir so VMware can finish its installation.
Thanks,
Mike (pacranch)
|
|
|
05-09-2005, 01:26 AM
|
#10
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
|
You can get a copy of the source code for kernel 2.4.25 from kernel.org.
You may need to actually configure and compile a kernel in order for the modversions.h header file to be generated. This doesn't mean that you have to install it(new kernel), though.
|
|
|
05-09-2005, 08:00 PM
|
#11
|
Member
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39
Original Poster
Rep:
|
When in doubt...
Decided to just go balls out and added a blankfile (modversions.h) where the installer was looking for it ***and*** VMware installed and runs. Apparently it doesn't need that modversions.h file in Amigo, but the installer looks for it anyway?
Thanks for all the help,
Mike (pacranch)
|
|
|
05-11-2005, 10:37 PM
|
#12
|
LQ Newbie
Registered: Mar 2005
Posts: 15
Rep:
|
Not the first time an app had a hardcoded filename in a test loop, and would not go on without it. Did it put anything into that file, or just look to see that it exists?
|
|
|
05-14-2005, 04:39 PM
|
#13
|
Member
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39
Original Poster
Rep:
|
|
|
|
All times are GMT -5. The time now is 07:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|