Perl / perl5

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

BSD/OS 4.0.1 needs -DSTRUCT_TM_HASZONE for POSIX.so #82

Closed p5pRT closed 20 years ago

p5pRT commented 24 years ago

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

Searchable as RT885$

p5pRT commented 24 years ago

From mab@alink.net

BSD/OS has had tm_zone in struct tm for I don't know how long\, but as of exactly BSD/OS 4.0.1 you *must* compile POSIX.so with -DSTRUCT_TM_HASZONE or else strftime's %Z will output garbage and/or crash.

hints/bsdos.sh needs this​:

*** bsdos.sh 1999/01/28 07​:45​:32 1.1.1.1.2.1 --- bsdos.sh 1999/06/19 04​:38​:29 1.1.1.1.2.2 *************** *** 89\,94 **** --- 89\,95 ----   libswanted="rpc curses termcap $libswanted"   ;;   4.0*) + POSIX_cflags='ccflags="$ccflags -DSTRUCT_TM_HASZONE"'   # ELF dynamic link libraries starting in 3.1   useshrplib='true'   so='so'

Perl Info ``` Site configuration information for perl 5.00404: Configured by mab at Wed Jan 27 23:04:01 PST 1999. Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration: Platform: osname=bsdos, osvers=4.0, archname=i386-bsdos uname='bsdos hh.alink.net 4.0 bsdi bsdos 4.0 kernel #0: thu jan 21 15:01:06 pst 1999 mab@hh.alink.net:usrsrcsyscompilealink i386 ' hint=previous, useposix=true, d_sigaction=define bincompat3=y useperlio=undef d_sfio=undef Compiler: cc='cc -g', optimize='-O2', gccversion=2.7.2.1 cppflags='-I/usr/local/include' ccflags ='-I/usr/local/include' stdchar='char', d_stdstdio=undef, usevfork=true voidflags=15, castflags=0, d_casti32=define, d_castneg=define intsize=4, alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='ld', ldflags =' -L/usr/X11/lib -L/usr/local/lib' libpth=/usr/local/lib /usr/shlib /shlib /usr/lib /usr/X11/lib libs=-ldl -lm -lc libc=/shlib/libc.so, so=so useshrplib=true, libperl=libperl.so Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/libdata/perl5/i386-bsdos/5.00404/CORE' cccdlflags='-fPIC', lddlflags='-shared -x -L/usr/X11/lib -L/usr/local/lib' Locally applied patches: @INC for perl 5.00404: /usr/libdata/perl5/i386-bsdos/5.00404 /usr/libdata/perl5 /usr/libdata/perl5/site_perl/i386-bsdos /usr/libdata/perl5/site_perl . Environment for perl 5.00404: HOME=/home/m/a/mab LANG=C LC_CTYPE=iso_8859_1 LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/usr/local/bin:/usr/local/krb5/bin:/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/contrib/bin:/usr/games PERL_BADLANG (unset) SHELL=/bin/bash ```
p5pRT commented 23 years ago

From [Unknown Contact. See original ticket]

fixed in change @​951

p5pRT commented 20 years ago

From The RT System itself

fixed in change @​951