Re: error in building a RPM file

2012-03-22 Thread Ralf Corsepius
On 03/22/2012 05:29 PM, Ranjan Maitra wrote: Hi, One other thing I noticed is the use of `make install-strip`. RPM will strip the debugging symbols for you and create a debuginfo package, which might be useful someday if^H^Hwhen it crashes, so you should probably just `make install` here.

Re: error in building a RPM file

2012-03-22 Thread Ranjan Maitra
Hi, > One other thing I noticed is the use of `make install-strip`. RPM > will strip the debugging symbols for you and create a debuginfo > package, which might be useful someday if^H^Hwhen it crashes, so you > should probably just `make install` here. Thanks very much for the e-mail! Then, I

Re: error in building a RPM file

2012-03-22 Thread T.C. Hollingsworth
On Wed, Mar 21, 2012 at 5:23 PM, Ranjan Maitra wrote: > Dear friends, > > OK, playing with a different spec file (attached), I get the following > error: > > > $ rpmbuild -ba wbar.spec > > Question: why does it not do the /usr/bin/gzip? Shouldn't it do > that first, or alternatively use /bin/tar

Re: error in building a RPM file

2012-03-21 Thread Ranjan Maitra
Dear friends, OK, playing with a different spec file (attached), I get the following error: $ rpmbuild -ba wbar.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.00KzX5 + umask 022 + cd /home/maitra/rpmbuild/BUILD + cd /home/maitra/rpmbuild/BUILD + rm -rf wbar-2.3.0 + /bin/tar -xf '/home/maitr

Re: error in building a RPM file

2012-03-21 Thread Ranjan Maitra
Thanks very much for the detailed explanations! First, your new spec file worked for me, now I will have to study it and your e-mail in greater detail to understand this more. > Ok, although when you run it manually it seems to work, I think this > is a bug in their configure setup because it does

Re: error in building a RPM file

2012-03-21 Thread Richard Shaw
On Wed, Mar 21, 2012 at 8:38 AM, Ranjan Maitra wrote: > So, I ran this, but I still continue to get the same error: > > $ rpmbuild -bb peksystray.spec [SNIP] > + ./configure --host=x86_64-unknown-linux-gnu > --build=x86_64-unknown-linux-gnu --program-prefix= --prefix=/usr > --exec-prefix=/usr --bi

Re: error in building a RPM file

2012-03-21 Thread Ranjan Maitra
Hi Richard, Thanks very much for your help! On Wed, 21 Mar 2012 08:12:56 -0500 Richard Shaw wrote: > On Wed, Mar 21, 2012 at 12:45 AM, Ranjan Maitra wrote: > > Hi, > > > > I have been playing around building a RPM file. The file in question is > > peksystray available from: > > > > http://dow

Re: error in building a RPM file

2012-03-21 Thread Richard Shaw
On Wed, Mar 21, 2012 at 12:45 AM, Ranjan Maitra wrote: > Hi, > > I have been playing around building a RPM file. The file in question is > peksystray available from: > > http://downloads.sourceforge.net/project/peksystray/peksystray/0.4.0/peksystray-0.4.0.tar.bz2 > > I am able to download it and c

error in building a RPM file

2012-03-20 Thread Ranjan Maitra
Hi, I have been playing around building a RPM file. The file in question is peksystray available from: http://downloads.sourceforge.net/project/peksystray/peksystray/0.4.0/peksystray-0.4.0.tar.bz2 I am able to download it and compile it using: ./configure make sudo make install-strip No probl