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

$Config{perlpath} points to original installation directory #1

Open
szabgab opened this issue Sep 26, 2014 · 1 comment
Open

$Config{perlpath} points to original installation directory #1

szabgab opened this issue Sep 26, 2014 · 1 comment

Comments

@szabgab
Copy link
Member

szabgab commented Sep 26, 2014

Even after moving the installation tree $Config{perlpath}, and a few other variables in %Config, still point to the path where this perl was first installed. Code relying on this will die with

Can't exec "/home/dwimperl/dwimperl-linux-5.20.1-1-x86_64/perl/bin/perl": No such file or directory

See

%Config that are 'stuck'

config_arg3
config_args
initialinstalllocation
installbin
installprefix
perlpath
startperl

Some of the distributions affected directly:

  • Test-Differences
  • ExtUtils-Helpers
  • XML-Twig
@szabgab
Copy link
Member Author

szabgab commented Sep 29, 2014

Fixed by including the dwim.sh that will load DWIM.pm via the PERL5OP environment variable.
This might have caused other issues with taint-mode checking.
There could be another solution using $Config{sitelib}/sitecustomize.pl. See -f in https://metacpan.org/pod/perlrun

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

No branches or pull requests

1 participant