Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: pod viewer on mac osx?

by iaw4 (Monk)
on Dec 11, 2010 at 09:11 UTC ( [id://876575]=note: print w/replies, xml ) Need Help??


in reply to Re: pod viewer on mac osx?
in thread pod viewer on mac osx?

perldoc is totally broken under OSX the way it ships. first, /usr/bin/pod2man is not even executable. once this is fixed, it produces a blank file with some /var folders as the file name.

Replies are listed 'Best First'.
Re^3: pod viewer on mac osx?
by DrHyde (Prior) on Dec 13, 2010 at 11:19 UTC
    $ uname -a Darwin cowshed-door.barnyard.co.uk 8.11.1 Darwin Kernel Version 8.11.1 +: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i38 +6 i386 $ ls -l /usr/bin/pod2man -rwxr-xr-x 1 root wheel 19545 Jan 13 2006 /usr/bin/pod2man
    Bzzt, wrong. I've not ever touched that file, and it's executable.
Re^3: pod viewer on mac osx?
by Anonymous Monk on Jan 25, 2011 at 11:16 UTC
    Same thing for me on i386-apple-darwin10.5.0 sudo chmod +x /usr/bin/pod2* made perldoc working too. The problem came probably after installing a few things with PERL CPAN. I got the problem while installing fink with update with cvs.
Re^3: pod viewer on mac osx?
by Anonymous Monk on Sep 15, 2011 at 15:01 UTC

    Some versions of OS X (Lion for instance) ship with multiple versions of perl installed, and with every perl utility available as utility#.## (eg pod2man5.12). This is actually documented in the perl(1) man page.

    There is also an unexecutable script with the utility name, no version suffix, which can be run with perlutility which emits a message about the multiversion support.

    Instead of setting the executable bit on those scripts, replace them with an alias to the version you want (eg: rm /usr/bin/pod2man; ln -s /usr/bin/pod2man5.12 /usr/bin/pod2man. You may also need to change the permissions of the alias (eg: chmod -h o+rx /usr/bin/pod2man). Plus it goes without saying that you'll need to do all of this with admin permissions.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://876575]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-25 21:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found