sh amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty
照猫画虎后 ,换成自己下载好的驱动,
sh amd-driver-installer-14.20-x86.x86_64.run --buildpkg Ubuntu/trusty
Created directory fglrx-install.GqmkEk
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-14.20........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Generating package: Ubuntu/trusty
[sudo] password for luna:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
build-essential fakeroot g++ g++-4.8 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot
libstdc++-4.8-dev
Suggested packages:
debian-keyring g++-multilib g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg
libstdc++-4.8-doc
The following NEW packages will be installed:
build-essential dpkg-dev fakeroot g++ g++-4.8 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot
libstdc++-4.8-dev
0 upgraded, 10 newly installed, 0 to remove and 114 not upgraded.
Need to get 8970 kB of archives.
After this operation, 30.7 MB of additional disk space will be used.
Get:1
http://cn.archive.ubuntu.com/ubuntu/ trusty/main libstdc++-4.8-dev i386 4.8.2-19ubuntu1 [1058 kB]
Get:2
http://cn.archive.ubuntu.com/ubuntu/ trusty/main g++-4.8 i386 4.8.2-19ubuntu1 [7023 kB]
Get:3
http://cn.archive.ubuntu.com/ubuntu/ trusty/main g++ i386 4:4.8.2-1ubuntu6 [1500 B]
Get:4
http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.3 [726 kB]
Get:5
http://cn.archive.ubuntu.com/ubuntu/ trusty/main build-essential i386 11.6ubuntu6 [4824 B]
Get:6
http://cn.archive.ubuntu.com/ubuntu/ trusty/main libfakeroot i386 1.20-3ubuntu2 [25.4 kB]
Get:7
http://cn.archive.ubuntu.com/ubuntu/ trusty/main fakeroot i386 1.20-3ubuntu2 [55.4 kB]
Get:8
http://cn.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]
Get:9
http://cn.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl i386 0.04-2build4 [13.1 kB]
Get:10
http://cn.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
Fetched 8970 kB in 29s (306 kB/s)
Selecting previously unselected package libstdc++-4.8-dev:i386.
(Reading database ... 171744 files and directories currently installed.)
Preparing to unpack .../libstdc++-4.8-dev_4.8.2-19ubuntu1_i386.deb ...
Unpacking libstdc++-4.8-dev:i386 (4.8.2-19ubuntu1) ...
Selecting previously unselected package g++-4.8.
Preparing to unpack .../g++-4.8_4.8.2-19ubuntu1_i386.deb ...
Unpacking g++-4.8 (4.8.2-19ubuntu1) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_i386.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.3_all.deb ...
Unpacking dpkg-dev (1.17.5ubuntu5.3) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.6ubuntu6_i386.deb ...
Unpacking build-essential (11.6ubuntu6) ...
Selecting previously unselected package libfakeroot:i386.
Preparing to unpack .../libfakeroot_1.20-3ubuntu2_i386.deb ...
Unpacking libfakeroot:i386 (1.20-3ubuntu2) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20-3ubuntu2_i386.deb ...
Unpacking fakeroot (1.20-3ubuntu2) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.02-3) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_i386.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up libstdc++-4.8-dev:i386 (4.8.2-19ubuntu1) ...
Setting up g++-4.8 (4.8.2-19ubuntu1) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up dpkg-dev (1.17.5ubuntu5.3) ...
Setting up build-essential (11.6ubuntu6) ...
Setting up libfakeroot:i386 (1.20-3ubuntu2) ...
Setting up fakeroot (1.20-3ubuntu2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.02-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Resolving build dependencies...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package (>
E: Unable to locate package 2
Unable to resolve debhelper dh-modaliases xserver-xorg-dev (>= 2. Please manually install and try again.
Package build failed!
Package build utility output:
./packages/Ubuntu/ati-packager.sh: 294: ./packages/Ubuntu/ati-packager.sh: debclean: not found
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:14.200-0ubuntu1
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: source changed by AMD: Advanced Micro Devices. <
http://ati.amd.com/support/driver.html>
dpkg-source --before-build fglrx.PHtK0s
dpkg-buildpackage: host architecture i386
debian/rules build
#Create important strings
for i in 10fglrx \
dkms.conf \
fglrx.install \
fglrx-dev.install \
fglrx-dev.links \
fglrx-amdcccle.install \
fglrx.grub-gfxpayload \
fglrx.dirs \
fglrx.links \
fglrx.postinst \
fglrx.postrm \
fglrx.preinst \
fglrx.prerm \
overrides/fglrx; do \
sed -e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
-e "s|#LIBDIR#|usr/lib|g" \
-e "s|#LIBDIR32#|usr/lib32|g" \
-e "s|#BINDIR#|usr/bin|g" \
-e "s|#SYSCONFDIR#|etc|g" \
-e "s|#MANDIR#|usr/share/man/man1|g" \
-e "s|#LDSOCONF#|usr/lib/fglrx/ld.so.conf|g" \
-e "s|#ALTLDSOCONF#|usr/lib/fglrx/alt_ld.so.conf|g" \
-e "s|#ALTPRIORITY#|1000|g" \
-e "s|#PXALTPRIORITY#|900|g" \
-e "s|#AUTOSTARTDIR#|etc/xdg/autostart|g" \
-e "s|#DATADIR#|usr/share|g" \
-e "s|#PKGDESKDIR#|usr/share/fglrx|g" \
-e "s|#PKGDATADIR#|usr/share/fglrx|g" \
-e "s|#PKGCONFIGDIR#|usr/lib/fglrx|g" \
-e "s|#PKGBINDIR#|usr/lib/fglrx/bin|g" \
-e "s|#PKGLIBDIR#|usr/lib/fglrx|g" \
-e "s|#PKGLIBDIR32#|usr/lib32/fglrx|g" \
-e "s|#PKGDRIVERSDIR#|usr/lib/fglrx/xorg|g" \
-e "s|#XORGEXTRA#|usr/lib/i386-linux-gnu/xorg/extra-modules|g" \
-e "s|#PKGEXTENSIONDIR#|usr/lib/fglrx/xorg|g" \
-e "s|#XORGEXTENSIONSDIR#|usr/lib/xorg/modules/extensions|g" \
-e "s|#DRIVERNAME#|fglrx|g" \
-e "s|#DRIVERDEVNAME#|fglrx-dev|g" \
-e "s|#DRIVERSRCNAME#||g" \
-e "s|#INCLUDEDIR#|usr/include|g" \
-e "s|#PKGLIBCONFDIR#|lib/fglrx|g" \
-e "s|#GRUBBLKLISTDIR#|usr/share/grub-gfxpayload-lists/blacklist|g" \
-e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
-e "s|#PXDIR#|usr/lib/pxpress|g" \
-e "s|#PXDIR32#|usr/lib32/pxpress|g" \
-e "s|#PXXMODDIR#|usr/lib/pxpress/xorg/modules|g" \
-e "s|#PXDIRNAME#|pxpress|g" \
-e "s|#PXLIBDIR#|usr/lib/pxpress/lib|g" \
-e "s|#PXLIBDIR32#|usr/lib32/pxpress/lib|g" \
-e "s|#PXLDSOCONF#|usr/lib/pxpress/ld.so.conf|g" \
-e "s|#ALTPXLDSOCONF#|usr/lib/pxpress/alt_ld.so.conf|g" \
-e "s|#CVERSION#|14.200|g" \
-e "s|#SRCXARCH#|xpic|g" \
-e "s|#SRCARCH#|x86|g" \
-e "s|#SRCOTHERARCH#|x86_64|g" \
-e "s|#SRCLIBDIR#|lib|g" \
-e "s|#DEB_HOST_MULTIARCH#|i386-linux-gnu|g" \
-e "s|#OTHER_ARCH#|x86_64-linux-gnu|g" \
debian/$i.in > debian/$i; \
done
# remove exec bit on everything
find arch \
etc \
lib \
module \
usr \
xpic -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86/usr/sbin \
arch/x86/usr/X11R6/bin \
usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# set the permissions on the pxpress scripts
chmod 744 debian/pxpress/switch*
dh build
make: dh: Command not found
make: *** [build-arch] Error 127
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Removing temporary directory: fglrx-install.GqmkEk
luna@luna:~/123$
这是神码意思 ? 安装好啦 ?