Subject: | nmake fails |
I see the module has been built by a user on Win32, but
it doesn't build here -- unless I'm missing some instruction outside of the makefile...?
I've sent a report to cpan-testers@perl.org, as follows:
C:\temp\Apache-DBI-0.92>perl Makefile.PL
Writing Makefile for Apache::DBI
C:\temp\Apache-DBI-0.92>nmake
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
C:\temp\Apache-DBI-0.92>nmake test
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
C:\PhotoWebServer\Apache1Perl56\bin\perl.exe "-MExtUtils::Command::MM" "
-e" "test_harness(0, 'blib\lib', 'blib\arch')" t\10mysql.t
t\10mysql....ok 3/7# Failed test (t\10mysql.t at line 35)
# got: '884'
# expected: '885'
t\10mysql....NOK 5# Looks like you failed 1 tests of 7.
t\10mysql....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
Failed 1/7 tests, 85.71% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\10mysql.t 1 256 7 1 14.29% 5
Failed 1/1 test scripts, 0.00% okay. 1/7 subtests failed, 85.71% okay.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2'
Stop.
My perl config:
C:\temp\Apache-DBI-0.92>perl -V
Summary of my perl5 (revision 5 version 6 subversion 1) 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 use5005threads=undef useithreads=define usemultiplicity=def
ine
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cl', ccflags ='-nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -
DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READ
FIX',
optimize='-O1 -MD -DNDEBUG',
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='off_t', lseeksize
=4
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -release -libpath:"C:\PhotoWebSe
rver\Apache1Perl56\lib\CORE" -machine:x86'
libpth=\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 wsoc
k32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comd
lg32.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=perl56.lib
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -libpath:"C:
\PhotoWebServer\Apache1Perl56\lib\CORE" -machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT PERL_IMP
LICIT_SYS
Locally applied patches:
ActivePerl Build 633
Built under MSWin32
Compiled at Jul 3 2002 20:10:34
@INC:
c:/PhotoWebServer/Apache1Perl56/lib
c:/PhotoWebServer/Apache1Perl56/site/lib
.