I was trying to compile the nvidia (proprietary) drivers yesterday (there is some old version in Debian testing, 173.something I believe), but it failed miserably. Anyone managed to fix the problem? How can I configure apt to get all the relevant packages from unstable (but only these packages)?
EDIT: the build output:
unpack
Extracting the package tarball, /usr/src/nvidia-kernel.tar.bz2, please wait...
"/usr/share/modass/packages/nvidia-kernel-source" build KVERS=2.6.32-trunk-686 KSRC=/lib/modules/2.6.32-trunk-686/build KDREV=2.6.32-5 kdist_image
/usr/bin/make -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/Makefile || true
if [ 6 = 6 ]; then \
ln -s Makefile.kbuild Makefile ; \
fi
if [ 6 = 4 ]; then \
ln -s Makefile.nvidia Makefile ; \
fi
if [ -e patch-stamp ]; then \
dpatch deapply-all ; \
rm -rf patch-stamp debian/patched ; \
fi
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel/debian/control.template /usr/src/modules/nvidia-kernel/debian/control; \
fi
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make clean SYSSRC=/lib/modules/2.6.32-trunk-686/build -C /usr/src/modules/nvidia-kernel/ -f Makefile
make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
rm -f /usr/src/modules/nvidia-kernel//Makefile