Res: Res: Res: Res: Res: Res: Res: Res: [Harbour] tipclientsmtp error

2010-05-14 Thread Fernando Athayde
i have a little error yet
if i use -mt the class hbtip not runs
example:
hbmk2 -mt gmail.prg hbtipssl.hbc, build perfectly
but returns .F.

and

hbmk2gmail.prg hbtipssl.hbc, build perfectly
but returns .T.

log off smtp with error
20100514-09:29:31  :INETCONNECT( smtp.gmail.com, 465 )
>>  <<

20100514-09:29:31  :INETERRORCODE(  )
>>  0 <<

20100514-09:29:41  :INETRECVLINE( , , 512 )
>> NIL <<

20100514-09:29:41  :INETERRORCODE(  )
>>  0 <<

20100514-09:29:42  :INETSENDALL( , 6, QUIT )
>>  6 <<

20100514-09:29:42  :INETRECVLINE( , , 512 )
>> 220 mx.google.com ESMTP 21sm1329732yxe.15 <<

20100514-09:29:42  :INETERRORCODE(  )
>>  0 <<


log without error
20100514-10:05:23  :INETCONNECT( smtp.gmail.com, 465 )
>>  <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 220 mx.google.com ESMTP x34sm670731qce.15 <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 25, HELO  
)
>> 25 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 250 mx.google.com at your service <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 31, MAIL FROM: 
 )
>> 31 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 530-5.5.1 Authentication Required. Learn more at 
>>   <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 5, . )
>>  5 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 
>> x34sm670731qce.15 <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 6, QUIT )
>>  6 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 502 5.5.1 Unrecognized command. x34sm670731qce.15 <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<





Regards
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sexta-feira, 14 de Maio de 2010 8:11:53
Assunto: Re: Res: Res: Res: Res: Res: Res: Res: [Harbour] tipclientsmtp error

> Haleluia, hbmk.hbm have inside hbtip, i remove it, bing, runs ok
> only a question, what is this, all time i build appers this
> Info: resolving _SSL_CIPHER_get_version by linking to 
> __imp__SSL_CIPHER_get_vers
> ion (auto-import)
> Info: resolving _SSL_CTX_add_client_CA by linking to 
> __imp__SSL_CTX_add_client_C
> A (auto-import)
> E:\mingw\BIN\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: 
> warning: a
> uto-importing has been activated without --enable-auto-import specified on 
> the c
> ommand line.
> This should work unless it involves constant data structures referencing 
> symbols
>  from auto-imported DLLs.

This depends on how you created the implib you're using 
and what was the exact source for the implib.

I'm not getting such warning in my environment 
(mingw 4.4.x/4.5.x) with locally build openssl 1.0.0 
.dlls (using MSVC at the moment) and automatically 
built hbmk2 implibs, but one's milage may vary.

Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: Res: Res: Res: Res: Res: Res: Res: [Harbour] tipclientsmtp error

2010-05-14 Thread Viktor Szakáts
> Haleluia, hbmk.hbm have inside hbtip, i remove it, bing, runs ok
> only a question, what is this, all time i build appers this
> Info: resolving _SSL_CIPHER_get_version by linking to 
> __imp__SSL_CIPHER_get_vers
> ion (auto-import)
> Info: resolving _SSL_CTX_add_client_CA by linking to 
> __imp__SSL_CTX_add_client_C
> A (auto-import)
> E:\mingw\BIN\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: 
> warning: a
> uto-importing has been activated without --enable-auto-import specified on 
> the c
> ommand line.
> This should work unless it involves constant data structures referencing 
> symbols
>  from auto-imported DLLs.

This depends on how you created the implib you're using 
and what was the exact source for the implib.

I'm not getting such warning in my environment 
(mingw 4.4.x/4.5.x) with locally build openssl 1.0.0 
.dlls (using MSVC at the moment) and automatically 
built hbmk2 implibs, but one's milage may vary.

Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: Res: Res: Res: Res: [Harbour] tipclientsmtp error

2010-05-14 Thread Fernando Athayde
Haleluia, hbmk.hbm have inside hbtip, i remove it, bing, runs ok
only a question, what is this, all time i build appers this
Info: resolving _SSL_CIPHER_get_version by linking to __imp__SSL_CIPHER_get_vers
ion (auto-import)
Info: resolving _SSL_CTX_add_client_CA by linking to __imp__SSL_CTX_add_client_C
A (auto-import)
E:\mingw\BIN\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: warning: a
uto-importing has been activated without --enable-auto-import specified on the c
ommand line.
This should work unless it involves constant data structures referencing symbols
 from auto-imported DLLs.

Regards
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sexta-feira, 14 de Maio de 2010 7:24:09
Assunto: Re: Res: Res: Res: Res: Res: Res: [Harbour] tipclientsmtp error

Make sure to _NOT_ link against hbtip.hbc at the same time, 
you cannot link to both SSL and non-SSL version of hbtip at 
the same time.

One way to do this is to delete hbmk.hbm.

Viktor

On 2010 May 14, at 12:04, Fernando Athayde wrote:

> off cource yes
> your first reply:
> :You have to link it against hbtipssl.hbc.
> :
> :Viktor
> :end
> 
> see
> E:\harbour_cvs\contrib\hbtip\tests>hbmk2 gmail.prg smtpcli.prg sendmail.prg 
> clie
> nt.prg ..\hbtipssl.hbc
> hbmk2: Processando script local: hbmk.hbm
> hbmk2: Processando arquivo de configuração: e:\harbour_gcc\bin\hbmk.cfg
> hbmk2: Processando: hbtipssl.hbc
> Harbour 2.1.0beta1 (Rev. 14471)
> Copyright (c) 1999-2010, http://www.harbour-project.org/
> Compiling 'gmail.prg'...
> Lines 196, Functions/Procedures 1
> Generating C source output to 
> 'C:\Users\athayde\AppData\Local\Temp\gmail.c'... D
> one.
> Compiling 'smtpcli.prg'...
> Lines 1393, Functions/Procedures 16
> Generating C source output to 
> 'C:\Users\athayde\AppData\Local\Temp\smtpcli.c'...
>  Done.
> Compiling 'sendmail.prg'...
> Lines 2146, Functions/Procedures 2
> Generating C source output to 
> 'C:\Users\athayde\AppData\Local\Temp\sendmail.c'..
> . Done.
> Compiling 'client.prg'...
> Lines 4067, Functions/Procedures 27
> Generating C source output to 
> 'C:\Users\athayde\AppData\Local\Temp\client.c'...
> Done.
> 
> hbtipssl.hbc
> #
> # $Id: hbtipssl.hbc 12413 2009-09-05 23:44:22Z vszakats $
> #
> 
> incpaths=.
> 
> libs=hbtipssl
> libs=../../hbssl/hbssl.hbc
> 
> Regards
> Fernando Athayde
> 
> 
> De: Viktor Szakáts 
> Para: Harbour Project Main Developer List. 
> Enviadas: Sexta-feira, 14 de Maio de 2010 4:53:06
> Assunto: Re: Res: Res: Res: Res: Res: [Harbour] tipclientsmtp error
> 
> Did you read my first reply?
> 
> Viktor
> 
> On 2010 May 14, at 05:22, Fernando Athayde wrote:
> 
> > i hope be useful
> > i build client.prg smtpcli.prg sendmail.prg with gmail.prg
> > and now appears the lines of error
> > 
> > E:\harbour_cvs\contrib\hbtip\tests>gmail
> > 
> > Error BASE/1081  Operation not supported: TIPCLIENTSMTP:new()
> > Called from TIPCLIENT:NEW(212)
> > Called from TIPCLIENTSMTP:NEW(99)
> > Called from HB_SENDMAIL(285)
> > Called from MAIN(38)
> > 
> > Regards
> > Fernando Athayde
> > 
> > De: Fernando Athayde 
> > Para: Harbour Project Main Developer List. 
> > Enviadas: Sexta-feira, 14 de Maio de 2010 0:07:14
> > Assunto: Res: Res: Res: Res: [Harbour] tipclientsmtp error
> > 
> > only by know
> > tiptest.prg runs normaly
> > but gmail.prg don´t strange no
> > 
> > Regards
> > Fernando Athayde
> > 
> > De: Fernando Athayde 
> > Para: Harbour Project Main Developer List. 
> > Enviadas: Quinta-feira, 13 de Maio de 2010 23:55:09
> > Assunto: Res: Res: Res: [Harbour] tipclientsmtp error
> > 
> > i won this battle, lol
> > openssl dll´s there are in bin and not in out32dll
> > i moved dll´s into out32dll, and bang runs, build
> > but still happens this error
> > 
> > Error BASE/1081  Operation not supported: TIPCLIENTSMTP:new()
> > Called from TIPCLIENT:NEW(0)
> > Called from TIPCLIENTSMTP:NEW(0)
> > Called from HB_SENDMAIL(0)
> > 
> > now there is libssleay32.a and libeay32.a in my lib directory
> > 
> > what´s worng, i´m sincronized with svn
> > 
> > Regards,
> > Fernando Athayde
> > 
> > De: Viktor Szakáts 
> > Para: Harbour Project Main Developer List. 
> > Enviadas: Quinta-feira, 13 de Maio de 2010 16:12:29
> > Assunto: Re: Res: Res: [Harbour] tipclientsmtp error
> > 
> > > i already use look
> > > 
> > > set HB_BUILD_DLL=yes
> > > set HB_BUILD_IMPLIB=yes
> > > set HB_INSTALL_PREFIX=e:\harbour_gcc
> > > SET HRB_DIR=e:\harbour_gcc
> > > 
> > > SET HB_WITH_MYSQL=C:\mysql\include
> > > SET HB_INC_MYSQL=C:\mysql\include
> > > SET HB_DIR_MYSQL=C:\mysql
> > > SET HB_WITH_OPENSSL=E:\openssl-1.0.0\include
> > > 
> > > SET HB_PATH=e:\harbour_gcc
> > > 
> > > and only generate these files with ssl
> > > libhbssl.a
> > > libhbssls.a
> > > libhbtipssl.a
> > 
> > So you missed something in my answer.
> > 
> > BTW, most of the above envvars are not 
> > needed, see "10. TROUBLESHOOTING" in INSTALL.
> > 
> > Viktor
> > 
> > ___