[openssl-dev] Configure --prefix and --openssldir

Richard Levitte levitte at openssl.org
Tue Jan 19 18:06:06 UTC 2016


Hi,

I'd like to ask developers and packagers out there, how are the
configuration options --prefix and --openssldir working out for you?

When I look at them today, they look...  well, a bit aged, and could
use a refreshment.  But before doing anything with these options, I'd
like to know how you guys are using them, and how they could be
better.

As a recap, here's how they work today (*):

--prefix unset, --openssldir unset
    => INSTALLTOP=/usr/local/ssl , OPENSSLDIR=/usr/local/ssl

--prefix unset, --openssldir set to "/bar" (absolute path)
    => INSTALLTOP=/bar , OPENSSLDIR=/bar

--prefix unset, --openssldir set to "bar" (relative path)
    => INSTALLTOP=bar , OPENSSLDIR=bar/bar

--prefix set to "/foo", --openssldir unset
    => INSTALLTOP=/foo , OPENSSLDIR=/foo/ssl

--prefix set to "/foo", --openssldir set to "/bar" (absolute path)
    => INSTALLTOP=/foo , OPENSSLDIR=/bar

--prefix set to "/foo", --openssldir set to "bar" (relative path)
    => INSTALLTOP=/foo , OPENSSLDIR=/foo/bar


Installation currrntly uses $(INSTALLTOP) to install 'openssl' and
'c_rehash' (in $(INSTALLTOP)/bin), libraries & pkgconfig files (in
$(INSTALLTOP)/lib and $(INSTALLTOP)/lib/pkgconfig), engines (in
$(INSTALLTOP)/lib/engines) and include files (in
$(INSTALLTOP)/include/openssl).

Installation also currently uses $(OPENSSLDIR) to install scripts (in
$(OPENSSLDIR)/misc) except for 'c_rehash', and manuals, both in man
form (in $(OPENSSLDIR)/man/man$n) and html form (in
$(OPENSSLDIR)/html/{apps|crypto|ssl}).

Cheers,
Richard

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


More information about the openssl-dev mailing list