Perl error when building DMG
See original GitHub issue- Version: 7.11.4
- Target: macOS
When trying to create a DMG on macOS 10.12, I get the following error:
Creating DMG
Error: Exit code: 2. Command failed: perl /Users/saghul/work/ag-projects/blink-webrtc/node_modules/electron-builder/templates/dmg/dmgProperties.pl
Can't locate Mac/Memory.pm in @INC (you may need to install the Mac::Memory module) (@INC contains: /usr/local/Cellar/pa7fecfb32c2ee0696612071b166858c0f348570001ed9839b24b1a597249e4c1 (sha256 hash) /usr/local/Cellar/perl/5.24.0_1/lib/perl5/site_perl/5.24.0 /usr/local/Cellar/perl/5.24.0_1/lib/perl5/5.24.0/darwin-thread-multi-2level /usr/local/Cellar/perl/5.24.0_1/lib/perl5/5.24.0 /usr/local/lib/perl5/site_perl/5.24.0 .) at /Users/saghul/work/ag-projects/blink-webrtc/node_modules/electron-builder/templates/dmg/dmgProperties.pl line 4.
BEGIN failed--compilation aborted at /Users/saghul/work/ag-projects/blink-webrtc/node_modules/electron-builder/templates/dmg/dmgProperties.pl line 4.
Can't locate Mac/Memory.pm in @INC (you may need to install the Mac::Memory module) (@INC contains: /usr/local/Cellar/perl/5.24.0_1/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /usr/local/Cellar/perl/5.24.0_1/lib/perl5/site_perl/5.24.0 /usr/local/Cellar/perl/5.24.0_1/lib/perl5/5.24.0/darwin-thread-multi-2level /usr/local/Cellar/perl/5.24.0_1/lib/perl5/5.24.0 /usr/local/lib/perl5/site_perl/5.24.0 .) at /Users/saghul/work/ag-projects/blink-webrtc/node_modules/electron-builder/templates/dmg/dmgProperties.pl line 4.
BEGIN failed--compilation aborted at /Users/saghul/work/ag-projects/blink-webrtc/node_modules/electron-builder/templates/dmg/dmgProperties.pl line 4.
Last I tried on 10.11 this wasn’t a problem. Thoughts?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Perl Error while building openldap - Stack Overflow
I am getting the below error while building openldap in OS 2.6.32-71.el6.x86_64. perl_back.h:21:20: error: EXTERN.h: No such file or ...
Read more >DB_File fails when building perl on macOS 10.13 - CPAN.org
Please visit the preferred bug tracker to report your issue. This queue is for tickets about the DB_File CPAN distribution. Report information.
Read more >Trouble installing the PERL modules for t… - Apple Community
I am trying to install the modules specified in the PERL script. I get an error when trying to install which I think...
Read more >2.4.2 Installing MySQL on macOS Using Native Packages
The package is located inside a disk image ( .dmg ) file that you first need to ... where /usr/local/mysql/data/mysqld.local.err is the default...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry, folks, I was on a plane 😃 Thanks for fixing it so quick! ❤️
@blainesch Thanks, so, " I am using the default perl " is not true — you use perl from brew.
I will fix issue soon (CET morning).