Re: crypto library is not installed

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: "Andreas 'ads' Scherbaum" <adsmail(at)wars-nicht(dot)de>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: crypto library is not installed
Date: 2014-03-21 06:24:01
Message-ID: CAG7mmozUjjszSySku-7cgspw-gwSDHRpfmMkA8eYY35ukVKKEg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Looks good to me.

On Fri, Mar 14, 2014 at 5:09 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> On Fri, Mar 14, 2014 at 9:12 AM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
> > On Thu, Mar 13, 2014 at 7:24 PM, Andreas 'ads' Scherbaum
> > <adsmail(at)wars-nicht(dot)de> wrote:
> >> On 03/04/2014 09:29 AM, Andreas 'ads' Scherbaum wrote:
> >>>
> >>> On 03/03/2014 02:44 PM, Dave Page wrote:
> >>>>
> >>>> On Mon, Mar 3, 2014 at 1:05 PM, Andreas 'ads' Scherbaum
> >>>> <adsmail(at)wars-nicht(dot)de> wrote:
> >>>>>
> >>>>> On 03/03/2014 11:32 AM, Dave Page wrote:
> >>>>>>
> >>>>>>
> >>>>>> On Mon, Mar 3, 2014 at 10:20 AM, Andreas 'ads' Scherbaum
> >>>>>> <adsmail(at)wars-nicht(dot)de> wrote:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Yes, I know how to fix this. My question is: why is "configure" not
> >>>>>>> checking
> >>>>>>> for this library, when it is required to build pgAdmin3?
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Noone wrote the code I guess. Patches welcome :-)
> >>>>>
> >>>>>
> >>>>>
> >>>>> Just checking the code: why is it even requiring "crypto" when
> compiling
> >>>>> without --with-openssl?
> >>>>
> >>>>
> >>>> That's actually the likely reason why we don't do that test. It seems
> >>>> to be required because we're linking with libpq which is linked with
> >>>> OpenSSL, apps linking to it (on some platforms) also need to link with
> >>>> libcypto. It may also be that an element of bitrot has crept into that
> >>>> configure option - I very much doubt anyone has tested without SSL
> >>>> support in a long time.
> >>>
> >>>
> >>> Given what you said, attached is a patch which requires "openssl/ssl.h"
> >>> to be available. If not, configure bails out with an error message.
> >>
> >>
> >> Any feedback regarding this patch?
> >
> > Not from me at least (yet). I've been up to my eyeballs all week at work.
>
> I took a quick look at this (and then passed the buck to Ashesh for
> additional review and commit :-p ) - I think it's fine except that the
> test needs to be inside the OpenSSL block above. See attached.
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>
>

--
--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company<http://www.enterprisedb.com>

*http://www.linkedin.com/in/asheshvashi*<http://www.linkedin.com/in/asheshvashi>

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Ashesh Vashi 2014-03-21 06:27:57 pgAdmin III commit: Check for existance of 'openssl/ssl.h' header befor
Previous Message J.F. Oster 2014-03-20 15:33:20 PATCH: Save settings regardless of Find&Replace dialog's close method