2.6.10-1.737_FC3smp kernel source?
Rick Stevens
rstevens at vitalstream.com
Fri Jan 14 02:07:59 UTC 2005
Mark Knecht wrote:
> On Wed, 12 Jan 2005 19:00:07 -0600, Otto Haliburton
> <ottohaliburton at comcast.net> wrote:
>
>
>>1. rpm -ivh kernel?????
>>2. cd /usr/src/redhat/SPECS
>
>
> I created the directories RPM was complaining about by hand and then
> RPM did install the file.
>
>
>>3. rpmbuild -bp --target=<arch> <spec>
>
>
> Dies again:
>
> [root at dragonfly SPECS]# rpmbuild -bp --target=x86 kernel-2.6.spec
> -bash: rpmbuild: command not found
> [root at dragonfly SPECS]#
>
> Again, the basic development tools necessary to maintain the system do
> not seem to be installed. Bummer!
You need rpmbuild installed ("yum install rpmbuild"). If you want to
create something like the old "kernel-source*" RPMs, then get rpmbuild
and the kernel source RPM and:
rpm -ivh kernel-2.6.10-1.737_FC3.src.rpm
cd /usr/src/redhat
rpmbuild -bp --target=i686 SPECS/kernel-2.6.spec
cd BUILD/kernel*
mv linux-2.6 /usr/src/linux-2.6.10-1.737_FC3
cd /usr/src
rm -f linux;rm -f linux-2.6
ln -s linux-2.6.10-1.737_FC3 linux
ln -s linux-2.6.10-1.737_FC3 linux-2.6
Note that the target is "i686" or "i386", not "x86"
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- If your broker is so damned smart...why is he still working? -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list