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

[PATCH 5.00563] ext/DynaLoader/Makefile writes to readonly file #963

Closed
p5pRT opened this issue Dec 16, 1999 · 1 comment
Closed

[PATCH 5.00563] ext/DynaLoader/Makefile writes to readonly file #963

p5pRT opened this issue Dec 16, 1999 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Dec 16, 1999

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

Searchable as RT1910$

@p5pRT
Copy link
Author

p5pRT commented Dec 16, 1999

From hansm@xs4all.nl

The DynaLoader sometimes tries to write to a readonly file. It tries
to copy ext/DynaLoader/$(DLSRC) to ext/DynaLoader/DynaLoader.xs .
In a freshly unpacked distribution, the destination does not exist and
the copy succeeds. If one tries again after changing $(DLSRC), the
destination exists and is readonly, so the copy attempt fails.

-- HansM

--- ext/DynaLoader/Makefile.PL.orig Wed Dec 8 07​:23​:10 1999
*** ext/DynaLoader/Makefile.PL Wed Dec 15 22​:14​:11 1999
@​@​ -18,6 +18,7 @​@​
sub MY​::postamble {
  '
DynaLoader.xs​: $(DLSRC)
+ $(RM) $@​
  $(CP) $? $@​

# Perform very simple tests just to check for major gaffs.


Site configuration information for perl 5.00563​:

Configured by hansm at Mon Dec 13 02​:03​:09 MET 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 63) configuration​:
  Platform​:
  osname=next, osvers=4_2, archname=OPENSTEP-Mach
  uname='bombadil '
  config_args='-des -Dcf_email=hansmu@​xs4all.nl -Dprefix=/usr/local -Doptimize=-g -O'
  hint=recommended, useposix=undef, d_sigaction=undef
  usethreads=undef useperlio=undef d_sfio=undef
  use64bits=undef usemultiplicity=undef
  Compiler​:
  cc='cc', optimize='-g -O', gccversion=NeXT DevKit-based CPP 4.0
  cppflags='-dynamic -fno-common -DUSE_NEXT_CTYPE -DUSE_PERL_SBRK -arch m68k -DDEBUGGING -I/usr/local/include'
  ccflags ='-dynamic -fno-common -DUSE_NEXT_CTYPE -DUSE_PERL_SBRK -arch m68k -arch i386 -DDEBUGGING -I/usr/local/include'
  stdchar='char', d_stdstdio=define, usevfork=false
  intsize=4, longsize=4, ptrsize=4, doublesize=8
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
  alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries​:
  ld='cc', ldflags =' -dynamic -prebind -arch m68k -arch i386 -L/usr/local/lib'
  libpth=/lib /usr/lib /usr/local/lib
  libs=
  libc=/NextLibrary/Frameworks/System.framework/System, so=dylib, useshrplib=true, libperl=libperl.5.dylib
  Dynamic Linking​:
  dlsrc=dl_next.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
  cccdlflags=' ', lddlflags=' -dynamic -bundle -undefined suppress -arch m68k -arch i386 -L/usr/local/lib'

Locally applied patches​:


@​INC for perl 5.00563​:
  lib
  /Users/hansm/lib/perl
  /usr/local/lib/perl5/5.00563/OPENSTEP-Mach
  /usr/local/lib/perl5/5.00563
  /usr/local/lib/site_perl/5.00563/OPENSTEP-Mach
  /usr/local/lib/site_perl
  .


Environment for perl 5.00563​:
  DYLD_LIBRARY_PATH=/Users/hansm/src/perl/build/perl-5.006/perl5.005_63
  HOME=/Users/hansm
  LANG (unset)
  LANGUAGE (unset)
  LD_LIBRARY_PATH (unset)
  LOGDIR (unset)
 
PATH=/Users/hansm/bin​:/usr/local/bin​:/usr/games​:/usr/ucb​:/bin​:/usr/bin​:/usr/etc​:/Users/hansm/bin/cookies​:/LocalApps/Opener.app​:.
  PERL5LIB=/Users/hansm/lib/perl
  PERL_BADLANG (unset)
  SHELL=/usr/bin/zsh

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