Welcome! Log In Create A New Profile

Advanced

(no subject)

Anoop Alias
September 18, 2018 10:42PM
Hi,

../configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx
--with-openssl=./openssl-1.1.1
make DESTDIR=/opt/test install

Did not create the .openssl directory inside the openssl source , but
instead, this created the .openssl directory in the DESTDIR

I found out that if we use an explicit make command
../configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx
--with-openssl=./openssl-1.1.1
make
make DESTDIR=/opt/test install

This works

But the former command without the explicit make used to work on
openssl 1.0.xx releases

Starting from OpenSSL 1.1.0, it is used there as install prefix. ==> This
may be an after effect of this



On Tue, Sep 18, 2018 at 9:47 PM Sergey Kandaurov <pluknet@nginx.com> wrote:

>
> > On 18 Sep 2018, at 10:55, Anoop Alias <anoopalias01@gmail.com> wrote:
> >
> >
> > Hi,
> >
> > I am trying to compile nginx 1.15.3 (mainline) with OpenSSL 1.1.1
> >
> > # ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx
> --with-openssl=./openssl-1.1.1
> >
> > # make DESTDIR=/opt/test install
> >
> > But this error out with
> > ---------------
> > cc: error: ./openssl-1.1.1/.openssl/lib/libssl.a: No such file or
> directory
> > cc: error: ./openssl-1.1.1/.openssl/lib/libcrypto.a: No such file or
> directory
> > make[1]: *** [objs/nginx] Error 1
> > ------------------
> >
> > I could find that the openssl-1.1.1/.openssl directory is not created
> but instead
> >
> > /opt/test/$nginxsrcpath/openssl-1.1.1/.openssl
> >
> > That is if the nginx src is in /root/nginx-1.15.3/
> >
> > The directory .openssl will be
> /opt/test/root/nginx-1.15.3/openssl-1.1.1/.openssl/
> >
> > The make DESTDIR=/opt/test install works fine in nginx 1.13.x with
> OpenSSL 1.0.2p
> > I am not sure the change is caused by nginx 1.15.3 or openssl-1.1.1 to
> be honest
>
> What effect do you expect from DESTDIR?
> Starting from OpenSSL 1.1.0, it is used there as install prefix.
>
> --
> Sergey Kandaurov
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>


--
*Anoop P Alias*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

(no subject)

Anoop Alias September 18, 2018 03:56AM

(no subject)

Sergey Kandaurov September 18, 2018 12:18PM

(no subject)

Anoop Alias September 18, 2018 10:42PM

(no subject)

Sergey Kandaurov September 19, 2018 06:56AM

(no subject)

Anoop Alias September 19, 2018 06:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 102
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready