On Thu, 2005-05-19 at 17:43 -0400, Jeff Spaleta wrote:
3) example using nvidia-glx-1.0.7174-0.lvn.1.3.src.rpm from livna
assuming kernel-smp-2.6.11-1.1319_FC4 and kernel-smp-devel-2.6.11-1.1319_FC4
are installed on an smp athlon:
rpmbuild --rebuild --target i686 --define "kernel
2.6.11-1.1315_FC4smp" nvidia-glx-1.0.7174-0.lvn.1.3.src.rpm
(that should be one line but of course email is going to line wrap that)
It seems that you definitely need to set some stuff up in advance,
since, for instance, this looks for kernel sources. I'm still not able
to get it all working.
I exploded the kernel SRPM with rpmbuild -bp, and then made a symlink
from /usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11
to /usr/src/kernels/2.6.11-1.1315_FC4-i686.
This makes the livna RPM rebuild get further, but it still fails with a
message asking me to make sure I'm running the right kernel version
(matching the sources, which I think I am), and something about
KBUILD_OUTPUT, KBUILD, and SYSOUT.
Doesn't anybody else get this?
Thanks,
AG