Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have downloaded the fglrx driver installer from the ATI drivers page.

when I start the installation, everything goes smoothly until I hit an error message, telling me to check /usr/share/ati/fglrx-install.log.

The contents of that file are as follows:

Check if system has the tools required for installation. fglrx installation requires that the system have kernel headers. /lib/modules/3.8.11-200.fc18.x86_64/build/include/linux/version.h cannot be found on this system. One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver. Optionally, run the installer with --force option to install without the tools. Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.

Now, after a bit of searching around, I found that the symbolic link called build in /lib/modules/3.8.11-200.fc18.x86_64 points to a nonexistent location.

I installed the kernel-devel package, and now it had pointed to an existing directory.

However, in the /lib/modules/3.8.11-200.fc18.x86_64/build/include/linux/ directory, that is populated with various header files - I cannot find the one I need - version.h.

How can I solve this problem? Should I install the driver in a different manner? Which other package can I install to get the version.h file?

I'm running a clean install (default) of Fedora 18, which I had updated today.

share|improve this question

1 Answer 1

up vote 6 down vote accepted

Install the kernel-headers package and try again. If it doesn't work, try

cp -v /usr/include/linux/version.h /lib/modules/$VERSION/build/include/linux

Make sure that $VERSION corresponds with what you get when typing uname -r.

share|improve this answer
    
I'm afraid that the file is still not there. –  jco May 12 '13 at 16:41
    
Edited my answer. –  schaiba May 12 '13 at 16:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.