Skip to content

Instantly share code, notes, and snippets.

@masak
Created May 12, 2010 10:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masak/398424 to your computer and use it in GitHub Desktop.
Save masak/398424 to your computer and use it in GitHub Desktop.
perl -MExtUtils::Command -e mkpath /usr/local/man/man1
docs/running.pod > /usr/local/man/man1/perl6.1
/bin/sh: docs/running.pod: Permission denied
make: *** [install] Error 126
@stocks29
Copy link

Any solution to this?

@masak
Copy link
Author

masak commented Jan 31, 2012

Run as root, I think.

@shivamy
Copy link

shivamy commented May 25, 2013

The error is due to unset POD2MAN in Makefile. One can either set it to correct executable or comment lines (shown below) that generate these errors.

-$(POD2MAN) docs/running.pod --name=perl6 > $(DESTDIR)$(MANDIR)/man1/perl6.1
-$(POD2MAN) docs/running.pod --name=rakudo > $(DESTDIR)$(MANDIR)/man1/rakudo.1

Run make install again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment