我的错误提示,请达人相助
bash ./ati.run --buildpkg Ubuntu/gutsy Created directory fglrx-install.DO7865
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.42.3................................................................................
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Ubuntu/gutsy
Package build failed!
Package build utility output:
dpkg-buildpackage: source package is fglrx-installer
dpkg-buildpackage: source version is 8.42.3-1
dpkg-buildpackage: source changed by ATI Technologies Inc. <
http://ati.amd.com/support/driver.html>
dpkg-buildpackage: host architecture amd64
dpkg-buildpackage: source version without epoch 8.42.3-1
debian/rules build
echo "Using architecture: amd64"
Using architecture: amd64
if [ -f /tmp/fglrx.Ny7977/debian/control.template ]; then \
cat /tmp/fglrx.Ny7977/debian/control.template > /tmp/fglrx.Ny7977/debian/control; \
fi
for i in preinst postinst postrm shlibs atieventsd.init ; do \
if [ -f /tmp/fglrx.Ny7977/debian/driver.$i ]; then \
sed -e "s/#PKGNAME#/xorg-driver-fglrx/" \
-e "s/#DISTRO#/gutsy/" /tmp/fglrx.Ny7977/debian/driver.$i > \
/tmp/fglrx.Ny7977/debian/xorg-driver-fglrx.$i; \
fi; \
done
if [ -f /tmp/fglrx.Ny7977/debian/10fglrx.template ]; then \
sed -e "s|#XMODDIR#|usr/lib|" -e "s|#XMODDIR32#|usr/lib32|" \
/tmp/fglrx.Ny7977/debian/10fglrx.template > /tmp/fglrx.Ny7977/debian/10fglrx; \
fi
if [ -f /tmp/fglrx.Ny7977/debian/fglrx.default ]; then \
mv /tmp/fglrx.Ny7977/debian/fglrx.default /tmp/fglrx.Ny7977/debian/fglrx; \
fi
dh_testdir
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: usr/X11R6/lib: No such file or directory
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib -name "*.sh" -type f | xargs chmod +x
# remove exec bit from 64-bit libs too
find usr/X11R6/lib64 -type f | xargs chmod -x
dh_testdir
fakeroot debian/rules binary
echo "Using architecture: amd64"
Using architecture: amd64
if [ -f /tmp/fglrx.Ny7977/debian/control.template ]; then \
cat /tmp/fglrx.Ny7977/debian/control.template > /tmp/fglrx.Ny7977/debian/control; \
fi
for i in preinst postinst postrm shlibs atieventsd.init ; do \
if [ -f /tmp/fglrx.Ny7977/debian/driver.$i ]; then \
sed -e "s/#PKGNAME#/xorg-driver-fglrx/" \
-e "s/#DISTRO#/gutsy/" /tmp/fglrx.Ny7977/debian/driver.$i > \
/tmp/fglrx.Ny7977/debian/xorg-driver-fglrx.$i; \
fi; \
done
if [ -f /tmp/fglrx.Ny7977/debian/10fglrx.template ]; then \
sed -e "s|#XMODDIR#|usr/lib|" -e "s|#XMODDIR32#|usr/lib32|" \
/tmp/fglrx.Ny7977/debian/10fglrx.template > /tmp/fglrx.Ny7977/debian/10fglrx; \
fi
if [ -f /tmp/fglrx.Ny7977/debian/fglrx.default ]; then \
mv /tmp/fglrx.Ny7977/debian/fglrx.default /tmp/fglrx.Ny7977/debian/fglrx; \
fi
dh_testdir
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: usr/X11R6/lib: No such file or directory
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib -name "*.sh" -type f | xargs chmod +x
# remove exec bit from 64-bit libs too
find usr/X11R6/lib64 -type f | xargs chmod -x
dh_testdir
dh_testdir
dh_testroot
dh_clean -k
rm -f /tmp/fglrx.Ny7977/debian/control
sed -e 's/#XSERVER#/xorg/g' debian/control.template > /tmp/fglrx.Ny7977/debian/control
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Create the directories to install into
dh_installdirs -pxorg-driver-fglrx \
usr/lib \
usr/sbin \
usr/lib \
usr/lib/xorg/modules \
usr/lib/xorg/modules/drivers \
usr/lib/xorg/modules/linux \
etc/acpi \
etc/acpi/events \
etc/default \
etc/X11/Xsession.d
# the amd64 package includes 32bit compatibility libraries
dh_installdirs -pxorg-driver-fglrx \
usr/lib32 \
usr/lib32
dh_installdirs -A -pxorg-driver-fglrx \
usr/bin \
usr/sbin \
usr/share \
usr/share/applnk \
usr/share/gnome \
usr/share/gnome/apps \
usr/share/icons \
usr/share/pixmaps
dh_installdirs -pxorg-driver-fglrx-dev \
usr/include \
usr/lib
dh_installdirs -pfglrx-kernel-source \
usr/src/modules/fglrx \
usr/src/modules/fglrx/debian
dh_install
# Driver package
dh_install -pxorg-driver-fglrx "usr/X11R6/bin/fgl*" "usr/bin"
dh_install -pxorg-driver-fglrx "usr/X11R6/bin/aticonfig" "usr/bin"
dh_install -pxorg-driver-fglrx "usr/sbin/atieventsd" "usr/sbin"
dh_installman -pxorg-driver-fglrx "usr/share/man/man8/atieventsd.8"
# amd64 needs some library redirection
dh_install -pxorg-driver-fglrx "usr/X11R6/lib64/*.so*" "usr/lib"
dh_install -pxorg-driver-fglrx "usr/X11R6/lib64/modules/dri" "usr/lib"
dh_install -pxorg-driver-fglrx "usr/X11R6/lib64/modules/linux" "usr/lib/xorg/modules"
dh_install -pxorg-driver-fglrx "usr/X11R6/lib64/modules/drivers" "usr/lib/xorg/modules"
dh_install -pxorg-driver-fglrx "usr/X11R6/lib64/modules/*.so" "usr/lib/xorg/modules"
dh_install -pxorg-driver-fglrx "usr/X11R6/lib64/modules/*.a" "usr/lib/xorg/modules"
dh_install -pxorg-driver-fglrx "usr/X11R6/lib/*.so*" "usr/lib32"
dh_install -pxorg-driver-fglrx "usr/X11R6/lib/modules/dri" "usr/lib32"
cp: cannot stat `./usr/X11R6/lib/modules/dri': No such file or directory
dh_install: command returned error code 256
make: *** [binary] Error 1
Removing temporary directory: fglrx-install.DO7865
seoul@seoul:~$ sudo gedit /etc/default/linux-restricted-modules-common
seoul@seoul:~$ sudo dpkg -i xorg-driver-fglrx_*.deb fglrx-kernel-source*.deb fglrx-amdcccle*.deb
dpkg:处理 xorg-driver-fglrx_*.deb (--install)时出错:
无法访问打包文件: No such file or directory
dpkg:处理 fglrx-kernel-source*.deb (--install)时出错:
无法访问打包文件: No such file or directory
dpkg:处理 fglrx-amdcccle*.deb (--install)时出错:
无法访问打包文件: No such file or directory
在处理时有错误发生:
xorg-driver-fglrx_*.deb
fglrx-kernel-source*.deb
fglrx-amdcccle*.deb