Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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