I have had this trouble a number of times with the nvidia drivers, sometimes its just a case of grabbing the newest driver, this time I had to manually copy the version file and so on like so:
Code:
chown -R 0:0 .
cp -r . $PKGTMP/$pkgname/usr/src/linux-3.8.0
cp $PKGTMP/$pkgname/usr/src/linux-3.8.0/usr/include/linux/version.h $PKGTMP/$pkgname/usr/src/linux-3.8.0/include/linux
ln -sv ../../../usr/src/linux-3.8.0 $PKGTMP/$pkgname/lib/modules/3.8.0/build
ln -sv ../../../usr/src/linux-3.8.0 $PKGTMP/$pkgname/lib/modules/3.8.0/source
Ignore the $PKGTMP/$pkgname bt as I use a package manager.
It seems that every nvidia driver install needs a bit of tweaking, oh the joys of LFS!
There are also some advanced features to the installer that allows you to set various directory's have a look at the help