develooper Front page | perl.perl5.porters | Postings from May 2003

bleadperl on Windows2000 with MS VisualC 6.0

Thread Next
From:
Enache Adrian
Date:
May 11, 2003 15:17
Subject:
bleadperl on Windows2000 with MS VisualC 6.0
Message ID:
20030511221721.GA764@ratsnest.hole
I had today the opportunity to try bleadperl on a Windows2000 machine
(not mine) with the Microsoft Visual C compiler.

I got the following failures:
Failed Test                      Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
../lib/CGI/t/cookie.t               5  1280    86    0   0.00%  ??
../lib/ExtUtils/t/Embed.t                       9    9 100.00%  1-9
../lib/ExtUtils/t/INST.t            5  1280    23    0   0.00%  ??
../lib/Net/Ping/t/450_service.t                26    3  11.54%  8-10
../lib/Tie/File/t/06_fixrec.t                   5    2  40.00%  3-4
../lib/Tie/File/t/09_gen_rs.t                  58    4   6.90%  44-47
../lib/Tie/File/t/22_autochomp.t               71   19  26.76%  3 6 9 12 15 18
                                                                21 24 27 30 33
                                                                36 39 42 45 48
                                                                51-52 54
../lib/Tie/File/t/42_offset.t       1   256    24    1   4.17%  4
io/fs.t                                        34    8  23.53%  2-5 7-9 11
op/stat.t                                      73    2   2.74%  5 7
57 tests and 666 subtests skipped.
NMAKE : fatal error U1077: '..\perl.exe' : return code '0x16'
Stop.

io/fs.t and op/stat.t seems to fail because the tests assume hardlinks
are possible on all filesystems if the OS supports them: the partition
the perl tree was on is a vfat one.
They will probably fail with any OS if the filesystem doesn't support
hardlinks.

The new perl reports:
-----------------------------------------------------------------------
Summary of my perl5 (revision 5 version 9 subversion 0) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cl', ccflags ='-nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT   -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX',
    optimize='-MD -DNDEBUG -O1',
    cppflags='-DWIN32'
    ccversion='', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -release  -libpath:"c:\perl\lib\CORE"  -machine:x86'
    libpth=d:\PROGRA~1\MICROS~1\VC98\lib
    libs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib msvcrt.lib
    perllibs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib msvcrt.lib
    libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl59.lib
    gnulibc_version='undef'
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release  -libpath:"c:\perl\lib\CORE"  -machine:x86'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
  Locally applied patches:
  	DEVEL18374
  Built under MSWin32
  Compiled at May 11 2003 19:11:12
  @INC:
    D:/bleadperl/lib
    .
-----------------------------------------------------------------------

I got the following nitpicking warnings during the compilation:

-----------------------------------------------------------------------
..\op.c(199) : warning C4761: integral size mismatch in argument; conversion supplied
..\perl.c(2192) : warning C4018: '<' : signed/unsigned mismatch
..\sv.c(5917) : warning C4018: '==' : signed/unsigned mismatch
..\sv.c(5923) : warning C4018: '<' : signed/unsigned mismatch
LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
D:\bleadperl\warnings.h -> D:\bleadperl\lib\CORE\warnings.h
..\op.c(199) : warning C4761: integral size mismatch in argument; conversion supplied
..\perl.c(2192) : warning C4018: '<' : signed/unsigned mismatch
..\sv.c(5917) : warning C4018: '==' : signed/unsigned mismatch
..\sv.c(5923) : warning C4018: '<' : signed/unsigned mismatch
MD5.xs(578) : warning C4101: 'my_na' : unreferenced local variable
encengine.c(136) : warning C4018: '==' : signed/unsigned mismatch
Util.xs(243) : warning C4244: '=' : conversion from 'long ' to 'unsigned char ', possible loss of data
Util.xs(294) : warning C4244: '=' : conversion from 'long ' to 'unsigned char ', possible loss of data
Util.c(616) : warning C4101: 'RETVAL' : unreferenced local variable
POSIX.c(2518) : warning C4101: 'RETVAL' : unreferenced local variable
SDBM_File.c(278) : warning C4101: 'key' : unreferenced local variable
SDBM_File.c(278) : warning C4700: local variable 'key' used without having been initialized
Storable.xs(2382) : warning C4101: 'ret' : unreferenced local variable
Storable.xs(4963) : warning C4101: 'errsv' : unreferenced local variable
Thread.c(102) : warning C4101: 'av' : unreferenced local variable
Thread.c(103) : warning C4101: 'i' : unreferenced local variable
Thread.xs(108) : warning C4101: 'sv' : unreferenced local variable
Typemap.c(802) : warning C4018: '<' : signed/unsigned mismatch
-----------------------------------------------------------------------

When installing, installhtml complains a lot about links it cannot
resolve - many of them mail addresses.

When re-installing you have to confirm for each file in particular
to be over-copied which is rather irritating.

Regards,
Adi

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About