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

Re: Problems with RedHat source code RPM's





On Sun, 19 May 1996, Udi Finkelstein wrote:

> [ I apologize for posting this again (if you already saw this the last time),
> but I mistakenly left an old subject line, which didn't correspond to the
> contents of this message]
> 
> I'm busy trying to make a few programs work on my Linux system (RedHat 3.0.3).
> (I'm trying to compile some berkeley CAE tools such as ptolemy, sis, octtools,
> vl2mv if anyone cares).
> I'm trying to use RPM to access the source code RPM's from the CD, but for
> some reason, it doesn't work. I can access any binary RPM package on the CD
> (or ones already installed), but when I try accessing anything in the SRPMS
> directory, I get strange a response from RPM.
> Sometimes when I query a package (rpm -q -p <filename>), I get the response: 
> 
> (null)-(null)-(null)
> 
> Instead of a package name and the version number.
> Trying to use rpm -q -p <file>.src.rpm -i produces information with lots of
> (null) parameters and the like.
> 
> anyone have seen this before? The RPM HOWTO says nothing special about source
> code RPM files.
> 
> thanks,
> Udi
> 

Try some thing like:

rpm -i --build . . .

I don't have the RPM-HOWTO by me now. I don't remember if the --build
option is correct. Try it, If it will not work, look at the HOWTO and 
find what should it be.

Good luck

Ron



References: