I guess you should install rpmbuild and the kernel source to build packages.
hello all.
I download the new ATI driver for linux.
But, I can't build package.
Please, somebody help me.
Thanks.
Code:./ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Fedora/F7 | grep error Created directory fglrx-install.x21726 mv: cannot stat `/tmp/ATI-fglrx-8.42.3-1-21801-hoenny/BUILD/ATI-fglrx-8.42.3/usr/X11R6/lib/modules/dri/*': No such file or directory mv: cannot stat `/tmp/ATI-fglrx-8.42.3-1-21801-hoenny/BUILD/ATI-fglrx-8.42.3/usr/X11R6/lib/*.so.*': No such file or directory error: File not found by glob: /tmp/ATI-fglrx-8.42.3-1-21801-hoenny/tmp/ATI-fglrx-8.42.3-1.f7-root-hoenny/usr/X11R6/lib/modules/dri/* RPM build errors:
I guess you should install rpmbuild and the kernel source to build packages.
I already installed all software in my machine.
Code:rpm -qa | grep rpm rpm-4.4.2.1-1.fc7 rpm-build-4.4.2.1-1.fc7 freshrpms-release-1.1-1.fc rpm-python-4.4.2.1-1.fc7 rpm-libs-4.4.2.1-1.fc7plz, someguy help me under 64bits.Code:rpm -qa | grep kernel kernel-module-ATI-fglrx-2.6.22.7-85.fc7-8.41.7-1.f7 kernel-devel-2.6.22.7-85.fc7 kernel-headers-2.6.22.9-91.fc7 kernel-module-ATI-fglrx-2.6.22.9-91.fc7-8.41.7-1.f7 kernel-2.6.22.7-85.fc7 kernel-devel-2.6.22.9-91.fc7 kernel-2.6.22.9-91.fc7
know what you mean!
tried for 2 hours to get it to install and then almost threw out my laptop!
Michael said something about '64 bit issues', well you can say that again!!! the packaging scripts for 64 bit suck! both for Fedora and Ubuntu appearently
This problem is maybe not copy library of 32bits.
Michael fixed under Ubuntu and Debin, not included Fedora.
So, I edited ati-packger.sh file.
You can view whole of the fixed script.Code:# Merge files from different source directories TMP_RPM_BUILD_DIR=${TMP_DRV_FILES_DIR}/BUILD/ATI-fglrx-${drv_version} mkdir -p ${TMP_RPM_BUILD_DIR} cp -pR ${INSTALLER_ROOT_DIR}/common/* ${TMP_RPM_BUILD_DIR} cp -pR ${INSTALLER_ROOT_DIR}/arch/${ARCH_DIR}/* ${TMP_RPM_BUILD_DIR} cp -pR ${INSTALLER_ROOT_DIR}/${X11_RELEASE}/* ${TMP_RPM_BUILD_DIR} if [ "${release_arch}" = 'x86_64' ]; then cp -pR ${INSTALLER_ROOT_DIR}/arch/x86/usr/X11R6/lib \ ${TMP_RPM_BUILD_DIR}/usr/X11R6/ rm -fr ${TMP_RPM_BUILD_DIR}/usr/X11R6/lib/libfglrx_dm.a rm -fr ${TMP_RPM_BUILD_DIR}/usr/X11R6/lib/libfglrx_gamma.a rm -fr ${TMP_RPM_BUILD_DIR}/usr/X11R6/lib/libfglrx_pp.a rm -fr ${TMP_RPM_BUILD_DIR}/usr/X11R6/lib/libfglrx_tvout.a fi # Move files as required for X11R7-based distribution releases if echo "${X11_RELEASE}"|grep "x7.0" &> /dev/null ; then mv ${TMP_RPM_BUILD_DIR}/usr/X11R6/include/X11 \ ${TMP_RPM_BUILD_DIR}/usr/include mkdir -p ${TMP_RPM_BUILD_DIR}/usr/${ARCH_LIB}/dri mv ${TMP_RPM_BUILD_DIR}/usr/X11R6/${ARCH_LIB}/modules/dri/* \ ${TMP_RPM_BUILD_DIR}/usr/${ARCH_LIB}/dri mkdir -p ${TMP_RPM_BUILD_DIR}/usr/${ARCH_LIB}/xorg/modules mv ${TMP_RPM_BUILD_DIR}/usr/X11R6/${ARCH_LIB}/modules/{drivers,linux} \ ${TMP_RPM_BUILD_DIR}/usr/${ARCH_LIB}/xorg/modules mv ${TMP_RPM_BUILD_DIR}/usr/X11R6/${ARCH_LIB}/modules/esut.a \ ${TMP_RPM_BUILD_DIR}/usr/${ARCH_LIB}/xorg/modules mv ${TMP_RPM_BUILD_DIR}/usr/X11R6/${ARCH_LIB}/modules/glesx.so \ ${TMP_RPM_BUILD_DIR}/usr/${ARCH_LIB}/xorg/modules ln -fs ../../../../${ARCH_LIB}/dri/fglrx_dri.so # Same work around for 32-on-64 if [ "${release_arch}" = 'x86_64' ]; then mkdir -p ${TMP_RPM_BUILD_DIR}/usr/lib/dri #mv ${TMP_RPM_BUILD_DIR}/usr/X11R6/lib/modules/dri/* \ # ${TMP_RPM_BUILD_DIR}/usr/lib/dri ln -fs ../../../../lib/dri/fglrx_dri.so popd &> /dev/null fi fi
http://docs.google.com/Doc?id=ddbph2tz_16hfmq4q
Now, I correctly build package and install new driver.
I'm so happpy.
Code:display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI RADEON 9600 Series OpenGL version string: 2.0.6958 Release
I stumbled upon this thread when I had the problem. I didn't know how to apply the patch to the script, so I posted a new thread where mikeuw helped me.
Refer to
http://www.phoronix.com/forums/showthread.php?p=17662
if you too are stuck. It DOES work!!![]()
1st, you extracted ATI driver for linux.
2nd, you download new script file (ati-packager.sh).Code:./ati-driver-installer-8.42.3-x86.x86_64.run --extract fglrx_8_42
3th, you copy new script file to old script.
4th, you build package.Code:cp new_script_file.sh fglrx_8_42/packages/Fedora/ati-packager.sh
5th, you install package.Code:cd fglrx_8_42 ./ati-installer.sh 8.42.3 --buildpkg Fedora/F7
last, you just reboot.Code:cd .. rpm -ivh ATI-fglrx-8.42.3-1.f7.x86_64 ATI-fglrx-IA32-libs-8.42.3-1.f7.x86_64 ATI-fglrx-control-center-8.42.3-1.f7.x86_64 kernel-module-ATI-fglrx-*