Thread: ssl configure

ssl configure

From
Andreas Pflug
Date:
Adam H.Pendleton wrote:
>
>
>
> Here's your problem.  You don't have the ssl library, but configure
> expects it.  I submitted a patch to the list a few days ago fixing this
> problem.

Hi Adam,

that patch was very thorough indeed :-)
I don't have SSL any more. I can't see any "ssl" text in config.log.

Regards,
Andreas

Re: ssl configure

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
> Andreas Pflug
> Sent: 11 August 2004 00:59
> To: Adam H.Pendleton
> Cc: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] ssl configure
>
> Adam H.Pendleton wrote:
> >
> >
> >
> > Here's your problem.  You don't have the ssl library, but configure
> > expects it.  I submitted a patch to the list a few days ago fixing
> > this problem.
>
> Hi Adam,
>
> that patch was very thorough indeed :-)
> I don't have SSL any more. I can't see any "ssl" text in config.log.

Hmm, although it worked when I tested it, the auto build last night
(which should have SSL) failed at the link step with the errors below.
I'm sure I did a make clean first, but clearly I didn't :-(. Can you
(Adam) come up with a fix for this easily, or should I roll back the
patch?

Regards, Dave

g++ -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include
-I../src/agent/include -Wall -g -O0  -L/usr/local/pgsql/lib
-L/usr/local//lib -o pgadmin3  pgAdmin3.o pgConn.o pgSet.o keywords.o
pgAggregate.o pgCast.o pgCheck.o pgCollection.o pgColumn.o
pgConstraints.o pgConversion.o pgDatabase.o pgDomain.o pgForeignKey.o
pgFunction.o pgGroup.o pgIndex.o pgIndexConstraint.o pgLanguage.o
pgObject.o pgOperator.o pgOperatorClass.o pgRule.o pgSchema.o
pgSequence.o pgServer.o pgTable.o pgTablespace.o pgTrigger.o pgType.o
pgUser.o pgView.o pgDatatype.o pgaAgent.o pgaJob.o pgaStep.o
pgaSchedule.o dlgJob.o dlgSchedule.o dlgStep.o xh_sqlbox.o xh_calb.o
xh_timespin.o ctlSecurityPanel.o dlgClasses.o ctlComboBox.o calbox.o
timespin.o ctlListView.o ctlSQLBox.o ctlSQLResult.o frmExport.o
dlgEditGridOptions.o events.o frmAbout.o frmIndexcheck.o dlgConnect.o
frmMain.o frmOptions.o frmPassword.o frmQuery.o frmHelp.o frmSplash.o
frmMaintenance.o frmBackup.o frmRestore.o frmGrantWizard.o frmE!
 ditGrid.o dlgProperty.o dlgUser.o dlgServer.o dlgGroup.o dlgDatabase.o
dlgLanguage.o dlgSchema.o dlgDomain.o dlgTable.o dlgTablespace.o
dlgColumn.o dlgIndex.o dlgFunction.o dlgView.o dlgRule.o dlgOperator.o
dlgAggregate.o dlgCast.o dlgConversion.o dlgIndexConstraint.o
dlgForeignKey.o dlgSequence.o dlgTrigger.o dlgType.o dlgCheck.o
frmStatus.o misc.o sysLogger.o sysSettings.o utffile.o xrcDialogs.o
/usr/local/pgsql/lib/libpq.a -lcrypt  -lcrypto
/usr/local//lib/libwx_gtk2ud_stc-2.5.a
/usr/local//lib/libwx_gtk2ud_xrc-2.5.a -L/usr/local/lib -pthread
-L/usr/X11R6/lib /usr/local/lib/libwx_gtk2ud_html-2.5.a
/usr/local/lib/libwx_gtk2ud_adv-2.5.a
/usr/local/lib/libwx_gtk2ud_core-2.5.a
/usr/local/lib/libwx_baseud_xml-2.5.a
/usr/local/lib/libwx_baseud_net-2.5.a /usr/local/lib/libwx_baseud-2.5.a
-Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -Wl,-!
 -export-dynamic -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmo!
 dule-2.0
 -ldl -lglib-2.0 -lXinerama -lXxf86vm -lpng -lz -ljpeg -ltiff -lexpat
-lz -ldl -lm -lwxregexud
/usr/local/pgsql/lib/libpq.a(fe-misc.o)(.text+0xefa): In function
`pqSocketCheck':
: undefined reference to `SSL_pending'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0x4d): In function
`pqsecure_open_client':
: undefined reference to `SSL_new'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0x64): In function
`pqsecure_open_client':
: undefined reference to `SSL_set_ex_data'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xae): In function
`pqsecure_open_client':
: undefined reference to `SSL_set_fd'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0x13a): In function
`.L14':
: undefined reference to `SSL_read'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0x14b): In function
`.L14':
: undefined reference to `SSL_get_error'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0x296): In function
`pqsecure_write':
: undefined reference to `SSL_write'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0x2a7): In function
`pqsecure_write':
: undefined reference to `SSL_get_error'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0x759): In function
`client_cert_cb':
: undefined reference to `SSL_get_ex_data'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xb40): In function
`initialize_SSL':
: undefined reference to `SSL_library_init'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xb45): In function
`initialize_SSL':
: undefined reference to `SSL_load_error_strings'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xb4d): In function
`initialize_SSL':
: undefined reference to `TLSv1_method'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xb55): In function
`initialize_SSL':
: undefined reference to `SSL_CTX_new'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xbe1): In function
`initialize_SSL':
: undefined reference to `SSL_CTX_load_verify_locations'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xbfe): In function
`initialize_SSL':
: undefined reference to `SSL_CTX_set_verify'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xc0e): In function
`initialize_SSL':
: undefined reference to `SSL_CTX_set_verify_depth'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xc23): In function
`initialize_SSL':
: undefined reference to `SSL_CTX_set_tmp_dh_callback'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xc38): In function
`initialize_SSL':
: undefined reference to `SSL_CTX_ctrl'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xcd5): In function
`destroy_SSL':
: undefined reference to `SSL_CTX_free'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xd13): In function
`open_client_SSL':
: undefined reference to `SSL_connect'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xd2f): In function
`open_client_SSL':
: undefined reference to `SSL_get_peer_certificate'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xddc): In function
`open_client_SSL':
: undefined reference to `SSL_get_error'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xeb5): In function
`close_SSL':
: undefined reference to `SSL_shutdown'
/usr/local/pgsql/lib/libpq.a(fe-secure.o)(.text+0xec2): In function
`close_SSL':
: undefined reference to `SSL_free'
collect2: ld returned 1 exit status

Re: ssl configure

From
Adam H.Pendleton
Date:
On Aug 11, 2004, at 3:13 AM, Dave Page wrote:

>
> Hmm, although it worked when I tested it, the auto build last night
> (which should have SSL) failed at the link step with the errors below.
> I'm sure I did a make clean first, but clearly I didn't :-(. Can you
> (Adam) come up with a fix for this easily, or should I roll back the
> patch?

Can you send me a config.log from a system that has SSL, but didn't
build with it?

ahp


Re: ssl configure

From
"Dave Page"
Date:

> -----Original Message-----
> From: Adam H. Pendleton [mailto:fmonkey@fmonkey.net]
> Sent: 11 August 2004 12:22
> To: Dave Page
> Cc: Andreas Pflug; pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] ssl configure
>
> Can you send me a config.log from a system that has SSL, but
> didn't build with it?
>

Attached.

Regards, dave

Attachment

Re: ssl configure

From
Adam H.Pendleton
Date:
On Aug 11, 2004, at 7:46 AM, Dave Page wrote:

>
>
>> -----Original Message-----
>> From: Adam H. Pendleton [mailto:fmonkey@fmonkey.net]
>> Sent: 11 August 2004 12:22
>> To: Dave Page
>> Cc: Andreas Pflug; pgadmin-hackers@postgresql.org
>> Subject: Re: [pgadmin-hackers] ssl configure
>>
>> Can you send me a config.log from a system that has SSL, but
>> didn't build with it?
>>
>
> Attached.

Hmmmm, this line should have failed with SSL dependency errors:

configure:4619: checking for PQexec in -lpq
configure:4650: gcc -o conftest -Wall -g -O0
-I/usr/local/pgsql/include  -L/usr/local/pgsql/lib conftest.c -lpq
 >&5

But it didn't, so you should roll back the patch until I can figure
something better out.  Sorry.  :-(

ahp

Re: ssl configure

From
"Dave Page"
Date:

> -----Original Message-----
> From: Adam H. Pendleton [mailto:fmonkey@fmonkey.net]
> Sent: 11 August 2004 12:57
> To: Dave Page
> Cc: Andreas Pflug; pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] ssl configure
>
>
>
> Hmmmm, this line should have failed with SSL dependency errors:
>
> configure:4619: checking for PQexec in -lpq
> configure:4650: gcc -o conftest -Wall -g -O0
> -I/usr/local/pgsql/include  -L/usr/local/pgsql/lib conftest.c -lpq
>  >&5
>
> But it didn't, so you should roll back the patch until I can
> figure something better out.  Sorry.  :-(

No problem - thanks Adam.

/D

src compilation on Win32

From
"Yuri B. Lukyanov"
Date:
sorry for my english.

Please, help me to build Win32 binaries from project sources.
Why I can't open the poject/workspace by MS Visual C++ 6.0?

___________________________________
Best regards, Yuri B. Lukyanov
12 августа 2004 г. 7:55:39
mailto:snaky@ulstu.ru


Re: src compilation on Win32

From
Andreas Pflug
Date:
Yuri B. Lukyanov wrote:
> sorry for my english.
>
> Please, help me to build Win32 binaries from project sources.
> Why I can't open the poject/workspace by MS Visual C++ 6.0?

Can't tell. The project *is* MS VC 6.0.

Regards,
Andreas

Re: src compilation on Win32

From
Alexander Borkowski
Date:
Yuri B. Lukyanov wrote:
> Please, help me to build Win32 binaries from project sources.
> Why I can't open the poject/workspace by MS Visual C++ 6.0?

I was able to open these files only after changing their line endings
from Unix (line feed only) to Windows (carriage return + line feed)
style. Maybe you have the same problem?

HTH,

Alex



Re: src compilation on Win32

From
Andreas Pflug
Date:
Alexander Borkowski wrote:
> Yuri B. Lukyanov wrote:
>
>> Please, help me to build Win32 binaries from project sources.
>> Why I can't open the poject/workspace by MS Visual C++ 6.0?
>
>
> I was able to open these files only after changing their line endings
> from Unix (line feed only) to Windows (carriage return + line feed)
> style. Maybe you have the same problem?

That's happening if you checkout with unix tools. If you use e.g.
wincvs, everything will be fine. There's an option in the underlying
cvsnt for this, check it out.

Regards,
Andreas