[rhn-users] Installing a source RPM

Omer Faruk Sen omer at faruk.net
Thu Mar 30 06:05:42 UTC 2006


After investigating a little bit

rpmbuild -bp --target i686 kernel-2.6.spec

solved the problem. Sorry for that.


> Hi,
>
> I was just looking to compile a customized kernel for my mysql server. Did
> rpmbuild -ba *spec but got following error:
>
>
> # rpmbuild -ba kernel-2.6.spec
>
> error: Architecture is not included: i386
>
> Anyone has an idea what is this about? And how can I solve it
>
>
>> Thank you sir, that did the trick!
>>
>> --- Rigoberto Corujo <rcorujo at yahoo.com> wrote:
>>
>>> There should also be a "linux*.bz2" file in the
>>> SOURCES directory to which the patches will get
>>> applied to.
>>>
>>> If you go to the SPECS directory and do an "rpmbuild
>>> -ba <filename>.spec", you should see the BUILD
>>> directory get populated.
>>>
>>> Rigoberto
>>>
>>> --- sean thomson <s_thomson at yahoo.com> wrote:
>>>
>>> > Howdy Folks,
>>> >
>>> > Sorry if this has been asked before, but I've not
>>> > found anything on the web regarding this...
>>> >
>>> > I'm trying to install one of the kernel SRPMS from
>>> > my
>>> > RHEL 4 CDs and after I run 'rpm -hvi
>>> > kernel-2.6.9-5.EL.src.rpm' all I get is the
>>> original
>>> > .spec file in /usr/src/redhat/SPECS and a bevy
>>> patch
>>> > files in /usr/src/redhat/SOURCES.
>>> >
>>> > I'm expecting to either get something in
>>> > /usr/src/redhat/BUILD or
>>> > /usr/src/kernels/2.6.9-5.EL-i686
>>> >
>>> > Any help would be greatly appreciated
>>> >
>>> > Sean Thomson
>>> >
>>> > __________________________________________________
>>> > Do You Yahoo!?
>>> > Tired of spam?  Yahoo! Mail has the best spam
>>> > protection around
>>> > http://mail.yahoo.com
>>> >
>>> > _______________________________________________
>>> > rhn-users mailing list
>>> > rhn-users at redhat.com
>>> > https://www.redhat.com/mailman/listinfo/rhn-users
>>> >
>>>
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam?  Yahoo! Mail has the best spam
>>> protection around
>>> http://mail.yahoo.com
>>>
>>> _______________________________________________
>>> rhn-users mailing list
>>> rhn-users at redhat.com
>>> https://www.redhat.com/mailman/listinfo/rhn-users
>>>
>>
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>>
>> _______________________________________________
>> rhn-users mailing list
>> rhn-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/rhn-users
>>
>
>
> --
> Omer Faruk Sen
> http://www.faruk.net
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
>


-- 
Omer Faruk Sen
http://www.faruk.net




More information about the rhn-users mailing list