question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
saghulcommented, Oct 12, 2016

Sorry, folks, I was on a plane 😃 Thanks for fixing it so quick! ❤️

2reactions
develarcommented, Oct 11, 2016

@blainesch Thanks, so, " I am using the default perl " is not true — you use perl from brew.

I will fix issue soon (CET morning).

Read more comments on GitHub >

github_iconTop 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 >
dmg-builder | Yarn - Package Manager
Fast, reliable, and secure dependency management.
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found