View Full Version : Installing The RadeonHD Driver On Ubuntu
cico.sail
12-22-2007, 11:01 AM
Hi
I have a problem in order to install the driver how it's described on:
www.phoronix.com/scan.php?page=article&item=843&num=1
when I try to run the command:
./autogen.sh --prefix/usr/
I find the error:
No such file or directory
but I think to have installed all the packages required...
Have you some suggestions?
http://www.phoronix.com/forums/showpost.php?p=19575&postcount=37
LucasG15
12-22-2007, 04:20 PM
It sounds like you're forgetting to change to the directory where the driver source was downloaded.
so make sure you "cd xf86-video-radeonhd" first.
No it is correct, the debian dir name is different than when you compile is manually.
cico.sail
12-23-2007, 05:01 PM
I chenged the directory...
My lines command are:
cico-sail@Cico:~/xf86-video-radeonhd$ ./autogen.sh --prefix=/usr/
and the message (in italian)
bash: ./autogen.sh: Nessun file o directory (that it's like "No such file or directory"
:confused: :(
rbmorse
12-23-2007, 05:18 PM
Are you using files pulled from the git or the debian package?
cico.sail
12-23-2007, 05:18 PM
Hi Kano
I tried also your suggestions on the link "Build fix for Debian[...]" but I haven't the solution :-(
After that I have insterted the line:
deb-src http://ftp.de.debian.org/debian sid main
in the file specified, in the update manager I have an error with this message:
W: GPG error: http://ftp.de.debian.org sid Release: the follow signatures aren't checked because the pubblic key is not available NO_PUBKEY A70DAF536070D3A1
3
Sorry..I'm not a developer and these are my first step on linux and Ubuntu.. :-)
cico.sail
12-23-2007, 05:21 PM
Hi rbmorse
I get the package with:
git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-radeonhd
rbmorse
12-23-2007, 07:40 PM
That's the one I used, and the install went fine, remembering to make the directory where the git files are located the active directory (cd xf86<tab><enter>) and remembering that
make install
has to be done as root (or sudo).
curious....what happens when you do this (in a user level terminal window):
cd xf86<tab><enter>
git pull<enter>
A gpg error is not fatal, basically just a warning, but you can use (after sudo -i):
for k in $(apt-get update 2>&1|grep -o NO_PUBKEY.*|sed 's/NO_PUBKEY //');do gpg --recv-keys --keyserver wwwkeys.eu.pgp.net $k;gpg --armor --export $k|apt-key add -;done
xtrmgamr
12-24-2007, 05:43 AM
I think you just to run command like this.
"sh runthis.sh" anything ending in '.sh" is a shell script and you must tell bash to treat it as so.
Hope that helps ya.
Only if the script is reallly POSIX compatible on systems like *buntu where sh is no symlink to bash but dash. My scripts are, but not all, some have implicit bash depends like some well known ATI scripts ;)
cico.sail
12-24-2007, 01:14 PM
Hi rbmorse
I maded this steps:
cico-sail@Cico:~$ cd xf86-video-radeonhd/
cico-sail@Cico:~/xf86-video-radeonhd$ git pull
fatal: Not a git repository
:-(
cico.sail
12-24-2007, 01:42 PM
Hi Kano
Your suggestion is correct :-) now I haven't more the previous error.
But now I have this:
cico-sail@Cico:~$ apt-get devscripts fakeroot pbuilder
E: Operazione non valida devscripts (in english can be like: Operation not valid devscripts)
I need more one more help :-)
Tank's
Sorry forgot the "install" statement after apt-get. Just add this.
cico.sail
12-26-2007, 06:57 AM
Hi Kano, sorry for my forgetfulness :-)
Ok, now I are on the next step where I run the commands:
apt-get source xserver-xorg-video-radeonhd
cd xserver-xorg-video-radeonhd*
sed -i 's/^\(Build-Depends:\).*/\1 debhelper (>= 5), quilt, pkg-config, xserver-xorg-dev (>= 2:1.1), x11proto-video-dev, x11proto-fonts-dev, x11proto-randr-dev (>= 1.1), x11proto-render-dev, automake, autoconf, libtool, xutils-dev, x11proto-xext-dev/' debian/control
# for use with Debian etch add this (would not hurt anyway)
sed -i 's#^\(SERVERMINVERS =\).*#\1 $(shell cat /usr/share/xserver-xorg/serverminver 2>/dev/null||echo 2:1.1)#;
s#^\(VIDEOABI =\).*#\1 $(shell cat /usr/share/xserver-xorg/videoabiver 2>/dev/null||echo 1.0)#;
s#^\(INPUTABI =\).*#\1 $(shell cat /usr/share/xserver-xorg/inputabiver 2>/dev/null||echo 0)#' debian/xsfbs/xsfbs.mk
and just here it's all right :-)
Next with the command:
cico-sail@Cico:~/xserver-xorg-video-radeonhd-1.1.0$ debuild -S
I have a lot of messages until this:
Now signing changes and any dsc files...
signfile xserver-xorg-video-radeonhd_1.1.0-1.dsc Brice Goglin <bgoglin@debian.org>
gpg: skipped "Brice Goglin <bgoglin@debian.org>": la chiave segreta non è disponibile (in english: the secret key isn't available)
gpg: [stdin]: clearsign failed: la chiave segreta non è disponibile
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1174:
running debsign failed
They are necessary other helps :-) tank's
That's ok, there is a way to skip signing attempts, but it already created the dsc file. I usually just forget about this warning.
cico.sail
12-26-2007, 10:41 AM
Hi Kano, this means that have I to execute the next step?
Because if I run he:
cico-sail@Cico:~/xserver-xorg-video-radeonhd-1.1.0$ sudo apt-get build-dep xserver-xorg-video-radeonhd
I have some messages and finally:
[...]
Reading state information... Fatto
E: Build-Depends dipendenze per xserver-xorg-video-radeonhd non possono essere soddisfatte perché nessuna versione del pacchetto xserver-xorg-dev può soddisfare le richieste di versione
I try to translate:
"The dependency of xserver-xorg-video-radeonhd cannot be satisfied because no versions of the package xserver-xorg-dev can be satisfy the required version"
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.