View Full Version : Issues trying to install bumblebee

23rd March 2012, 03:23 PM

I had a look at the Fedora wiki to install the Bumblebee driver for NVidia Optimus cards... and on the command 'make', it gives me this error - make -C /lib/modules/3.3.0-0.rc3.git7.2.fc17.x86_64/build M="$(pwd)" modules
make: *** /lib/modules/3.3.0-0.rc3.git7.2.fc17.x86_64/build: No such file or directory. Stop.
make: *** [default] Error 2

Any ideas on what's going wrong?

23rd March 2012, 03:36 PM
yum install kernel-devel glib2-devel libbsd-devel libX11-devel help2man
There is a long winded thread about compiling and installing Bumblebee here on the Forum. Search for it.

23rd March 2012, 05:46 PM
I just tried that, and yum tells me Setting up Install Process
Package kernel-devel-3.3.0-1.fc17.x86_64 already installed and latest version
Package glib2-devel-2.31.22-1.fc17.x86_64 already installed and latest version
Package libbsd-devel-0.3.0-2.fc17.x86_64 already installed and latest version
Package libX11-devel- already installed and latest version
Package help2man-1.40.6-1.fc17.noarch already installed and latest version
Nothing to do

I think I just found that thread, I'll go through it and see if it helps, thanks!

23rd March 2012, 05:54 PM
Well my question would be why is "make" looking for the "3.3.0-0.rc3.git7.2.fc17.x86_64" development files if your current running kernel is "kernel-3.3.0-1.fc17.x86_64"?

24th March 2012, 01:38 PM
Exactly what I was wondering. Is there any way to make 'make' recognize the newer kernel and not the older kernel? Can I uninstall the older one, and would that force 'make' to look for the newer one?

24th March 2012, 03:56 PM
You could try re-running ./configure and see if that helps.
Uninstalling the "rc3.git7.2" kernel would be another option.

27th March 2012, 06:45 PM
I didn't really have time over the weekend to uninstall the kernel, but this is what happened when I did uninstall the "3.3.0-0.rc3.git7.2.fc17.x86_64" kernel -

Turns out that was the active one, and now my system isn't booting anymore. I'll attempt to switch the kernel being booted and see if that works. I'll update once I've done that.

27th March 2012, 07:29 PM
Well that explains why make was looking for the development files for the 3.3.0-0.rc3.git7.2.fc17.x86_64 kernel, since that was your "running" kernel. I had mistaking assumed since you installed kernel-devel-3.3.0-1.fc17.x86_64 that you would be running the kernel-3.3.0-1.fc17.x86_64 kernel. My bad. And yeah, you don't yum erase the kernel you're currently running. You need to be running another kernel other than the one you want to erase.