LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Amigo
User Name
Password
Amigo This forum is for the discussion of Amigo Linux.

Notices



Reply
 
Search this Thread
Old 04-18-2005, 06:00 AM   #1
pacranch
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39

Rep: Reputation: 15
Talking 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)

 
Old 04-18-2005, 09:31 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
I'm not familiar with setting up VMWARE, but the Amigo C header files used for compiling programs are in /usr/include.
 
Old 04-18-2005, 09:38 AM   #3
zeos
Member
 
Registered: Aug 2003
Posts: 150

Rep: Reputation: 15
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...
 
Old 04-18-2005, 02:55 PM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
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.
 
Old 04-18-2005, 04:47 PM   #5
pacranch
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39

Original Poster
Rep: Reputation: 15
Question

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)
 
Old 04-19-2005, 01:24 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
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.
 
Old 04-21-2005, 04:29 PM   #7
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Did you get vmware working? I've just recieved an e-mail from someone who has.
 
Old 04-21-2005, 09:10 PM   #8
pacranch
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39

Original Poster
Rep: Reputation: 15
Cool

Haven't tried yet, got caught up in finding a "non insane" (???) c compiler for some other stuff.

Mike (pacranch)
 
Old 05-08-2005, 02:49 AM   #9
pacranch
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39

Original Poster
Rep: Reputation: 15
Cool 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)

 
Old 05-09-2005, 01:26 AM   #10
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
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.
 
Old 05-09-2005, 08:00 PM   #11
pacranch
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39

Original Poster
Rep: Reputation: 15
Cool 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)

 
Old 05-11-2005, 10:37 PM   #12
g2jp36695
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Rep: Reputation: 0
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?
 
Old 05-14-2005, 04:39 PM   #13
pacranch
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39

Original Poster
Rep: Reputation: 15
Cool



Nope, didn't alter it at all. Guess it just wanted to see the file where it wanted to see it and moved on without using it (or really needing it - weird!).

Mike (pacranch)

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Useful article: "Linux File & Directory Permission Mistakes" sundialsvcs Linux - Security 1 08-15-2005 12:50 PM
where are my "C header files"? learnfast Linux - Newbie 5 03-15-2005 10:38 AM
"Cannot find header source files" when trying to install Nvidia 6111 drivers naddad Linux - Newbie 3 08-31-2004 01:42 PM
How do I get "Kernel Header" files so I can install nVidia drivers Stevetgn Linux - Newbie 4 01-14-2004 06:57 PM
Gnome "Search for Files..." not into hidden directory max74 Linux - Software 2 09-11-2003 07:53 PM


All times are GMT -5. The time now is 08:03 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration