[Net-ssleay-devel] Testers for svn trunk, please.

Florian Ragwitz rafl at debian.org
Wed Jul 26 12:30:22 UTC 2006


On Wed, Jul 26, 2006 at 10:00:11AM +1000, Mike McCauley wrote:
> Hello Florian,
> 
> OK, more progress, then problems on Windows:
> 
> 1. Need to manually install Test::Exception on Windows else get (skippable) 
> problems during perl Makefile.PL

This is easily fixed by

use lib 'inc';

in the tests which use Test::Exception as this module is bundled during
make dist into inc/. I just forgot to modify the tests.

> 2. There is a syntax error on Windows in ssleay_verify_callback_invoke:
> The declaration 
> 
> dSP;
> 
> needs to appear _not_ embedded in the code, but up with the other function 
> level declarations:
> ssleay_verify_callback_invoke (int ok, X509_STORE_CTX* x509_store) {
> 	SSL* ssl;
> 	SV* key;
> 	char* key_str;
> 	STRLEN key_len;
> 	SV** callback;
> 	int count, res;
> 	dSP;                     <- MOVE To HERE
> 
> (some Windows C compilers dont permit inline variable declarations).

OK, I didn't know about that. Do you want to fix that or shall I?

> 3. The link phase of the ssleay.dll fails, because the necessary switches set 
> by  ssleay_get_build_opts (lib_paths and lib_links) dont end up on the link 
> command line. The resulting link command line is:
> 
>         link -out:blib\arch\auto\Net\SSLeay\SSLeay.dll -dll -nologo 
> -nodefaultli
> b -debug -opt:ref,icf  -libpath:"C:\Perl\lib\CORE"  -machine:x86 SSLeay.obj   
> C:
> \Perl\lib\CORE\perl58.lib "C:\Program Files\Microsoft Visual 
> Studio\VC98\lib\old
> names.lib" "C:\Program Files\Microsoft SDK\Lib\.\kernel32.lib" "C:\Program 
> Files
> \Microsoft SDK\Lib\.\user32.lib" "C:\Program Files\Microsoft SDK\Lib\.
> \gdi32.lib
> " "C:\Program Files\Microsoft SDK\Lib\.\winspool.lib" "C:\Program 
> Files\Microsof
> t SDK\Lib\.\comdlg32.lib" "C:\Program Files\Microsoft SDK\Lib\.\advapi32.lib" 
> "C
> :\Program Files\Microsoft SDK\Lib\.\shell32.lib" "C:\Program Files\Microsoft 
> SDK
> \Lib\.\ole32.lib" "C:\Program Files\Microsoft SDK\Lib\.\oleaut32.lib" "C:
> \Progra
> m Files\Microsoft SDK\Lib\.\netapi32.lib" "C:\Program Files\Microsoft 
> SDK\Lib\.\
> uuid.lib" "C:\Program Files\Microsoft SDK\Lib\.\ws2_32.lib" "C:\Program 
> Files\Mi
> crosoft SDK\Lib\.\mpr.lib" "C:\Program Files\Microsoft SDK\Lib\.\winmm.lib" 
> "C:\
> Program Files\Microsoft SDK\Lib\.\version.lib" "C:\Program Files\Microsoft 
> SDK\L
> ib\.\odbc32.lib" "C:\Program Files\Microsoft SDK\Lib\.\odbccp32.lib" "C:
> \Program
>  Files\Microsoft Visual Studio\VC98\lib\msvcrt.lib" -def:SSLeay.def

What's the error you get? How is this commandline supposed to look like?

> Also, some Unixish command line options make it onto the Windows compiler 
> command lines (such as -g)

OK, will be fixed soon.

> Im note sure if this is because Module::Build also needs to make it into the 
> dist? Or does Module::Install really support Windows properly?

Yes, it does. Quite well actually. It's the M::I extension in ext/ which
seems to be broken.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/net-ssleay-devel/attachments/20060726/7148e207/attachment.pgp


More information about the Net-ssleay-devel mailing list