Re: Patch: New field in frmMain statusbar - Mailing list pgadmin-hackers

From Adam Scott
Subject Re: Patch: New field in frmMain statusbar
Date
Msg-id CA+s62-NVb0_ZLcLAV682myyqEZTazAzHHJnXiusE6sXSn00Lgw@mail.gmail.com
Whole thread Raw
In response to Re: Patch: New field in frmMain statusbar  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
List pgadmin-hackers
Thank you Ashesh.  I have the pgBuild directory from before when i was using VS 2008.

 It seems once i used VS 2010 the error appears.

 I did add the environment variable for OPENSSL (c:\openssl) and added C:\openssl\out32dll to the VC++ Directories->Library Directories. 

Right now RSA_new() is just an unresolvable identifier in pgadmin\libssh2\openssl.c on line 69. 
http://openssl.org/docs/manmaster/crypto/RSA_new.html  it should be resolvable via rsa.h, but I don't see that included anywhere using Find.  BTW, I'm on a Win 7 machine and am doing nothing but 32-bit builds everywhere. 



On Wed, Sep 23, 2015 at 7:58 PM, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
I created batch script to set the environment variable for setting OPENSSL, WXWIN (wxWidgets).
And, use that batch script in command prompt, and start the devenv (Visual Studio Development Environment IDE) from there.

Between - you will also require libxml2, libxslt, iconv (binaries of them kept in a same directory), and environment variable PGBUILD is set for it.
i.e.
c:\pgBuild\iconv\
c:\pgBuild\libxml2
c:\pgBuild\libxslt
And, PGBUILD environment variable is set to "c:\pgBuild".

Hope this helps.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company


http://www.linkedin.com/in/asheshvashi


On Thu, Sep 24, 2015 at 12:45 AM, Adam Scott <adam.c.scott@gmail.com> wrote:
Thank you Dave!  I rebased from master.     To get it to build is going to take some research. It looks like it wants openssl, which I grabbed and configured for WIN32, but it's not happy.  First error is below.  But this patch is so straightforward, I'm sharing anyway for the sake of time, as it was working before.

2>c:\pgadmin3\pgadmin\libssh2\openssl.c(71): error C2037: left of 'e' specifies undefined struct/union 'rsa_st'

Thanks again!

Adam


On Wed, Sep 23, 2015 at 8:35 AM, Dave Page <dpage@pgadmin.org> wrote:
On Wed, Sep 23, 2015 at 2:55 PM, Adam Scott <adam.c.scott@gmail.com> wrote:
> Is the last patch okay?  If there's something more required or anything
> please let me know.

Hi

The patch does not apply for me. Can you rebase it against master please?

Thanks.

--
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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers



pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin III commit: Make style run.
Next
From: John Obaterspok
Date:
Subject: Re: [PATCH] Add Commit/Rollback toolbar action version 2