[openssl-dev] [openssl.org #4601] install_sw does not honor --openssldir

Richard Levitte levitte at openssl.org
Thu Jun 30 15:42:08 UTC 2016


[taking this out of RT]

In message <rt-4.0.19-24183-1467300594-398.4601-6-0 at openssl.org> on Thu, 30 Jun 2016 15:29:54 +0000, "noloader at gmail.com via RT" <rt at openssl.org> said:

noloader> On Thu, Jun 30, 2016 at 11:12 AM, Richard Levitte via RT <rt at openssl.org> wrote:
noloader> > That's correct for 1.1.0. install_sw honors --prefix. We made that change to
noloader> > get away from all the weird magic around the combinations of --prefix and
noloader> > --openssldir that happened in previous versions.
noloader> >
noloader> > In other words, it's not a bug, it's a feature. Closing this ticket.
noloader> 
noloader> Gotta love unexpected changes :)

Maybe you should read NEWS a CHANGES ;-)

NEWS:

      o Change of Configure to use --prefix as the main installation
        directory location rather than --openssldir.  The latter becomes
        the directory for certs, private key and openssl.cnf exclusively.

CHANGES:

  *) To clarify their intended purposes, the Configure options
     --prefix and --openssldir change their semantics, and become more
     straightforward and less interdependent.

     --prefix shall be used exclusively to give the location INSTALLTOP
     where programs, scripts, libraries, include files and manuals are
     going to be installed.  The default is now /usr/local.

     --openssldir shall be used exclusively to give the default
     location OPENSSLDIR where certificates, private keys, CRLs are
     managed.  This is also where the default openssl.cnf gets
     installed.
     If the directory given with this option is a relative path, the
     values of both the --prefix value and the --openssldir value will
     be combined to become OPENSSLDIR.
     The default for --openssldir is INSTALLTOP/ssl.

     Anyone who uses --openssldir to specify where OpenSSL is to be
     installed MUST change to use --prefix instead.
     [Richard Levitte]

noloader> I don't know what to expect if both --prefix and --openssldir because
noloader> I don't use it. is --prefix actiling like $DESTDIR for make recipes?

DESTDIR is to be used if you want things to get installed in a staging
directory rather than the final installation directory.  That's useful
for package builders.

noloader> Maybe I need to ask, how do we install only the library into the
noloader> directory of our choosing?

./config --prefix=/TOP/INSTALL/DIRECTORY
make install_sw

Cheers,
Richard

-- 
Richard Levitte         levitte at openssl.org
OpenSSL Project         http://www.openssl.org/~levitte/


More information about the openssl-dev mailing list