I went a bit further and tried installing the latest drivers.
Removed the drivers I had in before with this:
aptitude purge fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev
Got the drivers here:
http://www2.ati.com/drivers/linux/amd-catalyst-13.4-linux-x86.x86_64.zipIt complained about not having X so I installed it with this:
aptitude install x11-common xserver-xorg-core
Installed it, and then rebooted.
Configure fails with this:
OpenCL...............: NOT FOUND. GPU mining support DISABLED
aticonfig fails with this:
# aticonfig -lsa
aticonfig: error while loading shared libraries: libXrandr.so.2: cannot open shared object file: No such file or directory
Fixed it with aptitude install libxrandr2. Output now is:
# aticonfig --lsa
* 0. 01:00.0 AMD Radeon HD 7900 Series
* - Default adapter
configure still fails...