Results 1 to 2 of 2

Thread: Installing Catalyst 8.6

  1. #1
    Join Date
    May 2008
    Location
    Chicken Farm
    Beans
    410
    Distro
    Ubuntu 12.04 Precise Pangolin

    Installing Catalyst 8.6

    Hi ubunters
    I am trying to install drivers for my HD4850.
    Since i cannot do it through envy nor restricted i tried installing catalyst 8.6 through this manual(http://wiki.cchtml.com/index.php/Ubu...allation_Guide).
    While following these steps(method 2) i get into a bit of a problem (while doing step "sh ati-driver-installer-8-6-x86.x86_64.run --buildpkg Ubuntu/hardy")
    Here it is:
    diastopher@diastopher-desktop:~$ sh ati-driver-installer-8-6-x86.x86_64.run --buildpkg Ubuntu/hardy
    Created directory fglrx-install.j16819
    Verifying archive integrity... All good.
    Uncompressing ATI Proprietary Linux Driver-8.501............................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. ...........................................
    ==================================================
    ATI Technologies Linux Driver Installer/Packager
    ==================================================
    Generating package: Ubuntu/hardy
    Package build failed!
    Package build utility output:
    dpkg-buildpackage: set CPPFLAGS to default value:
    dpkg-buildpackage: set CFLAGS to default value: -g -O2
    dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
    dpkg-buildpackage: set FFLAGS to default value: -g -O2
    dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
    dpkg-buildpackage: source package fglrx-installer
    dpkg-buildpackage: source version 2:8.501-0ubuntu1
    dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
    debian/rules build
    dpkg-buildpackage: host architecture amd64
    echo "Using architecture: amd64"
    Using architecture: amd64
    for i in preinst postinst postrm shlibs atieventsd.init ; do \
    if [ -f /tmp/fglrx.Z16939/debian/driver.$i ]; then \
    sed -e "s/#PKGNAME#/xorg-driver-fglrx/" \
    -e "s/#DISTRO#/hardy/" /tmp/fglrx.Z16939/debian/driver.$i > \
    /tmp/fglrx.Z16939/debian/xorg-driver-fglrx.$i; \
    fi; \
    done
    if [ -f /tmp/fglrx.Z16939/debian/10fglrx.template ]; then \
    sed -e "s|#XMODDIR#|usr/lib|" -e "s|#XMODDIR32#|usr/lib32|" \
    /tmp/fglrx.Z16939/debian/10fglrx.template > /tmp/fglrx.Z16939/debian/10fglrx; \
    fi
    if [ -f /tmp/fglrx.Z16939/debian/fglrx.default ]; then \
    mv /tmp/fglrx.Z16939/debian/fglrx.default /tmp/fglrx.Z16939/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 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
    for i in preinst postinst postrm shlibs atieventsd.init ; do \
    if [ -f /tmp/fglrx.Z16939/debian/driver.$i ]; then \
    sed -e "s/#PKGNAME#/xorg-driver-fglrx/" \
    -e "s/#DISTRO#/hardy/" /tmp/fglrx.Z16939/debian/driver.$i > \
    /tmp/fglrx.Z16939/debian/xorg-driver-fglrx.$i; \
    fi; \
    done
    if [ -f /tmp/fglrx.Z16939/debian/10fglrx.template ]; then \
    sed -e "s|#XMODDIR#|usr/lib|" -e "s|#XMODDIR32#|usr/lib32|" \
    /tmp/fglrx.Z16939/debian/10fglrx.template > /tmp/fglrx.Z16939/debian/10fglrx; \
    fi
    if [ -f /tmp/fglrx.Z16939/debian/fglrx.default ]; then \
    mv /tmp/fglrx.Z16939/debian/fglrx.default /tmp/fglrx.Z16939/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 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
    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/fglrx-8.501
    dh_install
    # Driver package
    /sbin/ldconfig -n usr/X11R6/lib/
    dh_install -pxorg-driver-fglrx "usr/X11R6/bin/fgl*" "usr/bin"
    dh_install -pxorg-driver-fglrx "usr/X11R6/bin/atiodcli" "usr/bin"
    dh_install -pxorg-driver-fglrx "usr/X11R6/bin/atiode" "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"
    dh_install -pxorg-driver-fglrx "etc/ati" "etc"
    dh_install -pxorg-driver-fglrx "debian/10fglrx" "etc/X11/Xsession.d"
    dh_install -pxorg-driver-fglrx "debian/fglrx-powermode.sh" "etc/acpi"
    dh_install -pxorg-driver-fglrx "debian/fglrx-*-aticonfig" "etc/acpi/events"
    dh_install -pxorg-driver-fglrx "debian/fglrx" "etc/default"
    dh_installinit -pxorg-driver-fglrx --name="atieventsd"
    # Driver dev package
    dh_install -pxorg-driver-fglrx-dev "usr/X11R6/lib64/*.a" "usr/lib"
    dh_install -pxorg-driver-fglrx-dev "usr/X11R6/include/*" "usr/include"
    dh_install -pxorg-driver-fglrx-dev "usr/include/*" "usr/include"
    #Create dkms.conf
    echo "PACKAGE_NAME=\"fglrx\"" > debian/dkms.conf
    echo "PACKAGE_VERSION=\"8.501\"" >> debian/dkms.conf
    echo "CLEAN=\"rm -f *.*o\"" >> debian/dkms.conf
    echo "BUILT_MODULE_NAME[0]=\"fglrx\"" >> debian/dkms.conf
    echo "MAKE[0]=\"pushd \${dkms_tree}/fglrx/8.501/build; sh make.sh --nohints; popd\"" >> debian/dkms.conf
    echo "DEST_MODULE_LOCATION[0]=\"/kernel/drivers/char/drm\"" >> debian/dkms.conf
    echo "AUTOINSTALL=\"yes\"" >> debian/dkms.conf
    # Kernel source package
    dh_install -pfglrx-kernel-source \
    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 \
    debian/dkms.conf \
    usr/src/fglrx-8.501
    # 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
    # start the install
    dh_installdocs
    dh_installdocs -pxorg-driver-fglrx usr/share/doc/fglrx/*
    #dh_installchangelogs
    dh_link
    dh_strip
    dh_compress
    dh_installdeb
    dh_makeshlibs
    dh_shlibdeps
    dpkg-shlibdeps: warning: symbol XauFileName used by debian/xorg-driver-fglrx/usr/sbin/atieventsd found in none of the libraries.
    dpkg-shlibdeps: warning: debian/xorg-driver-fglrx/usr/sbin/atieventsd shouldn't be linked with libXrender.so.1 (it uses none of its symbols).
    dpkg-shlibdeps: failure: couldn't find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (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: fakeroot debian/rules binary gave error exit status 2
    Removing temporary directory: fglrx-install.j16819
    If anyone can help i would be immensely grateful.
    Thanks

  2. #2
    Join Date
    Apr 2008
    Beans
    4,377
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Installing Catalyst 8.6

    There is a fix for that in the instructions you were following if you read down a little further.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •