On Mon, 7 Apr 2014 16:32:33 +0100 mick mbm@rlogin.net wrote:
Chris
You are clearly trying to install from source (probably from a tarball you have obtained from amd). But the reference I found (and gave in my intial response) points to a binary installer. I have just downloaded that package and run it and it opens an installation front end which asks you to select from two options "Install driver 8.97.100.7 on ..." or "Generate Distribution Specific Driver Package".
Before we go any further, are you using the same tool as me? I think the binary installer may save you some grief.
I've never tried installing from a tarball, only from the installer you describe here.
I do not have either Mageia or an AMD HD card here so I cannot emulate what you are doing (and have not gone beyond opening the installer to the stage quoted). What I can say is that compiling any driver from source will require you to have installed, at the minimum, the kernel header files and the *-dev or *-devel packages (which contain headers for dependent packages) and not just the dependent package files. So for example, if driver foo depends on package bar, you need to have installed the "bar-dev" package containing the development files for package bar, and not just the "bar" package.
As you say, you have neither the distro or hardware to go any further, so I'll tell you what happens here.
It first displays 'You are running a x86_64 machine with glibc-2.1' and then tells me I'm running Mandrake/Mandriva Linux 4.0. Mageia was developed from Mandriva so I'm happy to accept that.
At the end of your first paragraph you describe the 2 options. 1 is preselected here and is what I choose. I am then told again about the glibc and the OS.
Bear in mind that in trying to identify what's contributing to the failure, I've removed lots of things. The state of play is this :- For fglrx, nothing is installed. For kernel, kernel-desktop-3.12.13-2.mga4 is installed and greyed out so that I can't remove it even if I wanted to. Ditto for kernel-firmware. kernel-userspace-headers are installed but I could remove them if I need to or am advised to. virtualbox-kernel-3.12.13-desktop-2.mga4 is installed virtualbox-kernel-desktop-latest is also installed showing a version of 4.3.6, release 11.mga4 and VB is currently running and working having updated it today.
So now, having gone past the selection described above, the install fails with 'One or more tools for installation cannot be found on the system. It tells me I can force the install but I'll give that a body swerve.
If I look at the install.log file, it says this :- fglrx installation requires that the system have kernel headers. /lib/modules/3.12.13-desktop-2.mga4/build/include/linux/version.h cannot be found on this system.
I've had problems already trying to find the correct version.h file as the one described in a web posting, is empty apart from a load of error lines. That instruction was :- 'cp-v /usr/include/linux/version.h /lib/modules/$VERSION/build/include/linux/ where $VERSION should equal uname -r'.
So I'd like to know which things I need to install before I give the graphics stuff another try. I *think* I should be able to find a working copy of version.h somewhere on my system but I won't copy it over until I need to.