> -----Original Message-----
> From: Paul Schreiber [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, June 25, 2000 12:52 PM
> To: [EMAIL PROTECTED]
> Subject: rpm --rebuild openssl dies
> 
> I went to install openssh on my cobalt raq2[0] yesterday. 
> Instead of my usual
> compile-from-source routine, I decided to try using a RPM.
> 
> I logged into the box and su'd to root.
> 
> Since there wasn't a MIPS(el) RPM, I got the source RPM [1]. 
> I went and
> typed:
> 
> rpm --rebuild openssl-0.9.5a-1.src.rpm
> 
> The first time it died because it was looking for 
> /usr/local/bin/perl, and
> the raq has /usr/bin/perl. So I symlinked a 
> /usr/local/bin/perl, and I was
> off.
> 
> Let me now bitch that this process takes WAY TOO FREAKIN' LONG.

Never seems to take that long on my machines, except that it's a bit slow on
my SS2 (like a fast 486), and maybe a bit too long on my dual proc SS20
(each proc is about twice as fast as the SS2).  The latter is because most
.spec files don't take advantage of parallel make.

> And waited another 45 minutes. And this time, it died with 
> the following
> error:
> 
> + mv /var/tmp/openssl-0.9.5a-root/usr/man/man7/des_modes.7
> /var/tmp/openssl-0.9.5a-root/usr/man/man7/des_modes.7ssl
> + install -m644 rsaref/rsaref.h
> /var/tmp/openssl-0.9.5a-root/usr/include/openssl
> install: /var/tmp/openssl-0.9.5a-root/usr/include/openssl: No 
> such file or
> directory
> Bad exit status from /var/tmp/rpm-tmp.99346 (%install)
> 
> Question #1: how do I fix that problem?

Looks like the make install section is failing because some file or
directory didn't get installed.  I'd try going into the BUILD directory, and
re-issuing 'make clean' and then 'make' and finally 'make install' and watch
the output for any errors.  I have never managed to get OpenSSL to build on
anything other than i386, but maybe somebody on the OpenSSL list has had
other luck.

> Question #2: is there a way to have the rpm --rebuild 
> continue from where it
> left off?

No, it needs to make sure that it's starting with a clean build environment.
Rebuild is one of the pieces that it cleans up before running, there are
other sections that you can short circut to.  
        Grego
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to