LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1154|回复: 7

无法build ATI HD3xxx显卡驱动包

[复制链接]
发表于 2011-3-5 11:20:21 | 显示全部楼层 |阅读模式
Debian/stable,安装如下编译环境:
sudo aptitude install linux-headers-2.6.32-5-686 module-assistant build-essential

通过./ati-driver-installer-11-2-x86.x86_64.run --listpkg看可以build Debian/stable的包。

但用./ati-driver-installer-11-2-x86.x86_64.run --buildpkg Debian/stable却提示:
Created directory fglrx-install.S7j8bF
Verifying archive integrity... All good.
Uncompressing ATI Catalyst(TM) Proprietary Driver-8.821..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
ATI Technologies Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Generating package: Debian/stable
cp: cannot stat `/home/yuzh/MyDownload/fglrx-install.S7j8bF/x710/*': No such file or directory
Package build failed!
Package build utility output:
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 8.821-1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
dpkg-source --before-build fglrx.US3z6d
dpkg-buildpackage: host architecture i386
debian/rules build
dh_testdir
make: dh_testdir: Command not found
make: *** [build] Error 127
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Removing temporary directory: fglrx-install.S7j8bF


这是什么原因?还缺什么没装吗?
发表于 2011-3-5 11:52:15 | 显示全部楼层
装debhelper包再试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-3-5 15:17:57 | 显示全部楼层
还是不行。

./ati-driver-installer-11-2-x86.x86_64.run --buildpkg Debian/stable
Created directory fglrx-install.5fGjBU
Verifying archive integrity... All good.
Uncompressing ATI Catalyst(TM) Proprietary Driver-8.821..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
ATI Technologies Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Generating package: Debian/stable
cp: cannot stat `/home/yuzh/MyDownload/fglrx-install.5fGjBU/x710/*': No such file or directory
Package build failed!
Package build utility output:
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 8.821-1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
dpkg-source --before-build fglrx.X54c2B
dpkg-buildpackage: host architecture i386
debian/rules build
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/lib64': No such file or directory
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'
fakeroot 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: `usr/X11R6/lib64': No such file or directory
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
dh_testdir
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_clean: Compatibility levels before 5 are deprecated.
dh_installdirs
dh_installdirs: Compatibility levels before 5 are deprecated.
# 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
dh_installdirs: Compatibility levels before 5 are deprecated.
dh_installdirs -pfglrx-driver-dev \
                usr \
                usr/include \
                usr/lib
dh_installdirs: Compatibility levels before 5 are deprecated.
dh_installdirs -pfglrx-kernel-src \
                usr/src/modules/fglrx \
                usr/src/modules/fglrx/debian
dh_installdirs: Compatibility levels before 5 are deprecated.
dh_installdirs -A -pfglrx-amdcccle \
                usr \
                usr/bin \
                usr/share \
                usr/share/applnk \
                usr/share/applications \
                usr/share/icons \
                usr/share/pixmaps
dh_installdirs: Compatibility levels before 5 are deprecated.
dh_installdirs -p \
                usr/src
dh_installdirs: Compatibility levels before 5 are deprecated.
dh_install
dh_install: Compatibility levels before 5 are deprecated.
dh_install -pfglrx-driver "usr/X11R6/bin/fgl*"      "usr/bin"
dh_install: Compatibility levels before 5 are deprecated.
dh_install -pfglrx-driver "usr/X11R6/bin/aticonfig" "usr/bin"
dh_install: Compatibility levels before 5 are deprecated.
dh_install -pfglrx-driver "usr/sbin/atieventsd"     "usr/sbin"
dh_install: Compatibility levels before 5 are deprecated.
dh_installman -pfglrx-driver "usr/share/man/man8/atieventsd.8"
dh_installman: Compatibility levels before 5 are deprecated.
# amd64 needs some library redirection
dh_install -pfglrx-driver "usr/X11R6/lib/*.so*"           "usr/lib"
dh_install: Compatibility levels before 5 are deprecated.
dh_install -pfglrx-driver "usr/X11R6/lib/modules/dri"     "usr/lib"
dh_install: Compatibility levels before 5 are deprecated.
dh_install -pfglrx-driver "usr/X11R6/lib/modules/linux"   "usr/lib/xorg/modules"
dh_install: Compatibility levels before 5 are deprecated.
cp: cannot stat `./usr/X11R6/lib/modules/linux': No such file or directory
dh_install: cp -a ./usr/X11R6/lib/modules/linux debian/fglrx-driver/usr/lib/xorg/modules/ returned exit code 1
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.5fGjBU
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-3-5 15:21:38 | 显示全部楼层
前面的那个cp: cannot stat `/home/yuzh/MyDownload/fglrx-install.5fGjBU/x710/*': No such file or directory是怎么回事?它自己产生的文件夹也找不到?

后面的cp: cannot stat `./usr/X11R6/lib/modules/linux': No such file or directory是不是还缺什么库?
回复 支持 反对

使用道具 举报

发表于 2011-3-6 01:12:38 | 显示全部楼层
我的显卡HD5430,第一次装驱动,按网上搜的方法装,系统挂掉了。
重装系统后,再次装驱动,先是在新得利软件包管理器下安装了一个ATI的驱动(non-free),
虽然没看到啥效果,但它按依赖装了一些软件包,然后上sh ati-driver-installer-11-2-x86.x86_64.run,安装成功了。

具体原因我不知为啥
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-3-6 08:10:47 | 显示全部楼层
是装fglrx 吗?
回复 支持 反对

使用道具 举报

发表于 2011-3-6 15:49:55 | 显示全部楼层
手里没有debian6和HD3XXX的卡的机器试验, gentoo+HD2400的本子倒是有一个,没有任何问题。不负责任地猜./ati-driver-installer-11-2-x86.x86_64.run --buildpkg Debian/testing可能有不同的输出
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-3-6 19:38:10 | 显示全部楼层
试过sid的,也是一样的结果。提示找不到那个x710文件夹。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表