Re: SSH Tunneling Patch

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: SSH Tunneling Patch
Date: 2013-05-07 08:16:21
Message-ID: CA+OCxowTf3hMTw=gVSiVgiftwz-kQMAX7_4uZqKhUd6oPdgviQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Tue, May 7, 2013 at 9:09 AM, Akshay Joshi
<akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
> Hi Dave
>
>
> On Thu, May 2, 2013 at 10:14 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>
>> Hi
>>
>> I committed the patch a little while back after testing successfully
>> on Linux, Windows and Mac and adding some docs. Unfortunately, since
>> then I've seen the following issues:
>>
>> - On OS X Tiger 10.4 (the EDB machine Tanaka), I got a compile failure:
>>
>> utils/sshTunnel.cpp:46: error: invalid conversion from 'const char*
>> (*)(int, const void*, char*, size_t)' to 'const char* (*)(int, const
>> void*, char*, socklen_t)'
>> gcc -DHAVE_CONFIG_H -I. -I.. -I../pgadmin/include/libssh2
>> -I../pgadmin/include -I/usr/local/pgsql-9.2/include
>> -I/usr/local/pgsql-9.2/include/server -I/usr/local/pgsql-9.2/include
>> -DPG_SSL -DHAVE_CONNINFO_PARSE
>> -I/usr/local/lib/wx/include/mac-unicode-release-static-2.8
>> -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>> -D__WXMAC__ -DEMBED_XRC -arch i386 -arch ppc
>> -I/usr/local/include/libxml2 -I/usr/local/include
>> -I/usr/local/include/libxml2 -DHAVE_OPENSSL_CRYPTO -O2 -c -o
>> libssh2/packet.o libssh2/packet.c
>> utils/sshTunnel.cpp:46: error: invalid conversion from 'const char*
>> (*)(int, const void*, char*, size_t)' to 'const char* (*)(int, const
>> void*, char*, socklen_t)'
>> lipo: can't figure out the architecture type of: /var/tmp//cceIHDrK.out
>>
>> Note that this was with a multi-arch build, configured with
>> "./configure --enable-appbundle --with-pgsql=/usr/local/pgsql-9.2
>> --with-arch-ppc --with-arch-i386 --disable-dependency-tracking". I
>> also tried a build with "./configure --enable-appbundle
>> --with-pgsql=/usr/local/pgsql-9.2 --with-arch-i386" and that failed
>> similarly
>>
>> - The pgAdmin Jenkins build failed at the bootstrap step -
>>
>> http://developer.pgadmin.org:8080/job/pgAdmin%20master%20branch/69/console.
>> This machine is a Debian Squeeze box. Installing Gettext (per a
>> comment you made earlier in the development of this patch) fixed the
>> problem, but I find it odd that that is required.
>
>
> Ashesh has helped me to fix the issue of AC_LIB_HAVE_LINKFLAGS. With this
> fix Gettext is not required. Attached is the patch file. Please review it
> and if it looks good then can you please commit it.

Hi

Can you explain what it does to fix the issue please? I'm very far
from being an autotools expert.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2013-05-07 11:44:51 pgAdmin III commit: Ship config.rpath.in in the tarball.
Previous Message Dinesh Kumar 2013-05-07 08:14:40 Procedure "RENAME, SET SCHEMA" issues patch.