How to properly install Radeon drivers?

From: Dragec (dragec_at_softhome.net)
Date: 12/06/03


Date: Sat, 06 Dec 2003 09:34:26 +0100

I downloaded FireGL drivers from ati.com, and followed README, which says
to install package with --force option. Just to mention, I have
kernel-source installed. So:

dragec:/home/dragec # rpm -Uvh fglrx-glc22-4.3.0-3.2.8.i586.rpm --force
Preparing... ########################################### [100%]
   1:fglrx-glc22 ########################################### [100%]
*** Trying to install a precompiled kernel module.
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware acclerated
OpenGL will not work and 2D graphics will lack performance.

failed.
*** Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /lib/modules/2.4.21-99-athlon/build/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware acclerated
OpenGL will not work and 2D graphics will lack performance.

failed.
/sbin/ldconfig: File /usr/X11R6/lib/FGL.renamed.libGL.so.1.2 is too small, not checked.
Installed: qt3 (gcc 3.2) based control panel application
 ===
ATI display drivers successfully installed
please run 'fglrxconfig' now
 ===

2D picture is excellent, but I would also like to have 3D acceleration and
TV-out. So let's follow the instructions:

dragec:/home/dragec # cd /lib/modules/fglrx/build_mod/
dragec:/lib/modules/fglrx/build_mod # ./make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /lib/modules/2.4.21-99-athlon/build/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.

??? XFree version is 4.3.0. As far as I know, this is higher than 4.1.0.
So, what now?