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

Mike McCauley mikem at open.com.au
Wed Jul 26 12:42:50 UTC 2006


Hello Florian,

On Wednesday 26 July 2006 22:30, Florian Ragwitz wrote:
> 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?

I dont know whether you have uncommitted edits, so its prob best if you do 
these changes.

>
> > 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.

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
Phone +61 7 5598-7474                       Fax   +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP etc on Unix, Windows, MacOS, NetWare etc.



More information about the Net-ssleay-devel mailing list