Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Hand-installing pod2man

by pjf (Curate)
on Oct 03, 2001 at 13:54 UTC ( [id://116397]=note: print w/replies, xml ) Need Help??


in reply to Re: Irony in pod2man
in thread Can't Find pod2man When Installing Modules

Well, I was going to write, "They're just warnings. Go on and do a make anyway..." until I did some tests of my own, and discovered that ExtUtils::MakeMaker really really does want pod2man installed. Darn.

The PREFIX affects where the modules will be installed. Obviously this needs to be a directory that actually exists. I trust you'll replace your example paths in your node above with real paths on your system.

Since pod2man should be a standard part of your perl distribution, it may indicate that other essential pieces are also missing. Reinstalling perl might be a good idea.In fact, I'd go so far as to say this is probably your best option overall.

If you really do need to install pod2man from scratch, you can do the following:

  • Get the Podlators tarball, and unzip it somewhere.
  • Make sure that the "podlators-1.10/scripts" directory from the tarball is on your path. If you're using bash and you're in the podlators directory, you can do a export PATH="$PATH:$PWD/scripts" to add it.
  • make and install as per normal. (Eg, "perl Makefile.PL", "make", "make install")

The installation will use the pod2man script inside the podlators distribution. You don't want to make a habit of this, but it should work.

Once the code has installed, make sure that your path is set to include the location of the new pod2man script.

When generating the makefile for the podlators distribution, it will complain about not finding pod2man, even though it's in your path. This can be ignored, because the generated makefile will find the pod2man in the scripts directory.

Once again, do make sure that you read the Podlators README file on the risks involved of using a version which did not come with your distributon of perl.

Cheers,
Paul

Log In?
Username:
Password:

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

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

    No recent polls found