Re: How does one install kernel*.src.rpm ?

akonstam_at_trinity.edu
Date: 10/23/05

  • Next message: Peter Reed: "Re: Bad sound with AC97 and AMD 64 X2 (Gigabyte K8N Pro SLI)"
    Date: Sun, 23 Oct 2005 16:55:53 -0500
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On Sun, Oct 23, 2005 at 12:11:44PM -0400, Peter Reed wrote:
    > akonstam@trinity.edu wrote:
    >
    > >On Sun, Oct 23, 2005 at 08:01:11AM +0530, Parameshwara Bhat wrote:
    > >
    > >
    > >>Hello List,
    > >>
    > >>I tried to install kernel-2.6.13-1.1532_FC4.src.rpm with
    > >>install-packages, it refuses to install source rpm.I use rpm command
    > >>directly,it seems to process it,but installation doesn't seem to
    > >>happen.I am producing the command results below.
    > >>
    > >> [root@sidharth rpm]# rpm -ivh kernel-2.6.13-1.1532_FC4.src.rpm
    > >> 1:kernel ########################################### [100%]
    > >> [root@sidharth rpm]# rpm -qa|grep kernel
    > >> kernel-2.6.13-1.1532_FC4
    > >> kernel-doc-2.6.13-1.1532_FC4
    > >> kernel-2.6.11-1.1226_FC4
    > >> [root@sidharth rpm]# rpm -Uvh kernel-2.6.13-1.1532_FC4.src.rpm
    > >> 1:kernel ######################################## [100%]
    > >>
    > >>When I look at the archive,it contains many patch files and another
    > >>archive containing kernel sources. Can I just untar the kernel sources
    > >>from the rpm archive into /usr/src ? Where do I send patch files ?
    > >>
    > >>Thanks,
    > >>
    > >>Parameshwara Bhat
    > >>
    > >>
    > >Since I screwed up the last answer to this question let me try to do
    > >better. *.src.rpm files are not processed with rpm. You place the
    > >src.rpm in the directory /usr/src/redhat/SRPMS (this is not essential
    > >but makes things more organized). Then you process the file by
    > >running: rpm -ivh ...src.rpm which puts a spec file in :
    > >/usr/src/redhat/SPECS. Next you can run:
    > >rpmbuild -bb ...spec (i.e., the spec file). -bb is not the only
    > >option you can use. Check man rpmbuild
    > >
    > >An alternative is to run: rpmbuild --rpmbuild ..src.rpm (i.e, source
    > >rpm)
    > >
    > >The goal is to end up with a regular rpm file which could be installed
    > >with the rpm command in the usual way.
    > >
    > >
    > I have benn trying the same thing to install the kernel sources and keep
    > coming up with the same or either way you do the rpmbuild.
    > error: line 155: Illegal char '-' in release: Release: 1.1532_FC4......
    > Any ideas?
    > Peter
    Well I have seen too much of that lately. spec files that are not
    acceptable to rpmbuild. You need to go to line 155 and file out what
    exactly on that line violates the spec format which is sometimes hard
    to do.
    -------------------------------------------
    Aaron Konstam
    Computer Science
    Trinity University
    telephone: (210)-999-7484

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Peter Reed: "Re: Bad sound with AC97 and AMD 64 X2 (Gigabyte K8N Pro SLI)"

    Relevant Pages

    • Re: [SLE] rpm build + install for K3b
      ... I tried going down the checkinstall route. ... I downloaded+installed checkinstall from the RPM at ... the last step to create the rpm for my install. ... Can't produce the rpm, rpmbuild not available. ...
      (SuSE)
    • Re: OpenOffice 1.1.1
      ... rpmbuild --rebuild openoffice.org-1.1.1-4.src.rpm ... Install them ... sudo yum install packages ... ## rebuild this from src.rpm from rawhide as well - and install it ...
      (Fedora)
    • Re: a stupid question about rpmbuild in fc3
      ... > after hosting that PC I found that I can't use rpmbuild or rpm -b. ... > didn't choose to install everything. ... Setting up Repo: freshrpms ...
      (Fedora)
    • Re: FC4 timezone RPM problem
      ... I tried to rpmbuild -bi it. ... It would not install. ... If you want to create an RPM, ... you can use -bb to build the binary RPM, or -ba to build both the ...
      (Fedora)
    • Re: [SLE] KDE Sound
      ... > files are placed and then you just run the rpmbuild command. ... > course, you didn't have to install it at all, but just run the rpmbuild ...
      (SuSE)