Hi!

Having trouble building the ati-fglrx drivers for FC6 with kernel 2.6.18-1.2759 also hade the same problem with the 2747 version of the kernel.

To begin with when i do
sh ./ati-driver-installer-8.29.6.run --buildpkg Fedora/FC6

this comes upp

Generating package: Fedora/FC6
install: cannot stat `fireglcontrolpanel': No such file or directory
Package build failed!

Ok so it's something wrong with the control panel or whatever realy don't care but then it starts to build the driver and then crashes. I Have been googleing around for three days now and havent found any solution.

Her is what console spits out.

Creating directory fglrx-install
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.29.6............................................ .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Fedora/FC6
install: cannot stat `fireglcontrolpanel': No such file or directory
Package build failed!
Package build utility output:
Building target platforms: i386
Building for target i386
Executing(%prep): /bin/sh -e /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/rpm-tmp.24966
+ umask 022
+ cd /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD
+ cd ATI-fglrx-8.29.6
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/rpm-tmp.24966
+ umask 022
+ cd /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD
+ cd ATI-fglrx-8.29.6
+ LANG=C
+ export LANG
+ unset DISPLAY
+ exit 0
Executing(%install): /bin/sh -e /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/rpm-tmp.24966
+ umask 022
+ cd /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD
+ cd ATI-fglrx-8.29.6
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root
+ '[' -d /etc/ld.so.conf.d ']'
+ mkdir -p /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/etc/ld.so.conf.d
+ pushd /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/etc/ld.so.conf.d
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/etc/ld.so.conf.d /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6
+ cat
+ popd
/tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6
+ mkdir -p /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/usr/share/applications
+ pushd /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/usr/share/applications
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/usr/share/applications /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6
+ cat
+ popd
/tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6
+ cp -pR /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6/etc /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6/lib /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6/usr /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root
+ find /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/usr/share/doc -type f -perm 0555 -exec chmod 0644 '{}' ';'
+ find /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root -type f -perm 0555 -exec chmod 0755 '{}' ';'
+ export AS_USER=y
+ AS_USER=y
+ pushd /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6
+ bash make.sh verbose
ATI module generator V 2.0
==========================
initializing...
OsRelease=2.6.18-1.2759.fc6
major=2
minor=6
patch=18
extra=-1.2759.fc6
SMP=1
smp=-SMP
iii=
AGP=1
CC=gcc
cc_version=
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.18-1.2759.fc6/build SUBDIRS=/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2759.fc6-i686'
CC [M] /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:92:26: error: linux/config.h: No such file or directory
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:459: warning: initialization from incompatible pointer type
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_stub_open':
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:582: warning: assignment discards qualifiers from pointer target type
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_smp_call_function':
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3896: warning: passing argument 1 of 'smp_call_function' from incompatible pointer type
make[2]: *** [/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2759.fc6-i686'
make: *** [kmod_build] Error 2
build failed with return value 2
error: Bad exit status from /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/rpm-tmp.24966 (%install)


RPM build errors:
Bad exit status from /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/rpm-tmp.24966 (%install)
Removing temporary directory: fglrx-install

I also tried to build generic packages but with the same resulte.

Can someone pleas help me or if ther ar any others out there that are getting the same error.

ps. I have tried runing the ati-driver-***.run as root and non root doesent make any difference, my video card is as FireGLV3100 and this driver has worked with this card on other dist but not with a kernel 2.6.18.ds

Cheers