Re: Mandrake SRPMs on Fedora Core 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2004-06-01 at 12:58, William M. Quarles wrote:
> There is no corresponding SRPM, nor a binary RPM, for Fedora Core or Red 
> Hat Linux.
> 
> Anyway, the real point of my question is this: does anybody know how to 
> extract files from a binary RPM without using Alien?
> 
> Thanks,
> William
> 
> Aly Dharshi wrote:
> > Hello,
> > 
> >     My question to you would be why would you want to try building a 
> > Mandrake rpm on FC1/2 ? Is there no corresponding SRPM from Fedora Core/ 
> > RedHat? I think that what you may want to do is to really take a 
> > reference to a doc which explains building rpms and/or srpms.
> > 
> >     Cheers,
> > 
> >     Aly.
> > 
> > William M. Quarles wrote:
> > 
> >> Hi,
> >>
> >> If anyone has tried rebuilding a Mandrake SRPM on Fedora Core or Red 
> >> Hat Linux, your probably got this:
> >>
> >> + %make
> >> /var/tmp/rpm-tmp.55192: line 53: fg: no job control
> >> error: Bad exit status from /var/tmp/rpm-tmp.55192 (%build)RPM build
> >>
> >> errors:
> >>     user florin does not exist - using root
> >> <SNIP>
> >>     Bad exit status from /var/tmp/rpm-tmp.55192 (%build)
> >>
> >> Apparently the "fix" is that %build is not a macro defined for Red Hat 
> >> RPM distributions, so we need to steal it from Mandrake rpms and use 
> >> it.  Now this would be perfectly simple if I could just extract the 
> >> files from an RPM file of the RPM program for Mandrake, without having 
> >> to install them (you will get a Segmentation Fault if you try).  The 
> >> only problem is that the only way that I could figure out how to get 
> >> the files out was by using Alien to convert the RPM RPM to a tarball, 
> >> and extract the tarball.  Does anybody know of another way of doing 
> >> this? I'm sure that rpm2cpio could be used, but that seemed pretty 
> >> complicated for me to figure out on my own.
> >>
> >> Peace,
> >> William
> >>
> >>
> > 
> > 

rpm2cpio foo.i386.rpm | cpio -idv


-- 
Tony Placilla, RHCT
anthony_placilla@xxxxxxxx


perl -e 'print $i=pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10);'



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux