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

Sorry about the formatting...I'll repost:

Thanks for your help. I typed in whereis pod2man (which is what we're supposed to type in to find a program) and it said:

venus:/ > whereis pod2man
pod2man:

Just for an example of the results of another program here is what is shows:

venus:/ > whereis mysql
mysql: /usr/bin/mysql /usr/local/mysql

Does this mean pod2man isn't installed on the server? If not, is there anyway I can get this to work without having to get my host to do anything?

Thanks,

Jeff

  • Comment on Re: Re: Can't Find pod2man When Installing Modules

Replies are listed 'Best First'.
Re: Re: Re: Can't Find pod2man When Installing Modules
by pjf (Curate) on Oct 03, 2001 at 04:59 UTC
    pod2man converts Plain Old Documentation into man pages (nroff source). It should be a standard part of your perl distribution.

    pod2man should not be essential to install modules on your system, but it is nice to have. You can install pod2man and its associated modules from the podlators distribution. Make sure that you read the README file first.

    If you don't manage your system, then complaining to your sysadmin about not having a full perl install is also a choice. :)

    Cheers,
    Paul

      I can't seem to be able to install any modules. I just tried installing Podlators-1.10 and this came up:

      venus:/public_html/perl/podlators-1.10 > perl Makefile.PL
      Checking if your kit is complete...
      Looks good

      Warning: I could not locate your pod2man program. Please make sure, your pod2man program is in your PATH before you execute 'make'

      Writing Makefile for Pod venus:/public_html/perl/podlators-1.10 >

      I thought by installing the podlators-1.10 it would fix it so pod2man would be available?

      Jeff

        Oh goodness, that is quite ironic, isn't it?

        The warning is from ExtUtils::MakeMaker. Given that it's just a warning, I would ignore it and try to continue with the install if possible. If a "make" fails, then you'll probably need to resort to manually installing the modules and/or programs you'll need. (Post if this is the case and I'll see what I can do to help.)

        Note that if you don't have root access on your box, then all your installs will complain unless you install into a local directory which you can write to. More information on that can be found in this node.

        Cheers,
        Paul

Re: Re: Re: Can't Find pod2man When Installing Modules
by Anonymous Monk on Oct 03, 2001 at 05:15 UTC
    whereis only searches a few directories for programs, if pod2man were in /opt/perl5/bin (completely made up directory) whereis wouldn't find it. Use locate or find as specified in my previous message to see if you have pod2man installed.
      I tried both locate and find and this is what came up:

      venus:/ > locate pod2man locate: Command not found. venus:/ > find pod2man find: cannot open pod2man: No such file or directory

        The find command should be find / -name pod2man, this will recursively search through the root directory (that is what the / is for as the first argument) for a file named pod2man.