I first tried to install a package using YaST, but it saw that it had a "newer" verson on CD, so it went with that version instead. Not cool. So I tried installing it via the rpm command and got: linux:/home/krikket/downloads/vcd # rpm -i mjpegtools-1.6.1.90-1.src.rpm warning: user rbultje does not exist - using root linux:/home/krikket/downloads/vcd # linux:/home/krikket/downloads/vcd # rpm -i mjpegtools-1.6.1.90-1.src.rpm warning: user rbultje does not exist - using root linux:/home/krikket/downloads/vcd # When I do a pin mjpegtools, I can confirm that it's not installed. Any clues on how to get this rpm installed? (It's not only this rpm, but 3 -- all of which exhibit the same behavior. What can I say? I don't want crippleware installed on my system!) Thanks in advance, Krikket
Am Sonntag, 23. November 2003 16:09 schrieb Krikket:
I first tried to install a package using YaST, but it saw that it had a "newer" verson on CD, so it went with that version instead.
Not cool.
So I tried installing it via the rpm command and got:
linux:/home/krikket/downloads/vcd # rpm -i mjpegtools-1.6.1.90-1.src.rpm warning: user rbultje does not exist - using root linux:/home/krikket/downloads/vcd #
linux:/home/krikket/downloads/vcd # rpm -i mjpegtools-1.6.1.90-1.src.rpm warning: user rbultje does not exist - using root linux:/home/krikket/downloads/vcd #
When I do a pin mjpegtools, I can confirm that it's not installed.
Any clues on how to get this rpm installed? (It's not only this rpm, but 3 -- all of which exhibit the same behavior. What can I say? I don't want crippleware installed on my system!)
You try to install the .src.rpm, this is only the sourcecode used to recompile the program. This will not appear in the rpm-database. If you want to see it, have a look in /usr/src/packages/* for it. Look for the binary-rpm. And install this. -- Andreas
On Sun, 23 Nov 2003, Andreas Winkelmann wrote:
Am Sonntag, 23. November 2003 16:09 schrieb Krikket:
I first tried to install a package using YaST, but it saw that it had a "newer" verson on CD, so it went with that version instead.
Not cool.
So I tried installing it via the rpm command and got:
linux:/home/krikket/downloads/vcd # rpm -i mjpegtools-1.6.1.90-1.src.rpm warning: user rbultje does not exist - using root linux:/home/krikket/downloads/vcd #
linux:/home/krikket/downloads/vcd # rpm -i mjpegtools-1.6.1.90-1.src.rpm warning: user rbultje does not exist - using root linux:/home/krikket/downloads/vcd #
When I do a pin mjpegtools, I can confirm that it's not installed.
Any clues on how to get this rpm installed? (It's not only this rpm, but 3 -- all of which exhibit the same behavior. What can I say? I don't want crippleware installed on my system!)
You try to install the .src.rpm, this is only the sourcecode used to recompile the program. This will not appear in the rpm-database. If you want to see it, have a look in /usr/src/packages/* for it. Look for the binary-rpm. And install this.
Unfortunately, in some of the cases, I wasn't able to find a SuSE 9.0 binary. (I don't know how much the versions matter...) Is there a way to make a binary rpm from that src.rpm? Krikket
* Krikket
Unfortunately, in some of the cases, I wasn't able to find a SuSE 9.0 binary. (I don't know how much the versions matter...)
Is there a way to make a binary rpm from that src.rpm?
man rpm -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org
Patrick Shanahan wrote:
* Krikket
[11-23-03 21:05]: [snip ...] Unfortunately, in some of the cases, I wasn't able to find a SuSE 9.0 binary. (I don't know how much the versions matter...)
Is there a way to make a binary rpm from that src.rpm?
man rpm
Have you looked at this reference yourself to see what it says at how to create an rpm from a src.rpm? Cheers. -- Wagner's music is really not as bad as it sounds.
* Basil Chupin
Patrick Shanahan wrote:
* Krikket
[11-23-03 21:05]: [snip ...] Unfortunately, in some of the cases, I wasn't able to find a SuSE 9.0 binary. (I don't know how much the versions matter...)
Is there a way to make a binary rpm from that src.rpm?
man rpm
Have you looked at this reference yourself to see what it says at how to create an rpm from a src.rpm?
google for "MaximumRPM", generally recognized as one of the best 'howto' references for RPM. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org
The Monday 2003-11-24 at 21:13 +1100, Basil Chupin wrote:
man rpm
Have you looked at this reference yourself to see what it says at how to create an rpm from a src.rpm?
The information is there, kind of. Look at the options "-b?". The starting point is to expand with: -bp Executes the "%prep" stage from the spec file. Normally this involves unpacking the sources and applying any patches. After this, you have the source tree expanded in '/usr/src/packages/BUILD/' and the spec file in '/usr/src/packages/SPECS/' The problem is that if you want to modify the compile options, you have to edit the spec file - and I still haven't seen a howto explaining this in plain english, specially for SuSE. Then, you can compile it. The options are: -bl Do a "list check". The "%files" section from the spec file is macro expanded, and checks are made to verify that each file exists. -bc Do the "%build" stage from the spec file (after doing the prep stage). This generally involves the equivalent of a "make". -bi Do the "%install" stage from the spec file (after doing the prep and build stages). This generally involves the equivalent of a "make install". -bb Build a binary package (after doing the prep, build, and install stages). -bs Build just the source package (after doing the prep, build, and install stages). -ba Build binary and source packages (after doing the prep, build, and install stages). I would use "-bb". Or a "-bc", followed with "-bb", even if it repeats steps. -- Cheers, Carlos Robinson
On Mon, 24 Nov 2003, Carlos E. R. wrote:
The Monday 2003-11-24 at 21:13 +1100, Basil Chupin wrote:
man rpm
Have you looked at this reference yourself to see what it says at how to create an rpm from a src.rpm?
The information is there, kind of. Look at the options "-b?". The starting point is to expand with:
-bp Executes the "%prep" stage from the spec file. Normally this involves unpacking the sources and applying any patches.
After this, you have the source tree expanded in '/usr/src/packages/BUILD/' and the spec file in '/usr/src/packages/SPECS/'
The problem is that if you want to modify the compile options, you have to edit the spec file - and I still haven't seen a howto explaining this in plain english, specially for SuSE.
Then, you can compile it. The options are:
-bl Do a "list check". The "%files" section from the spec file is macro expanded, and checks are made to verify that each file exists.
-bc Do the "%build" stage from the spec file (after doing the prep stage). This generally involves the equivalent of a "make".
-bi Do the "%install" stage from the spec file (after doing the prep and build stages). This generally involves the equivalent of a "make install".
-bb Build a binary package (after doing the prep, build, and install stages).
-bs Build just the source package (after doing the prep, build, and install stages).
-ba Build binary and source packages (after doing the prep, build, and install stages).
I would use "-bb". Or a "-bc", followed with "-bb", even if it repeats steps.
Thank you very much! Don't know how I missed that one. (And as I'm at work, and not at the home system, I can't poke around this instant...) Krikket
The Monday 2003-11-24 at 22:02 -0500, Krikket wrote:
Thank you very much! Don't know how I missed that one. (And as I'm at work, and not at the home system, I can't poke around this instant...)
A bit more: http://www.rpm.org/RPM-HOWTO/ http://www.rpm.org/howto/ RPM HOWTO Donnie Barnes The Fight Matthias Saou goes head-to-head with tarballs Mandrake RPM HowTo This document is constructed as a step by step recipe to obtain a rpm package that can integrate well in the Mandrake Linux distribution of GNU/Linux, from either a previous source rpm or a tar source. 'rpmdrake' Problems Kevin Masaryk -- Mandrake RPM V Package Management Mandrake - RpmDrake components discussion Interestingly, I don't see a SuSE oriented howto. -- Cheers, Carlos Robinson
On Mon, 24 Nov 2003, Basil Chupin wrote:
Patrick Shanahan wrote:
* Krikket
[11-23-03 21:05]: [snip ...] Unfortunately, in some of the cases, I wasn't able to find a SuSE 9.0 binary. (I don't know how much the versions matter...)
Is there a way to make a binary rpm from that src.rpm?
man rpm
Have you looked at this reference yourself to see what it says at how to create an rpm from a src.rpm?
Actually I did, and couldn't get it to work right. After I asked and for told "RTFM", I did some more googling and came up with: rpm --rebuild xxx.src.rpm I think what was throwing me was the double --. With the exception of --help, I don't think I've ever seen -- be used as a valid argument. Haven't had a chance to try it out yet though. Krikket
SuSE 9.0 comes with rpm 4.x ... as opposed to the 3.6 version that it was prior released with. What's changed is, that all the "build" options are removed from rpm to rpmbuild. So rpmbuild --rebuild <packages>.src.rpm The '--' is used for options with long names, and '-' for options with short names. On Tuesday 25 November 2003 02:51, Krikket wrote:
On Mon, 24 Nov 2003, Basil Chupin wrote:
Patrick Shanahan wrote:
* Krikket
[11-23-03 21:05]: [snip ...] Unfortunately, in some of the cases, I wasn't able to find a SuSE 9.0 binary. (I don't know how much the versions matter...)
Is there a way to make a binary rpm from that src.rpm?
man rpm
Have you looked at this reference yourself to see what it says at how to create an rpm from a src.rpm?
Actually I did, and couldn't get it to work right. After I asked and for told "RTFM", I did some more googling and came up with:
rpm --rebuild xxx.src.rpm
I think what was throwing me was the double --. With the exception of --help, I don't think I've ever seen -- be used as a valid argument.
Haven't had a chance to try it out yet though.
Krikket
participants (6)
-
Andreas Winkelmann
-
Basil Chupin
-
Carlos E. R.
-
Krikket
-
Patrick Shanahan
-
Örn Hansen