Perl / perl5

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

perl bug report for building perl; WIN32; win32sck.c; perl 5.6.1 #4831

Closed p5pRT closed 16 years ago

p5pRT commented 22 years ago

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

Searchable as RT8237$

p5pRT commented 22 years ago

From bart_schrijver@agilent.com

This is a bug report for perl from bart_schrijver@​agilent.com.\, generated with the help of perlbug 1.33 running under perl v5.6.1.

win32sck.c compilation problem

severity​: minor\, workaround available

description​: In function my_fstat()​:

Undefine symbol _S_IFIFO_ under Borland 5.4 C++ compiler environment. When Borland C++ 5.4 tries to compile win32sck.c it reports the unknown symbol. The source file has an #if defined #else #endif clause which checks for __BORLANDC__ and the borland version and selects bewteen _S_IFIFO_ or S_IFIFO. My environment chooses _S_IFIFO_ and fails.

workaround​: Changed both cases to S_IFIFO. This then compiles fine.

environment​: Win32 NT 4.01 service pack 5 Pentium Pro 200 Mhz 128Mb ram 1.2 Gb drive Borland CBuilder4 Standard.

model​: HP/XU 6/200\, hp partnumber​: D4365N


Flags​:   category=core   severity=low


Site configuration information for perl v5.6.1​:

Configured by bschriv at Mon Jan 7 16​:47​:30 2002.

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='bcc32'\, ccflags ='-O2 -D_RTLDLL -6 -DWIN32 -D_MT -DPERL_IMPLICIT_CONTEXT'\,   optimize='-O2 -D_RTLDLL -6'\,   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='ilink32'\, ldflags =' -L"h​:\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE" -L"H​:\Program Files\borland\cbuilder4\lib" -Gn'   libpth="H​:\Program Files\borland\cbuilder4\lib"   libs= import32.lib cw32mti.lib   perllibs= import32.lib cw32mti.lib   libc=cw32mti.lib\, so=dll\, useshrplib=yes\, libperl=perl56.lib   Dynamic Linking​:   dlsrc=dl_win32.xs\, dlext=dll\, d_dlsymun=undef\, ccdlflags='-tWD'   cccdlflags=' '\, lddlflags='-Tpd -L"h​:\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE" -L"H​:\Program Files\borland\cbuilder4\lib" -Gn'

Locally applied patches​:  


@​INC for perl v5.6.1​:   h​:/perl/5.6.1/lib/MSWin32-x86-multi-thread   h​:/perl/5.6.1/lib   h​:/perl/site/5.6.1/lib/MSWin32-x86-multi-thread   h​:/perl/site/5.6.1/lib   h​:/perl/site/lib   .


Environment for perl v5.6.1​:   HOME=c​:\home\bschriv   LANG (unset)   LANGUAGE (unset)   LD_LIBRARY_PATH (unset)   LOGDIR (unset)

PATH=C​:\Xilinx_WebPACK\bin\nt;C​:\WINDOWS\SYSTEM32;C​:\WINDOWS;c​:\hp\i\ms\off9 7pro\32.0\office;\jdk1.2\bin;H​:\PROGRA~1\Borland\CBUILD~1\Projects\Bpl;H​:\PR OGRA~1\Borland\CBUILD~1\Bin;h​:\program files\devstudio\sharedide\bin\ide;h​:\program files\devstudio\sharedide\bin;h​:\program files\devstudio\vc\bin;\jdk1.2\bin;h​:\perl\5.6.1\bin\MSWin32-x86-multi-threa d;h​:\perl\5.6.1\bin;h​:\dmake-4.1pl1-win32   PERL_BADLANG (unset)   SHELL (unset)

Bart C. Schrijver Manager Soco Metrology Services MTA M/S 4UR-B; column L10 1212 Valley House Drive Rohnert Park\, Ca 94928 voice (707) 577-2495 e-mail​: bart_schrijver@​agilent.com

p5pRT commented 16 years ago

p5p@spam.wizbit.be - Status changed from 'open' to 'resolved'