[Net-ssleay-devel] Development Release 1.31_01
Mike McCauley
mikem at open.com.au
Fri Jul 6 07:23:38 UTC 2007
Hi All,
On Wednesday 04 July 2007 18:05, Mike McCauley wrote:
> Hi Florian,
>
> Im seeing test failures on Unix and link problems on Windows.
> Investigating.
1. The 'make test' failures were in t/external/08_external.t
The server at www.cdw.com does not set the SERVER header, and therfore the
test was incorrectly reported as failing. Committed a fixed version of
08_exernal.t that looks for CONTENT-TYPE
There are still a number of tets that are skipped on my Linux platform:
t/local/01_pod...................skipped
all skipped: Test::Pod 1.00 required for testing POD
t/local/02_pod_coverage..........skipped
all skipped: currently disabled
t/local/kwalitee.................skipped
all skipped: Needs Test::Kwalitee
2. Makefile.PL requires Test::NoWarnings, which is not part of the standard
ActiveState ActivePerl 5.8 distro on Windows.
This results in a report of Test::NoWarnings being mssing during 'perl
Makefile.PL'
It is available for install from PPM, but I wonder if we really need to add
this new external dependency, which will surely confound some people ?
3. There is something wrong with the MakeMaker behaviour under Windows. In
inc/Module/Install/PRIVATE/Net/SSLeay.pm, function find_openssl_prefix() the
guesses list uis wrong, and should have:
'C:\OpenSSL\bin\openssl.exe' => 'C:\OpenSSL',
but even after fixing this, the resulting Makefile has the correct Windows INC
but incorrect LDLOADLIBS. The right args seem to be passsed to MakeMaker,
like this:
# MakeMaker Parameters:
# ABSTRACT => q[Perl extension for using OpenSSL]
# AUTHOR => q[Maintained by Mike McCauley and Florian Ragwitz since
November 2005]
# CCCDLFLAGS => q[]
# DIR => []
# DISTNAME => q[Net-SSLeay]
# INC => q[-IC:\OpenSSL/include -IC:\OpenSSL/inc32 -Iusr/kerberos/include]
# LIBS => q[-LC:\OpenSSL -LC:\OpenSSL/lib -LC:\OpenSSL/out32dll -LC:
\OpenSSL/lib/VC -llibeay32 -lssleay32]
which looks OK, but the Makefile has
LDLOADLIBS = "C:\Program Files\Microsoft Visual Studio\VC98\lib\oldnames.lib"
"C:\Program Files\Microsoft Visual Studio\VC98\lib\kernel32.lib" "C:\Program
Files\Microsoft Visual Studio\VC98\lib\user32.lib" "C:\Program
Files\Microsoft Visual Studio\VC98\lib\gdi32.lib" "C:\Program Files\Microsoft
Visual Studio\VC98\lib\winspool.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\comdlg32.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\advapi32.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\shell32.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\ole32.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\oleaut32.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\netapi32.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\uuid.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\ws2_32.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\mpr.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\winmm.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\version.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\odbc32.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\odbccp32.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\msvcrt.lib"
ie it looks like LDLOADLIBS does not get the contents of LIBS for windows.
Florian, is the right version of all the stuff in inc correct? Im pretty sure
this used to work.
>
> Cheers.
>
> On Wednesday 04 July 2007 00:08, Florian Ragwitz wrote:
> > Hi,
> >
> > I just uploaded current trunk to CPAN as a development release:
> > Net-SSLeay-1.31_01. Please give it a try and report possible problems.
> >
> >
> > TIA,
> > Flo
--
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