-
Notifications
You must be signed in to change notification settings - Fork 48
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
After installing MacOS Big Sur I get the error: Can't locate File/HomeDir.pm #40
Comments
Having the same problem, although with a different Perl module (updating CPAN itself!). Any luck getting HomeDir (or more technically Mac::SystemDirectory, which is actually what's failing, at least for me) to install under Big Sur (macOS 11.0)? I'm on an M1 Mac too, so that could be my problem... |
I experienced this too on a 2018 Mac Mini. Here is how I fixed it:
The system Perl seems hobbled and useless now. |
When I install Perl, I get this output:
and when I ran |
Sorry, the asterisk was a footnote, not a part of the command. |
I updated my Mac with Big Sur. Now the hsxkpasswd script won't run anymore. I get the following error:
Can't locate File/HomeDir.pm in @INC (you may need to install the File::HomeDir module) (@INC contains: /Library/Perl/5.28/darwin-thread-multi-2level /Library/Perl/5.28 /Network/Library/Perl/5.28/darwin-thread-multi-2level /Network/Library/Perl/5.28 /Library/Perl/Updates/5.28.2/darwin-thread-multi-2level /Library/Perl/Updates/5.28.2 /System/Library/Perl/5.28/darwin-thread-multi-2level /System/Library/Perl/5.28 /System/Library/Perl/Extras/5.28/darwin-thread-multi-2level /System/Library/Perl/Extras/5.28) at /usr/local/bin/hsxkpasswd line 14. BEGIN failed--compilation aborted at /usr/local/bin/hsxkpasswd line 14.
I googled and found I maybe needed to install the himedir (again) using
sudo cpan -i File::HomeDir
. But no luck with that.When I install hsxkpasswd from scratch I see this error passing by in the logging:
HASCOMPILER8_2A/TEST4bx0.c:2:10: fatal error: 'EXTERN.h' file not found #include "EXTERN.h" ^~~~~~~~~~ 1 error generated. Couldn't execute cc -g -pipe -fno-strict-aliasing -fstack-protector-strong -DPERL_USE_SAFE_PUTENV -Os "-I/System/Library/Perl/5.28/darwin-thread-multi-2level/CORE" -c HASCOMPILER8_2A/TEST4bx0.c -o HASCOMPILER8_2A/TEST4bx0.o: Inappropriate ioctl for device at Makefile.PL line 14.
(I updated Xcode btw).
What can I do to make this work again?
The text was updated successfully, but these errors were encountered: