little HowTo for openSUSE 10.3 32-bit (based on Snake's HOWTO)
1. Download xorg-x11-libX11-7.2-75.src.rpm
2. Open a console window as user not as root
Code:
rpm -Uvh xorg-x11-libX11-7.2-75.src.rpm
3. Now you can find file "xorg-x11-libX11.spec" at /usr/src/packages/SPECS
alter these 2 lines:
Code:
%define xcb 0
# rm -rf "$RPM_BUILD_ROOT"
To prevent misunderstanding, these 2 lines already exists (line 15 and 163) in xorg-x11-libX11.spec. Only alter the red marked area. Don't add these lines to xorg-x11-libX11.spec!
4. Read the "# usedforbuild aaa_base ..." area at the top of spec file and check if you have all packages to build a new rpm.
5. build the rpm packages
Code:
rpmbuild -ba /usr/src/packages/SPECS/xorg-x11-libX11.spec
6. After that, there are a new directory "/var/tmp/xorg-x11-libX11-7.2-build/". From there you can copy the needed file. For example:
Code:
cp /var/tmp/xorg-x11-libX11-7.2-build/usr/lib/libX11.s* ~/
7. Try amdcccle
Code:
LD_PRELOAD=~/libX11.so.6 amdcccle
8. If all runs fine , you can remove the temp directory.
Code:
rm -r /var/tmp/xorg-x11-libX11-7.2-build
Good Luck,
Spooky