Re: strange problem compiling source rpms

2002-12-13 Thread Bob Proulx
Faheem Mitha [EMAIL PROTECTED] [2002-12-12 21:57:35 +]: rpm is trying to mkdir /usr/src/rpm/SOURCES, of course this fails if /usr/src/rpm does not exist. It's dumb code and a bad error message. Actually it does not try to make the directories. It just fails if the directories are not

Re: strange problem compiling source rpms

2002-12-13 Thread Faheem Mitha
On Fri, 13 Dec 2002 10:31:18 -0700, Bob Proulx [EMAIL PROTECTED] wrote: --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Faheem Mitha [EMAIL PROTECTED] [2002-12-12 21:57:35 +]: rpm is trying to mkdir /usr/src/rpm/SOURCES, of course this fails

Re: strange problem compiling source rpms

2002-12-13 Thread Bob Proulx
Faheem Mitha [EMAIL PROTECTED] [2002-12-13 21:05:46 +]: I see. But in that case the error message does seem rather misleading. Why does it complain about not being able to make directories if it is not trying to make them? (I haven't examined the internals of rpm). Since it is not a

Re: strange problem compiling source rpms

2002-12-12 Thread Joey Hess
Faheem Mitha wrote: No. Am I supposed to create it? Isn't this something that should be done automatically, by a postinst script of whatever? If I am supposed to create it, I think it should be documented. The directory is supposed to be included in the package but was left out by mistake. I'm

Re: strange problem compiling source rpms

2002-12-12 Thread Faheem Mitha
On Thu, 12 Dec 2002 14:37:58 -0500, Joey Hess [EMAIL PROTECTED] wrote: Faheem Mitha wrote: No. Am I supposed to create it? Isn't this something that should be done automatically, by a postinst script of whatever? If I am supposed to create it, I think it should be documented. The directory

strange problem compiling source rpms

2002-12-11 Thread Faheem Mitha
Dear People, I recently tried to install a source rpm (as root) on a Debian system. I got laplace:/home/faheem# rpm -Uvh plugger-4.0-17.src.rpm error: cannot create %sourcedir /usr/src/rpm/SOURCES But this works on my home computer Chrestomanci:/home/faheem# rpm -Uvh plugger-4.0-6.src.rpm

Re: strange problem compiling source rpms

2002-12-11 Thread nate
Faheem Mitha said: Dear People, In case anyone is wondering, I am trying to install the src rpm in order to compile it, an operation I had earlier successfully done on my home computer. I am no RPM expert but anytime I wanted to compile a source rpm I did rpm --rebuild filename.src.rpm

Re: strange problem compiling source rpms

2002-12-11 Thread Faheem Mitha
On Wed, 11 Dec 2002 15:53:27 -0800 (PST), nate [EMAIL PROTECTED] wrote: Faheem Mitha said: Dear People, In case anyone is wondering, I am trying to install the src rpm in order to compile it, an operation I had earlier successfully done on my home computer. I am no RPM expert but

Re: strange problem compiling source rpms

2002-12-11 Thread Derrick 'dman' Hudson
On Thu, Dec 12, 2002 at 03:37:37AM +, Faheem Mitha wrote: | On Wed, 11 Dec 2002 15:53:27 -0800 (PST), nate [EMAIL PROTECTED] wrote: | Faheem Mitha said: | after it's compiled it usually dumps a binary rpm somewhere in | /usr/src/rpms. | | Yes, this is what should happen in theory.

Source rpms

2001-05-12 Thread Stephen J . Thompson
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Hello all, Is there a way to extract source rpm's on a debian box? If so please could you state how? Thanks. Regards, Stephen. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.5 (GNU/Linux) Comment: For info see http://www.gnupg.org

Re: Source rpms

2001-05-12 Thread Waldemar Brodkorb
Hallo Stephen, * Stephen schrieb: Hello all, Is there a way to extract source rpm's on a debian box? If so please could you state how? apt-get install rpm cpio rpm2cpio package.src.rpm| cpio --list rpm2cpio package.src.rpm| cpio --extract filename cya Waldemar -- It's naive to assume

Re: Source rpms

2001-05-12 Thread John Galt
First install package rpm (by apt, dpkg, dselect, deity, whatever) Then rpm -bp just as if you were running RootHat. In fact, Debian's RPM is simply RootHat's with a few cosmetic changes. On Sat, 12 May 2001, Stephen J. Thompson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Hello