[+] instalacja sterowników fglrx ze strony producenta
: 27 kwietnia 2009, 21:34
Witam.
Niezadowolony z działania sterownika z repozytorium postanowiłem zainstalować sterownik ze strony producenta. Postępowałem zgodnie z tym poradnikiem lecz przy kroku:
otrzymuję następujący błąd:
Z góry dziękuję za pomoc.
Edit: Oczywiście instaluję odpowiednią wersje sterownika. Co do instalacji bez budowania paczek, to spróbuję.
Niezadowolony z działania sterownika z repozytorium postanowiłem zainstalować sterownik ze strony producenta. Postępowałem zgodnie z tym poradnikiem lecz przy kroku:
Kod: Zaznacz cały
sh ./ati-driver-installer-8.25.18-i386.run --buildpkg
Debian/lenny
Kod: Zaznacz cały
biktoria:/home/akaudo/downloads# sh ./ati-driver-installer-9-4-x86.x86_64.run --buildpkg Debian/lenny
Created directory fglrx-install.WNyZeU
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.602..
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Debian/lenny
Package build failed!
Package build utility output:
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 8.602-1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
debian/rules build
dpkg-buildpackage: host architecture amd64
dh_testdir
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
mkdir -p usr/share/doc/fglrx; \
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
fi
# set executable on user apps
find usr/X11R6/bin -type f | xargs chmod a+x
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
usr/X11R6/lib \
usr/X11R6/lib64 \
usr/share usr/src -type f | xargs chmod -x
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib -name "*.sh" -type f | xargs chmod +x
# set proper permissions on /etc files
if [ -d etc/ati ]; then \
chmod 755 etc/ati ; \
chmod 644 etc/ati/* ; \
chmod a+x etc/ati/*.sh ; \
fi
if [ -f debian/fglrx.default ]; then \
mv -v debian/fglrx.default debian/fglrx; \
fi
`debian/fglrx.default' -> `debian/fglrx'
# remove exec bit from 64-bit libs too
find usr/X11R6/lib64 -type f | xargs chmod -x
debian/rules binary
dh_testdir
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
mkdir -p usr/share/doc/fglrx; \
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
fi
# set executable on user apps
find usr/X11R6/bin -type f | xargs chmod a+x
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
usr/X11R6/lib \
usr/X11R6/lib64 \
usr/share usr/src -type f | xargs chmod -x
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib -name "*.sh" -type f | xargs chmod +x
# set proper permissions on /etc files
if [ -d etc/ati ]; then \
chmod 755 etc/ati ; \
chmod 644 etc/ati/* ; \
chmod a+x etc/ati/*.sh ; \
fi
if [ -f debian/fglrx.default ]; then \
mv -v debian/fglrx.default debian/fglrx; \
fi
# remove exec bit from 64-bit libs too
find usr/X11R6/lib64 -type f | xargs chmod -x
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Create the directories to install into
dh_installdirs -pfglrx-driver \
usr \
usr/lib/xorg \
usr/lib/xorg/modules \
usr/lib/dri \
usr/bin \
usr/sbin \
etc/acpi \
etc/acpi/events \
etc/default \
etc/X11/Xsession.d
# the amd64 package includes 32bit compatibility libraries
dh_installdirs -pfglrx-driver \
emul/ia32-linux/usr/lib \
emul/ia32-linux/usr/lib/xorg \
emul/ia32-linux/usr/lib/xorg/modules \
emul/ia32-linux/usr/lib/dri
dh_installdirs -pfglrx-driver-dev \
usr \
usr/include \
usr/lib
dh_installdirs -pfglrx-kernel-src \
usr/src/modules/fglrx \
usr/src/modules/fglrx/debian
dh_installdirs -A -pfglrx-amdcccle \
usr \
usr/bin \
usr/share \
usr/share/applnk \
usr/share/applications \
usr/share/icons \
usr/share/pixmaps
dh_installdirs -p \
usr/src
dh_install
ldconfig -n usr/X11R6/lib/
dh_install -pfglrx-driver "usr/X11R6/bin/fgl*" "usr/bin"
dh_install -pfglrx-driver "usr/X11R6/bin/aticonfig" "usr/bin"
dh_install -pfglrx-driver "usr/sbin/atieventsd" "usr/sbin"
dh_installman -pfglrx-driver "usr/share/man/man8/atieventsd.8"
# amd64 needs some library redirection
dh_install -pfglrx-driver "usr/X11R6/lib64/*.so*" "usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/dri" "usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/linux" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/drivers" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/extensions" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/*.so" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/*.a" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib/*.so*" "emul/ia32-linux/usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/dri" "emul/ia32-linux/usr/lib"
dh_install -pfglrx-driver "etc/fglrx*" "etc"
dh_install -pfglrx-driver "etc/ati" "etc"
dh_install -pfglrx-driver "debian/70fglrx" "etc/X11/Xsession.d"
dh_install -pfglrx-driver "debian/fglrx-powermode.sh" "etc/acpi"
dh_install -pfglrx-driver "debian/fglrx-*-aticonfig" "etc/acpi/events"
dh_install -pfglrx-driver "debian/fglrx" "etc/default"
dh_installinit -pfglrx-driver --name="atieventsd"
# create symlinks to shared libs
dh_link -pfglrx-driver "usr/lib/libGL.so.1.2" "usr/lib/libGL.so.1"
dh_link -pfglrx-driver "emul/ia32-linux/usr/lib/libGL.so.1.2" "emul/ia32-linux/usr/lib/libGL.so.1"
dh_install -pfglrx-driver-dev "usr/X11R6/lib64/*.a" "usr/lib"
dh_install -pfglrx-driver-dev "usr/X11R6/include/*" "usr/include"
dh_install -pfglrx-driver-dev "usr/include/*" "usr/include"
dh_install -pfglrx-kernel-src \
lib/modules/fglrx/build_mod/*.c \
lib/modules/fglrx/build_mod/*.h \
lib/modules/fglrx/build_mod/*.sh \
lib/modules/fglrx/build_mod/lib* \
lib/modules/fglrx/build_mod/2.6.x/Makefile \
usr/src/modules/fglrx
dh_install -pfglrx-kernel-src "debian/changelog" "usr/src/modules/fglrx/debian"
dh_install -pfglrx-kernel-src \
debian/copyright \
debian/compat \
module/rules \
module/control.template \
module/dirs.template \
module/postinst \
usr/src/modules/fglrx/debian
(cd debian/fglrx-kernel-src/usr/src \
&& chown -R root:src modules \
&& tar -jcf fglrx.tar.bz2 modules \
&& rm -rf modules)
# control panel package
dh_install -A -pfglrx-amdcccle "usr/X11R6/bin/amdcccle" "usr/bin"
dh_install -A -pfglrx-amdcccle "usr/share/icons/*.xpm" "usr/share/icons"
dh_install -A -pfglrx-amdcccle "usr/share/icons/*.xpm" "usr/share/pixmaps"
dh_install -A -pfglrx-amdcccle "debian/amdcccle.desktop" "usr/share/applications"
dh_install -A -pfglrx-amdcccle "debian/amdcccle.kdelnk" "usr/share/applnk"
dh_install -A -pfglrx-amdcccle "usr/share/ati" "usr/share"
dh_desktop -pfglrx-amdcccle
dh_installdocs
dh_installdocs -pfglrx-driver usr/share/doc/fglrx/*
#dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_installdeb
dh_makeshlibs
dh_shlibdeps
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: failure: couldn't find library libstdc++.so.5 needed by debian/fglrx-driver/usr/lib/libAMDXvBA.so.1.0 (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make: *** [binary] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.WNyZeU
Edit: Oczywiście instaluję odpowiednią wersje sterownika. Co do instalacji bez budowania paczek, to spróbuję.