Installing Pod::Simple on Solaris 9/10

After answering this in several individual emails over a year or so, I figure I'll stick it somewhere googleable. If you're attempting to install Pod::Simple and get something like the following error:

You've ended up with a version of Pod::Man installed that has a dependency on Pod::Simple, without first installing Pod::Simple. (That shouldn't be possible, since Pod::Man has a check for Pod::Simple in the install process, but that doesn't guarantee it can never happen, especially with a vendor install of Perl.)

So, the thing to do is run the install for Pod::Simple twice. (The first time through you won't get the manpage entries for the modules, but otherwise it'll install fine. The second time through you'll get the manpage entries too.) The first time you'll need to edit the Makefile manually. Find the line that looks like:

# --- MakeMaker top_targets section:all:: pure_all manifypods

and change it to:

all:: pure_all

Then run 'make', 'make test', and 'make install'. Once you've done that
go back and run:

make cleanperl Makefile.PLmakemake testmake install

Once you have Pod::Simple installed, you won't get that error from Pod::Man anymore, so manifypods should work for everything else you're
installing too.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Without JavaScript enabled, you might want to
use the classic discussion system instead. If you login, you can remember this preference.