Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not OK: perl v5.7.0 +DEVEL7368 on dos-djgpp djgpp #2744

Closed
p5pRT opened this issue Oct 20, 2000 · 1 comment
Closed

Not OK: perl v5.7.0 +DEVEL7368 on dos-djgpp djgpp #2744

p5pRT opened this issue Oct 20, 2000 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Oct 20, 2000

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

Searchable as RT4487$

@p5pRT
Copy link
Author

p5pRT commented Oct 20, 2000

From pjfarley@banet.net

perl@​7369 fails t/lib/st-lock.t under djgpp-dos with this error​:

lib/st-lock.........can't get exclusive lock on store​: Function not
implemented (ENOSYS) at lib/st-lock.t line 41
lib/st-lock.........dubious
  Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
  Failed 5/5 tests, 0.00% okay

The cause is that the DJGPP libc "fcntl" function does not implement
F_SETLK/W functions, though the constants are defined. Since we also
do not have "flock", perl tries to emulate "flock" with "fcntl", and
fails.

A patch is not imminent, but the djgpp-workers will be contacted for
suggestions. DJGPP does have "lock" and "unlock" functions, but
these are only for "regions" of a file, and will not work in plain
DOS unless SHARE.EXE (a DOS TSR for sharing files) is loaded.

In the meantime, can the extension "Storable" be excluded from a
default DJGPP "configure -des" without serious repercussions? IOW, if
the extension "Storable" is not made, what breaks or fails to run that
DJGPP users might want to use?

Any input on this subject would be appreciated.

Perl Info

Flags:
     category=install
     severity=none

Site configuration information for perl v5.7.0:

Configured by dosuser at Thu Oct 19 23:31:51  2000.

Summary of my perl5 (revision 5.0 version 7 subversion 0) 
configuration:
   Platform:
     osname=dos, osvers=djgpp, archname=dos-djgpp
     uname='ms-dos c1pvi 7 10 pc '
     config_args='-Dusedevel -des'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
     useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
   Compiler:
     cc='gcc', ccflags ='-DPERL_EXTERNAL_GLOB -fno-strict-aliasing',
     optimize='-O2 -malign-loops=2 -malign-jumps=2 
-malign-functions=2',
     cppflags='-DPERL_EXTERNAL_GLOB -fno-strict-aliasing'
     ccversion='', gccversion='2.95.2 19991024 (release)', 
gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
     d_longlong=define, longlongsize=8, d_longdbl=define, 
longdblsize=12
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=4
     alignbytes=4, usemymalloc=n, prototype=define
   Linker and Libraries:
     ld='ld', ldflags ='-s'
     libpth=m:/lib
     libs=-lgdbm -lm -lc
     perllibs=-lgdbm -lm -lc
     libc=m:/lib/libc.a, so=none, useshrplib=false, libperl=libperl.a
   Dynamic Linking:
     dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''
     cccdlflags='', lddlflags=''

Locally applied patches:
     DEVEL7368


@INC for perl v5.7.0:
     lib
     m:/lib/perl5
     m:/lib/perl5/site
     m:/lib/perl5/site
     m:/lib/perl5/site
     .


Environment for perl v5.7.0:
     HOME (unset)
     LANG (unset)
     LANGUAGE (unset)
     LD_LIBRARY_PATH (unset)
     LOGDIR (unset)
     PATH=M:\BIN;C:\PROGRA~1\PERSON~1;D:\BAT;D:\UT;D:\PT;C:\;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\NETWOR~1\MCAFEE~1;C:\PROGRA~1\SYMANTEC\PCANYW~1\
     PERL_BADLANG (unset)
     SHELL=m:/bin/sh.exe
---------------------------------------------------------
Peter J. Farley III (pjfarley@dorsai.org OR
                      pjfarley@banet.net)



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant