Skip to content

${installprivlib}/{pod,Pod} are the same on case-insensitive syst ems #402

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

Closed
p5pRT opened this issue Aug 20, 1999 · 1 comment
Closed

Comments

@p5pRT
Copy link

p5pRT commented Aug 20, 1999

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

Searchable as RT1237$

@p5pRT
Copy link
Author

p5pRT commented Aug 20, 1999

From [email protected]


On case-insensitive systems (like Win32/Cygwin) the Pod modules
(Pod​::Functions, Pod​::Html, etc.) and the pod files (perl*.pod)
end up being installed in the same directory.

This exposes a subtle problem on Cygwin when using the mixed-case feature
(based on Win32 FILE_FLAG_POSIX_SEMANTICS). Win32 functions that create
directories and test for directory existence are based on case-insensitive
comparison, but when creating and testing the existence of full file
paths, everything is treated as case-sensitive. Therefore, when
running installperl, the $installprivlib/Pod directory is created,
the $installprivlib/pod exists based on case-insensitive comparison,
and the pod files cannot be copied to $installprivlib/pod/*.pod
because on a case-sensitive basis $installprivlib/pod does not exist!

Anyways, I suggest installing the pod files in a directory with
a case-insensitive distinct name. installperl will then need
to change, as well as utils/perldoc.PL (and maybe others).

Eric Fifer



Site configuration information for perl 5.00560​:

Configured by FiferE at Fri Aug 6 11​:18​:13 BST 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 60) configuration​:
  Platform​:
  osname=cygwin_nt-4.0, osvers=20.1, archname=cygwin
  uname='cygwin_nt-4.0 sil2036 20.1 (0.311) 1998-12-3 20​:39​:18 i686
unknown '
  config_args=''
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=undef useperlio=undef d_sfio=undef
  use64bits=undef usemultiplicity=undef
  Compiler​:
  cc='gcc', optimize='-g', gccversion=2.95 19990728 (release)
  cppflags='-DCYGWIN -I/usr/include -I/usr/local/include -DDEBUGGING
-I/usr/local/include'
  ccflags ='-DCYGWIN -I/usr/include -I/usr/local/include -DDEBUGGING
-I/usr/local/include'
  stdchar='char', d_stdstdio=undef, usevfork=false
  intsize=4, longsize=4, ptrsize=4, doublesize=8
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
  alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries​:
  ld='ld2', ldflags ='-L/usr/i586-cygwin32/lib -L/usr/lib
-L/usr/local/lib'
  libpth=/opt/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/lib
/usr/local/lib
  libs=-lcygwin -lm -lkernel32
  libc=/opt/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/lib/libc.a,
so=dll, useshrplib=true, libperl=libperl.a
  Dynamic Linking​:
  dlsrc=dl_cygwin.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
  cccdlflags=' ', lddlflags='-L/usr/local/lib -L/usr/i586-cygwin32/lib
-L/usr/lib'

Locally applied patches​:
 


@​INC for perl 5.00560​:
  lib
  /usr/local/lib/perl5/5.00560/cygwin
  /usr/local/lib/perl5/5.00560
  /usr/local/lib/site_perl/5.00560/cygwin
  /usr/local/lib/site_perl
  .


Environment for perl 5.00560​:
  HOME=/efifer
  LANG (unset)
  LANGUAGE (unset)
  LD_LIBRARY_PATH (unset)
  LOGDIR (unset)

PATH=/opt/cygnus/cygwin-b20/H-i586-cygwin32/bin​:/usr/local/bin​:/usr/X11R6.4/
bin​:/usr/local/emacs/bin​:/share/bin​:/x86/bin​:.​:/usr/local/lib​://t/sybase/dll
://c/progra~1/barra/aegis/shared
  PERL_BADLANG (unset)
  SHELL=/opt/cygnus/cygwin-b20/H-i586-cygwin32/bin/bash.exe

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