-
Notifications
You must be signed in to change notification settings - Fork 78
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
macOS system perl on 10.15+ doesn't allow loading relative paths (from MM_Any.pm) #350
Comments
Indeed. I also noticed that, at runtime, relative paths for include directories did not work.
|
I'm having this problem too. perl-5.30 |
Are we anywhere near a resolution for this? It's killing me developing on a Mac. |
I, personally, don't have a Mac to do any debugging/testing on, so rely on willing victims^W volunteers to provide the many fixes that Apple have made necessary in the last few years. If that line in ExtUtils::MM_Any in sub init_INST {} is changed to the following does it do the right thing?
I get two failures in EUMM test suite with the above that are easy to mitigate, so this is a possible low-hanging fruit fix. |
Balls. perlbrew here I come.
|
This is the patch the Fink project has been currently using when we package our own perlmods to use against the system-perl: - $self->{INST_ARCHLIB} ||= $self->catdir($Curdir,"blib","arch");
+ $self->{INST_ARCHLIB} ||= $self->catdir(File::Spec->rel2abs($Curdir),"blib","arch"); I just tested using |
I don't think it's |
EU:MM sets INST_ARCHLIB as a relative path, which breaks with the 'latest' release of perl (5.18.4) included with macOS 10.15.
ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
Line 1915 in 278e457
An example failure is this:
In the snippet above from
MM_Any.pm
, if I change$Curdir
to the absolute path above 'blib/arch' in my build tree for Term::ReadKey, then Term::ReadKey builds.Should EU::MM be patched to provide the full path? If not, is there a local hack I can use to change $Curdir to the full path?
The text was updated successfully, but these errors were encountered: