On Sat, 2008-08-16 at 14:52 +0000, Mike wrote: > John Austin <ja <at> jaa.org.uk> writes: > > > > rpmdev-setuptree > > This downloads source rpms into home directory > > yumdownloader --enable=livna --source nvidia-kmod-173.14.12-2.lvn9. > > yumdownloader --enable=livna --source xorg-x11-drv-nvidia-173.14.12-1.lvn9 > > > > This rebuilds the binary rpms in the rpmbuild directory structure > > rpmbuild --rebuild nvidia-kmod-173.14.12-2.lvn9.src.rpm --define "kernels > $(uname -r)" --target > > $(uname -m) > > I tried rebuilding the kmod-nvidia module for f8 using this method - > it failed with: > > error: Failed build dependencies: > > kernel-devel-i686 = kernel-2.6.25.14-69.fc8 > is needed by nvidia-kmod-173.14.12-1.fc8.i686 > > > That was using the command: > rpmbuild --rebuild nvidia-kmod-173.14.12-1.lvn8.src.rpm > --define "kernels kernel-2.6.25.14-69.fc8" --target $(uname -m) > > I also booted into the latest kernel and tried using > --define "kernels $(uname -r)" > but it gave the same error.... > > The source files for f8 that were available were: > nvidia-kmod-173.14.12-1.lvn8.src.rpm > xorg-x11-drv-nvidia-173.14.12-1.lvn8.src.rpm > > Any ideas on this? > I was running the latest kernel when carrying out the procedure stokes ~ 731# uname -a Linux stokes 2.6.25.14-108.fc9.x86_64 #1 SMP Mon Aug 4 13:46:35 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux and had these rpms installed stokes ~ 730# rpm -qa|grep -i kernel|grep -i 14-108 kernel-devel-2.6.25.14-108.fc9.x86_64 kernel-2.6.25.14-108.fc9.x86_64 kernel-headers-2.6.25.14-108.fc9.x86_64 So I would just try installing the matching kernel-devel for your system yum install kernel-devel should pull the one for the current kernel Good luck John -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list