I'm on opensuse 10,3 X64 and tried your small how-to.
But i don't get anywhere.. i altered the file and rpmbuild but no file is created in the directory you mention.
any hint? real linux noob here![]()
There was some mistakes of me in the copy line.
The correct line should beCode:cp /usr/var/tmp/xorg-x11-libX11-7.2-build/usr/lib/libX11.so* ~/
I will fix my Howto.Code:cp /var/tmp/xorg-x11-libX11-7.2-build/usr/lib/libX11.s* ~/
@kmolazz
Do you get some error messages from rpmbuild process like "file not found"?
@htcool86
Do you use the 32bit or 64bit version of openSUSE? Which error message occurs?
Spooky
Last edited by Spooky; 11-07-2007 at 10:14 AM.
Though my cpu is amd athlon64 3000+, I use the 32bit version of openSUSE.You know i am a Chinese, my user's account console message is in Chinese, and i am on windows xp now, so i couldn't tell you what the error is.
Besides the CCC's problem, i have another: when i move the mouse to the right side of the screen, the point will go out of the screen for a long distance, and the compact menu button of firefox will show the menu out of the screen. I think it's also a bug of the ati driver. Do you know how to fix it?
Hi,
thanks for your help.
I don't get any "file not found" error. I get this:
No files or directories are created inside "/var/tmp/xorg-x11-libX11-7.2-build/"Code:/var/tmp/rpm-tmp.40429: line 27: autoreconf: command not found error: Bad exit status from /var/tmp/rpm-tmp.40429 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.40429 (%build)
Also, i wasn't able to rpmbuild logged just as a user (lots of "permission denied" errors).. had to change to su.
@kmolazz
This is the answer for your problem. "command not found" is comparable to "file not found". In this case "autoconf" is missing. I believe that you need some additional tools to build a rpm file.Code:/var/tmp/rpm-tmp.40429: line 27: autoreconf: command not found
Look at line 12 ("# usedforbuild aaa_base acl ...") in "/usr/src/packages/SPECS/xorg-x11-libX11.spec" please, which other packages are required. The simplest way to add missing packages is YaST.
Spooky
@kmolazz
Insert this
into a new script file like "/home/spooky/bin/amdcccle.sh". Replace "spooky" with the user name that you have at your system.Code:#!/bin/bash export LD_PRELOAD=/home/spooky/libX11.so.6 /usr/bin/amdcccle
Don't forget to make amdcccle.sh executable.
Change the shortcut property 'command' from amdcccle to "/home/spooky/bin/amdcccle.sh", then it should work.Code:chmod 755 /home/spooky/bin/amdcccle.sh
Spooky