Subject: | Build progblem |
I have encountered a build problem:
D:\src\perl\CPAN\.cpanplus\build\Archive-Tar-0.22>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
C:\opt\perl\5.6.1\bin\perl.exe -Ic:\opt\perl\5.6.1\lib -Ic:\opt\perl\5.6
.1\lib -MExtUtils::Command -e cp ptar blib\script\ptar
C:\opt\perl\5.6.1\bin\perl.exe -Ic:\opt\perl\5.6.1\lib -Ic:\opt\perl\5.6
.1\lib -e "system qq[pl2bat.bat ].shift" blib\script\ptar
D:\src\perl\CPAN\.cpanplus\build\Archive-Tar-0.22>nmake test
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
C:\opt\perl\5.6.1\bin\perl.exe -Ic:\opt\perl\5.6.1\lib -Ic:\opt\perl\5.6
.1\lib -MExtUtils::Command -e cp ptar blib\script\ptar
C:\opt\perl\5.6.1\bin\perl.exe -Ic:\opt\perl\5.6.1\lib -Ic:\opt\perl\5.6
.1\lib -e "system qq[pl2bat.bat ].shift" blib\script\ptar
C:\opt\perl\5.6.1\bin\perl.exe -Iblib\arch -Iblib\lib -Ic:\opt\perl\5.6.
1\lib -Ic:\opt\perl\5.6.1\lib test.pl
1..10
ok 1
ok 2
ok 3
Your vendor has not defined Fcntl macro F_GETFL, used at blib\lib/Archive/Tar.pm
line 254.
NMAKE : fatal error U1077: 'C:\opt\perl\5.6.1\bin\perl.exe' : return code '0x2'
Stop.
D:\src\perl\CPAN\.cpanplus\build\Archive-Tar-0.22>
Is there a work around for using the Fcntl macro involved? Environment follows:
o - Windows XP Pro, no service packs or hot fixes
o - 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=define
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 -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX',
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='', ldflags ='-nologo -nodefaultlib -release -libpath:"c:\opt\perl\5.6.1\lib\CORE" -machine:x86'
libpth=c:\mvs\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.l
ib 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=perl56.lib
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -libpath:"c:\opt\perl\5.6.1\lib\CORE" -machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
Built under MSWin32
Compiled at Feb 9 2002 00:03:24
@INC:
C:/opt/perl/5.6.1/lib
C:/opt/perl/site/5.6.1/lib
.