Hi all, Actually - I've managed to sort this now. I don't know why I was getting the errors below, but I've found that I can install it directly using apt-get install fglrx-driver, if I enable the non-free Debian repositories. I'm still interested as to why the command below wasn't working, but I've got things working now - so I'm pleased.
Cheers, Robin On 6 May 2011, at 22:54, Robin Wilson wrote: > Hi all, > > It turns out that build-essentials doesn't bring in debhelper, but installing > it by itself fixed that error. The only problem is that now I have another > error: > > Generating package: Debian/unstable > cp: cannot stat `/root/Downloads/fglrx-install.r1t4YG/x710_64a/*': 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.841-1 > dpkg-buildpackage: source changed by ATI Technologies Inc. > <http://ati.amd.com/support/driver.html> > dpkg-source --before-build fglrx.LBvpNl > dpkg-buildpackage: host architecture amd64 > 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/include': 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' > # 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: `usr/X11R6/include': 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 > # 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_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. > # 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: 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. > ldconfig -n usr/X11R6/lib/ > 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/lib64/*.so*" "usr/lib" > dh_install: Compatibility levels before 5 are deprecated. > dh_install -pfglrx-driver "usr/X11R6/lib64/modules/dri" "usr/lib" > dh_install: Compatibility levels before 5 are deprecated. > dh_install -pfglrx-driver "usr/X11R6/lib64/modules/linux" > "usr/lib/xorg/modules" > dh_install: Compatibility levels before 5 are deprecated. > cp: cannot stat `./usr/X11R6/lib64/modules/linux': No such file or directory > dh_install: cp -a ./usr/X11R6/lib64/modules/linux > debian/fglrx-driver/usr/lib/xorg/modules/ returned exit code 1 > make: *** [binary] Error 2 > dpkg-buildpackage: error: debian/rules binary gave error exit status 2 > Removing temporary directory: fglrx-install.r1t4YG > > (Sorry for the long copy-paste - I thought that quite a few bits of it might > be important) > > I have a suspicion this might be because I'm choosing the wrong version of > Debian to create the package for. I'm running Debian 6.0 (known as Squeeze I > think?), but the options the ATI tool gives me are: > > Debian Packages: > Debian/sid > Debian/unstable > Debian/etch > Debian/stable > Debian/lenny > Debian/testing > Debian/experimental > > Any ideas what's best to choose? > > Robin > > On 6 May 2011, at 21:37, Daniel Llewellyn wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 06/05/2011 21:28, Benjie Gillam wrote: >>> You may need to install extra software too, but we can figure that out step >>> by step if you can't find a list somewhere. >> >> the meta package "build-essential" is pretty useful for pulling the >> usual suspect dependencies such as make, gcc, binutils, etc. I am unsure >> whether that brings in debhelper tho. >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG/MacGPG2 v2.0.17 (Darwin) >> Comment: GPGTools - http://gpgtools.org >> >> iQEcBAEBAgAGBQJNxFwZAAoJEOliLTp7UeI28iQH+QHvGIkQmJAphWsyIfVcR8XY >> KDaF9IPmFcuJODE8+JgxB4ETofqegD+i7OXNrcLg1/CjWM0dOosShnoGog2XFBLD >> lRvh73N0OvCA7dU+gc5QcFLo8Iufg2hpc0pg7tTsCwk+w/Da5+u8oQa3T5c8se/8 >> HHY0MI4iSc/X5/eluQss/SstGVrkUuU7ilj5KXf4/swqjetOpphXj53pgimNXk/a >> JiBLz5DHH7rZ67i4UOYKHSUV1MHXpzzJURXFOcehJVFEXdh9qe3ECj2lFmOeD7Lt >> 4hfcDdKnKy/ifIZCH+E8abQmn+SCMss9OZwfT0DsOIfY7mqAU39fT/XrBsLFx2E= >> =xY85 >> -----END PGP SIGNATURE----- >> >> -- >> Please post to: Hampshire@mailman.lug.org.uk >> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire >> LUG URL: http://www.hantslug.org.uk >> -------------------------------------------------------------- > > > -- > Please post to: Hampshire@mailman.lug.org.uk > Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire > LUG URL: http://www.hantslug.org.uk > -------------------------------------------------------------- -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --------------------------------------------------------------