#1  
Old 12th September 2007, 12:02
Dy0nisus Dy0nisus is offline
Member
 
Join Date: Jan 2007
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default C Header Files

Hi!

I'm running al Strato - Root - Server with debian 3.1.

While trying to install VMWare - Server i need the path to the kernel header files ... but i only know where they oar NOT

/usr/src/linux/include not existing
/lib/modules/2.6.18-4-686/build/include not existing

Does somebody know where they are?

header-files are installed i checked this with apt.

regards
Reply With Quote
Sponsored Links
  #2  
Old 12th September 2007, 12:23
rayit rayit is offline
Member
 
Join Date: Nov 2005
Posts: 93
Thanks: 0
Thanked 2 Times in 2 Posts
Default maybe this helps?

on debian 4 I do

apt-get install linux-headers-`uname -r` libx11-6 libx11-dev x-window-system-core x-window-system xspecs libxtst6 psmisc build-essential


after that start installation and it should find it automatically

RayIT
Reply With Quote
  #3  
Old 19th September 2007, 00:42
Dy0nisus Dy0nisus is offline
Member
 
Join Date: Jan 2007
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

wired ...

Code:
E: Konnte Paket linux-headers-2.6.8-3-686 nicht finden
this is the error i get ... but the newest kernel should be installed ...
Reply With Quote
  #4  
Old 19th September 2007, 14:01
chuckl chuckl is offline
Senior Member
 
Join Date: May 2007
Location: Uxbridge, Middlesex, UK
Posts: 166
Thanks: 1
Thanked 20 Times in 20 Posts
Default

Normally in Debian, the headers would be in /usr/src/ as a folder called kernel-headers-2.6.8-3-686

Your best course is to run apt-get install linux-headers-2.6.8-3-686 If the headers are installed, apt will say something like 'already latest version', if not it will install them for you.
Reply With Quote
  #5  
Old 19th September 2007, 21:42
Dy0nisus Dy0nisus is offline
Member
 
Join Date: Jan 2007
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

/usr/src is empty ...

a newer kernel should be installed ... dunno why apt wants to install linux-headers-2.6.8-3-686?!
Reply With Quote
  #6  
Old 19th September 2007, 21:49
chuckl chuckl is offline
Senior Member
 
Join Date: May 2007
Location: Uxbridge, Middlesex, UK
Posts: 166
Thanks: 1
Thanked 20 Times in 20 Posts
Default

Sorry, your first post mentioned -4-686, not -3.

What is the result of uname -r?

If usr/src is empty, either you don't have any kernel headers installed, or they're being installed somewhere else. Certainly on any Debian or Ubuntu install I've ever seen that is where they go, but it might be different on a Strat?
Reply With Quote
  #7  
Old 20th September 2007, 11:15
Dy0nisus Dy0nisus is offline
Member
 
Join Date: Jan 2007
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

output: 2.6.8-3-686


but in /lib/modules:

2.6.18-4-686 2.6.18-5-686 2.6.8-3-686

do i have to activate the newer kernel images?
Reply With Quote
  #8  
Old 20th September 2007, 12:03
chuckl chuckl is offline
Senior Member
 
Join Date: May 2007
Location: Uxbridge, Middlesex, UK
Posts: 166
Thanks: 1
Thanked 20 Times in 20 Posts
Default

Then the running kernel is 2.6.8-3-686

There may weel be newer kernels there, but if the running kernel has been patched in any way, quite likely on a strato I would imagine, then they are not going to be loaded. e.g. I have Ubuntu running on a Proliant server that has the HP monitoring software added. Every time I run apt-get upgrade it tells me that 'linux-image-server' has been kept back, for that reason.

But getting back to VMWare, in order to compile a compatible kernel, it needs the source code header files for the running kernel, in you case 2.6.8-3-686, as well as several other libraries.

apt-get install linux-headers-2.6.8-3-686 and
apt-get install libx11-6 libxtst6 libice-dev libsm-dev libxt6

Might need xinetd as well.

That should allow it to do it's thing for your running kernel. Obviously, if you change to a newer kernel, the header requirements here will change.
Reply With Quote
  #9  
Old 20th September 2007, 12:20
Dy0nisus Dy0nisus is offline
Member
 
Join Date: Jan 2007
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

and that is the problem ... apt can't find linux-headers-2.6.8-3-686
Reply With Quote
  #10  
Old 20th September 2007, 12:25
chuckl chuckl is offline
Senior Member
 
Join Date: May 2007
Location: Uxbridge, Middlesex, UK
Posts: 166
Thanks: 1
Thanked 20 Times in 20 Posts
 
Default

Can you post the contents of /etc/apt/sources.list?
Reply With Quote
Reply

Bookmarks

Thread Tools
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
Requesting explanation of config files in /etc/apache2 (Debian Etch, Apache 2.2.3) rjamesd Server Operation 2 24th August 2007 13:16
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 16:05
pure-ftp woes d3th_n1gG4 Server Operation 4 24th January 2007 13:11
Network questions regarding Ubuntu Server lubod Installation/Configuration 7 3rd January 2007 18:53
Cant see my files on my ftp (vsftp) Malarie Installation/Configuration 1 1st December 2006 17:34


All times are GMT +2. The time now is 02:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.