Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 527 forks source link

WinNT native build of Perl 5.8.0 - 3 errors in op/magic.t #5884

Closed p5pRT closed 11 years ago

p5pRT commented 21 years ago

Migrated from rt.perl.org#16927 (status was 'resolved')

Searchable as RT16927$

p5pRT commented 21 years ago

From Steffen.Beyer@conducta.endress.com

When building Perl 5.8.0 under Windows NT using MS VC++ 6.0\, 3 errors in op/magic.t occur (tests #24-26) when running "nmake test".

See attached bugreport for details.

(See attached file​: perlbug.rep)

Best regards\, Steffen Beyer

Disclaimer​: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review\, retransmission\, dissemination or other use of\, or taking of any action in reliance upon\, this information by persons or entities other than the intended recipient is prohibited. If you receive this in error\, please contact the sender and delete the material from any computer. The content of this message does not create legally binding commitments.

p5pRT commented 21 years ago

From Steffen.Beyer@conducta.endress.com

When I built Perl 5.8.0 using Microsoft's Visual C++ 6.0 compiler\, I got 3 errors (the only ones!) in op/magic when I ran "nmake test".

I just wanted to let you know\, just in case.

I used the following Makefile (from perl-5.8.0/win32)​: (Only the user configurable section shown)

# # Makefile to build perl on Windows NT using Microsoft NMAKE. # Supported compilers​: # Visual C++ 2.0 through 6.0 (and possibly newer versions) # MS Platform SDK 64-bit compiler and tools **experimental** # # This is set up to build a perl.exe that runs off a shared library # (perl58.dll). Also makes individual DLLs for the XS extensions. #

## ## Make sure you read README.win32 *before* you mess with anything here! ##

## ## Build configuration. Edit the values below to suit your needs. ##

# # Set these to wherever you want "nmake install" to put your # newly built perl. # INST_DRV = \Programme INST_TOP = $(INST_DRV)\perl580

# # Comment this out if you DON'T want your perl installation to be versioned. # This means that the new installation will overwrite any files from the # old installation at the same INST_TOP location. Leaving it enabled is # the safest route\, as perl adds the extra version directory to all the # locations it installs files to. If you disable it\, an alternative # versioned installation can be obtained by setting INST_TOP above to a # path that includes an arbitrary version string. # #INST_VER = \5.8.0

# # Comment this out if you DON'T want your perl installation to have # architecture specific components. This means that architecture- # specific files will be installed along with the architecture-neutral # files. Leaving it enabled is safer and more flexible\, in case you # want to build multiple flavors of perl and install them together in # the same location. Commenting it out gives you a simpler # installation that is easier to understand for beginners. # #INST_ARCH = \$(ARCHNAME)

# # uncomment to enable multiple interpreters. This is need for fork() # emulation and for thread support. # USE_MULTI = define

# # Beginnings of interpreter cloning/threads; now reasonably complete. # This should be enabled to get the fork() emulation. This needs # USE_MULTI as well. # USE_ITHREADS = define

# # uncomment to enable the implicit "host" layer for all system calls # made by perl. This needs USE_MULTI above. This is also needed to # get fork(). # USE_IMP_SYS = define

# # Comment out next assign to disable perl's I/O subsystem and use compiler's # stdio for IO - depending on your compiler vendor and run time library you may # then get a number of fails from make test i.e. bugs - complain to them not us ;-). # You will also be unable to take full advantage of perl5.8's support for multiple # encodings and may see lower IO performance. You have been warned. USE_PERLIO = define

# # WARNING! This option is deprecated and will eventually go away (enable # USE_ITHREADS instead). # # uncomment to enable threads-capabilities. This is incompatible with # USE_ITHREADS\, and is only here for people who may have come to rely # on the experimental Thread support that was in 5.005. # #USE_5005THREADS = define

# # uncomment one of the following lines if you are using either # Visual C++ 2.x or Visual C++ 6.x (aka Visual Studio 98) # #CCTYPE = MSVC20 CCTYPE = MSVC60

# # uncomment next line if you want debug version of perl (big\,slow) # If not enabled\, we automatically try to use maximum optimization # with all compilers that are known to have a working optimizer. # #CFG = Debug

# # uncomment to enable use of PerlCRT.DLL when using the Visual C compiler. # It has patches that fix known bugs in older versions of MSVCRT.DLL. # This currently requires VC 5.0 with Service Pack 3 or later. # Get it from CPAN at http​://www.cpan.org/authors/id/D/DO/DOUGL/ # and follow the directions in the package to install. # # Not recommended if you have VC 6.x and you're not running Windows 9x. # #USE_PERLCRT = define

# # uncomment to enable linking with setargv.obj under the Visual C # compiler. Setting this options enables perl to expand wildcards in # arguments\, but it may be harder to use alternate methods like # File​::DosGlob that are more powerful. This option is supported only with # Visual C. # #USE_SETARGV = define

# # if you have the source for des_fcrypt()\, uncomment this and make sure the # file exists (see README.win32). File should be located in the same # directory as this file. # #CRYPT_SRC = fcrypt.c

# # if you didn't set CRYPT_SRC and if you have des_fcrypt() available in a # library\, uncomment this\, and make sure the library exists (see README.win32) # Specify the full pathname of the library. # #CRYPT_LIB = fcrypt.lib

# # set this if you wish to use perl's malloc # WARNING​: Turning this on/off WILL break binary compatibility with extensions # you may have compiled with/without it. Be prepared to recompile all # extensions if you change the default. Currently\, this cannot be enabled # if you ask for USE_IMP_SYS above. # #PERL_MALLOC = define

# # set the install locations of the compiler include/libraries # Running VCVARS32.BAT is *required* when using Visual C. # Some versions of Visual C don't define MSVCDIR in the environment\, # so you may have to set CCHOME explicitly (spaces in the path name should # not be quoted) # #CCHOME = f​:\msvc20 CCHOME = $(MSVCDIR) CCINCDIR = $(CCHOME)\include CCLIBDIR = $(CCHOME)\lib

# # Additional compiler flags can be specified here. #

# # This should normally be disabled. Adding -DPERL_POLLUTE enables support # for old symbols by default\, at the expense of extreme pollution. You most # probably just want to build modules that won't compile with # perl Makefile.PL POLLUTE=1 # instead of enabling this. Please report such modules to the respective # authors. # #BUILDOPT = $(BUILDOPT) -DPERL_POLLUTE

# # This should normally be disabled. Enabling it will disable the File​::Glob # implementation of CORE​::glob. # #BUILDOPT = $(BUILDOPT) -DPERL_EXTERNAL_GLOB

# # This should normally be disabled. Enabling it causes perl to read scripts # in text mode (which is the 5.005 behavior) and will break ByteLoader. #BUILDOPT = $(BUILDOPT) -DPERL_TEXTMODE_SCRIPTS

# # specify semicolon-separated list of extra directories that modules will # look for libraries (spaces in path names need not be quoted) # EXTRALIBDIRS =

# # set this to your email address (perl will guess a value from # from your loginname and your hostname\, which may not be right) # EMAIL = sb@​engelschall.com (Steffen Beyer)

## ## Build configuration ends. ##

##################### CHANGE THESE ONLY IF YOU MUST #####################

Perl Info ``` --- Flags: category=core severity=medium --- Site configuration information for perl v5.8.0: Configured by Beyers at Mon Sep 2 09:45:27 2002. Summary of my perl5 (revision 5 version 8 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 use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=undef 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='off_t', lseeksize=4 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -release -libpath:"\Programme\perl580\lib\CORE" -machine:x86' libpth=C:\PROGRA~1\MICROS~2\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=perl58.lib gnulibc_version='undef' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -libpath:"\Programme\perl580\lib\CORE" -machine:x86' Locally applied patches: --- @INC for perl v5.8.0: C:/Programme/perl580/lib C:/Programme/perl580/site/lib . --- Environment for perl v5.8.0: HOME (unset) LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\system32\nls;C:\WINNT\system32\nls\English;D:\SIEMENS\Common\Sqlany;D:\SIEMENS\STEP7\s7bin;C:\Programme\sniff\bin;C:\Enabler\Runtime;C:\Programme\CVSNT;C:\Programme\perl580\bin;Z:.;Y:.;;C:\HCF\DDL\BIN;C:\Programm\DD\Workspac.e\Kopie von myprolfc_hh PERL_BADLANG (unset) SHELL=C:\Programme\sniff\bin\sh.exe ```
p5pRT commented 21 years ago

From vkonovalov@peterstar.ru

When building Perl 5.8.0 under Windows NT using MS VC++ 6.0\, 3 errors in op/magic.t occur (tests #24-26) when running "nmake test".

See attached bugreport for details.

blablabla

Best regards\, Steffen Beyer

Disclaimer​: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review\, retransmission\, dissemination or other use of\, or taking of any action in reliance upon\, this information by persons or entities other than the intended recipient is prohibited. If you receive this in error\, please contact the sender and delete the material from any computer. The content of this message does not create legally binding commitments.

I wonder how prohibitive such notes could be?

What if I'll write that if you'll read this note and do not agree with our restrictions you must delete all messages related to this and all source codes related to it.

After all\, if that letter is that prohibitive to read\, well\, don't send it to those who could read it! (I certainly breaked the law by citating this letter here...)

p5pRT commented 21 years ago

From Steffen.Beyer@conducta.endress.com

I'm sorry\, this footer is attached automatically\, and I cannot prevent it.

And believe me\, I don't believe in it's effectiveness either.

Cheers

 
  "Vadim
  Konovalov" An​: Steffen.Beyer@​conducta.endress.com
  (via RT) Kopie​:
  \<perlbug@​perl Thema​: Re​: [perl #16927] WinNT native build of Perl 5.8.0 - 3 errors in op/magic.t
  .org>
  Gesendet von​:
  \<rt@​x1.develo
  oper.com>
 
 
  02.09.02
  20​:28
  Bitte
  antworten an
  perlbug
 
 

When building Perl 5.8.0 under Windows NT using MS VC++ 6.0\, 3 errors in op/magic.t occur (tests #24-26) when running "nmake test".

See attached bugreport for details.

blablabla

Best regards\, Steffen Beyer

Disclaimer​: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review\, retransmission\, dissemination or other use of\, or taking of any action in reliance upon\, this information by persons or entities other than the intended recipient is prohibited. If you receive this in error\, please contact the sender and delete the material from any computer. The content of this message does not create legally binding commitments.

I wonder how prohibitive such notes could be?

What if I'll write that if you'll read this note and do not agree with our restrictions you must delete all messages related to this and all source codes related to it.

After all\, if that letter is that prohibitive to read\, well\, don't send it to those who could read it! (I certainly breaked the law by citating this letter here...)

Disclaimer​: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review\, retransmission\, dissemination or other use of\, or taking of any action in reliance upon\, this information by persons or entities other than the intended recipient is prohibited. If you receive this in error\, please contact the sender and delete the material from any computer. The content of this message does not create legally binding commitments.

p5pRT commented 11 years ago

From @jkeenan

On Mon Sep 02 01​:56​:03 2002\, Steffen.Beyer@​conducta.endress.com wrote​:

When building Perl 5.8.0 under Windows NT using MS VC++ 6.0\, 3 errors in op/magic.t occur (tests #24-26) when running "nmake test".

See attached bugreport for details.

Here are relevant excerpts from the original bug report​:

##### This is a bug report for perl from sb@​engelschall.com (Steffen Beyer)\, generated with the help of perlbug 1.34 running under perl v5.8.0.

When I built Perl 5.8.0 using Microsoft's Visual C++ 6.0 compiler\, I got 3 errors (the only ones!) in op/magic when I ran "nmake test".

I just wanted to let you know\, just in case.

I used the following Makefile (from perl-5.8.0/win32)​:

##### [ excerpts ] INST_DRV = \Programme INST_TOP = $(INST_DRV)\perl580 USE_MULTI = define USE_ITHREADS = define USE_IMP_SYS = define USE_PERLIO = define CCTYPE = MSVC60 CCHOME = $(MSVCDIR) CCINCDIR = $(CCHOME)\include CCLIBDIR = $(CCHOME)\lib EXTRALIBDIRS = EMAIL = sb@​engelschall.com (Steffen Beyer) #####

Can anyone on Win32 indicate whether this problem persists on supported versions of Perl (5.14 or 5.16) and supported versions of Windows?

Thank you very much. Jim Keenan

p5pRT commented 11 years ago

From @jandubois

Has been fixed a long time ago...

p5pRT commented 11 years ago

From [Unknown Contact. See original ticket]

Has been fixed a long time ago...

p5pRT commented 11 years ago

@jandubois - Status changed from 'open' to 'resolved'