Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Specify dependencies better #225
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
scottchiefbaker
Mar 7, 2017
Contributor
That is very uncommon. You should not have to install any modules (I work hard at that).
What OS are you running?
|
That is very uncommon. You should not have to install any modules (I work hard at that). What OS are you running? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
goodevilgenius
Mar 7, 2017
That was on Linux. Specifically, Fedora 24. It's a standard installation.
The error was from this line (8) from libexec/diff-so-fancy.pl:
use open qw(:std :utf8);Since I didn't have open, that line failed.
goodevilgenius
commented
Mar 7, 2017
|
That was on Linux. Specifically, Fedora 24. It's a standard installation. The error was from this line (8) from use open qw(:std :utf8);Since I didn't have |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
scottchiefbaker
Mar 7, 2017
Contributor
Ahhh... RedHat does some slightly backwards thing with Perl. open.pm is a core Perl module (i.e. all copies of Perl should ship with it), but RedHat installs Perl "lite" to save space.
To get a full Perl install you have to dnf install perl-core. I'm honestly surprised this hasn't come up more... I suppose it is RedHat specific. Unfortunately this is a feature not a bug. I will update our docs to reference this though. Thanks for the heads up.
|
Ahhh... RedHat does some slightly backwards thing with Perl. To get a full Perl install you have to |
goodevilgenius commentedMar 7, 2017
I installed
diff-so-fancyvia npm, according to the README, then when attempting to use it, I got the following error:Once I installed
perl-openfrom my OS's repositories, it worked fine.It would've been good to know that that was a dependency beforehand, since it actually took a little while to figure what I was missing.