Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Got an error with VirtualBox


  • Please log in to reply

#1
Nikolasr

Nikolasr

    Member

  • Member
  • PipPip
  • 63 posts
Hello finally i install virtualbox on centos,and i got this in log.
** Compiling vboxdrv
Makefile:152: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.

Tell me what to do,i need this urgently.


Thank you.
  • 0

Advertisements


#2
silverbeard

silverbeard

    Trusted Tech

  • Member
  • PipPipPip
  • 791 posts
Did You Download and Install the Kernel Source code from the repository?

Edited by silverbeard, 11 February 2010 - 12:29 PM.

  • 0

#3
Nikolasr

Nikolasr

    Member

  • Topic Starter
  • Member
  • PipPip
  • 63 posts
how to do that
  • 0

#4
silverbeard

silverbeard

    Trusted Tech

  • Member
  • PipPipPip
  • 791 posts
What Distro? What Package manager?
Open the Package Manager and use the search feature for Linux-Kernel source.
  • 0

#5
Nikolasr

Nikolasr

    Member

  • Topic Starter
  • Member
  • PipPip
  • 63 posts
Im using CenOS
  • 0

#6
silverbeard

silverbeard

    Trusted Tech

  • Member
  • PipPipPip
  • 791 posts
Haven't use a RedHat/fedora Based distro in years. But the package manager for Gnome is usually Synaptic. But Fedora uses Yum. I would think that there is something to install software in the system menu. That should launch the package manager.

Looking at a screenshot it looks like the package manager is in applications look

Edited by silverbeard, 11 February 2010 - 01:02 PM.

  • 0

#7
Nikolasr

Nikolasr

    Member

  • Topic Starter
  • Member
  • PipPip
  • 63 posts
I must use package manager?
  • 0

#8
hawklord

hawklord

    Member

  • Member
  • PipPipPip
  • 400 posts
best bet is download virtualbox from here

http://www.virtualbo...Linux_Downloads

use the download for this version > Red Hat Enterprise Linux 5 ("RHEL5") / CentOS 5
if you have an intel or similar cpu then choose i386 (32 bit), if you have amd then choose amd64 (64 bit)

the one that is supplied in the repositories is the open source version and i have found it lacking, so i use the free sun version,

you may have to uninstall the one you already have
  • 0

#9
silverbeard

silverbeard

    Trusted Tech

  • Member
  • PipPipPip
  • 791 posts
Download the source .rpm here. Clicking on it should launch the package manager installer.

Or from command line as root
yum install kernel-2.6.18-164.el5.src

Or READ THIS

Edited by silverbeard, 12 February 2010 - 08:15 AM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP