FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-19-2007, 04:41 AM
"Kaloyan M. Penev"
 
Default fglrx driver v 8.42.3

Hi,

I have been having a ton of grief with my fglrx driver and the fact that
it requires libstdc++5, so I was quite excited to see that a new driver is
available. However, when I try to run their installer to build a debian
package:

sh ./ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Debian/etch

I get the following error:
cp: cannot stat `./usr/X11R6/lib/modules/dri': No such file or directory

I am running a 64bit linux with an ati radeon HD2600 graphics card. Any
idea what this is about and what I could do to get around it?

Regards,
Kaloyan

In case it is interesting below is the output of the
installer before it spits the error message:

Created directory fglrx-install.U20629
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux
Driver-8.42.3............................................ .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. ................................
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Debian/etch
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
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
# 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/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
# 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_installdirs
# 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
# 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 -pfglrx-driver-dev
usr
usr/include
usr/lib
dh_installdirs -pfglrx-kernel-src
usr/src/modules/fglrx
usr/src/modules/fglrx/debian
dh_installdirs -A -pfglrx-amdcccle
usr
usr/bin
usr/share
usr/share/applnk
usr/share/applications
usr/share/icons
usr/share/pixmaps
dh_installdirs -p
usr/src
dh_install
dh_install -pfglrx-driver "usr/X11R6/bin/fgl*" "usr/bin"
dh_install -pfglrx-driver "usr/X11R6/bin/aticonfig" "usr/bin"
dh_install -pfglrx-driver "usr/sbin/atieventsd" "usr/sbin"
dh_installman -pfglrx-driver "usr/share/man/man8/atieventsd.8"
# amd64 needs some library redirection
dh_install -pfglrx-driver "usr/X11R6/lib64/*.so*" "usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/dri" "usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/linux"
"usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/drivers"
"usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/*.so"
"usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/*.a"
"usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib/*.so*"
"emul/ia32-linux/usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/dri"
"emul/ia32-linux/usr/lib"
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.U20629


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-19-2007, 09:42 AM
Jörg-Volker Peetz
 
Default fglrx driver v 8.42.3

Kaloyan M. Penev wrote:
> Hi,
>
> I have been having a ton of grief with my fglrx driver and the fact that
> it requires libstdc++5, so I was quite excited to see that a new driver is
> available. However, when I try to run their installer to build a debian
> package:
>
> sh ./ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Debian/etch
>
> I get the following error:
> cp: cannot stat `./usr/X11R6/lib/modules/dri': No such file or directory
>
> I am running a 64bit linux with an ati radeon HD2600 graphics card. Any
> idea what this is about and what I could do to get around it?
>
> Regards,
> Kaloyan
>
[...]

On lenny I have setup the directory /usr/X11R6/lib/modules and a link in
it to /usr/lib/dri:

mkdir -p /usr/X11R6/lib/modules
ln -s ../../../lib/dri /usr/X11R6/lib/modules/

--
Regards,
Jörg-Volker.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 06:47 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org