tdesantis has asked for the wisdom of the Perl Monks concerning the following question:

Somewhere I've mis-configured my path to man3. When using the CPAN shell, my 'make test' points to the proper perl installation:
Running make test PERL_DL_NONLAZY=1 /home/desantis/perl64root/perl/bin/perl "-Iblib/lib" + "-Iblib/arch" -w test.pl
But 'make install' tries to put man3 under tdesantis instead of desantis.
Running make install !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! ERROR: Can't create '/home/tdesantis/perl64root/perl/man/man3' mkdir /home/tdesantis: Operation not applicable at /home/desantis/perl +64root/perl/lib/5.8.8/ExtUtils/Install.pm line 478
I read and followed the excellent advice: http://www.perlmonks.org/?node_id=605420 and added the following to my makepl_arg key in CPAN/Config.pm:
INSTALLMAN3DIR=/home/desantis/perl64root/perl/man/man3
as well as this to my .modulebuildrc:
--installpath libdoc=/home/desantis/perl64root/perl/man/man3
But still no luck. What am I overlooking?

Replies are listed 'Best First'.
Re: path to man3
by ysth (Canon) on Jun 04, 2007 at 08:31 UTC
    What does
    /home/desantis/perl64root/perl/bin/perl -V:'.*man3.*'
    say? I'm guessing you want to provide INSTALLSITEMAN3DIR in makepl_arg instead.
      I've set that one as well. The -V flag shows the config problem. See below.
      'makepl_arg' => q[INSTALLARCHLIB=/home/desantis/perl64root/perl/lib INSTALLBIN=/home/desantis/bin INSTALLMAN1DIR=/home/desantis/perl64root/perl/man/man1 INSTALLMAN3DIR=/home/desantis/perl64root/perl/man/man3 INSTALLPRIVLIB=/home/desantis/perl64root/perl/lib INSTALLSCRIPT=/home/desantis/bin INSTALLSITEARCH=/home/desantis/perl64root/perl/lib INSTALLSITEBIN=/home/desantis/bin INSTALLSITELIB=/home/desantis/perl64root/perl/lib INSTALLSITEMAN1DIR=/home/desantis/perl64root/perl/man/man1 INSTALLSITEMAN3DIR=/home/desantis/perl64root/perl/man/man3 INSTALLVENDORARCH=/home/desantis/perl64root/perl/lib INSTALLVENDORBIN=/home/desantis/bin INSTALLVENDORLIB=/home/desantis/perl64root/perl/lib INSTALLVENDORMAN1DIR=/home/desantis/perl64root/perl/man/man1 INSTALLVENDORMAN3DIR=/home/desantis/perl64root/perl/man/man3], > /home/desantis/perl64root/perl/bin/perl -V:'.*man3.*' installman3dir='/home/desantis/perl64root/perl/man/man3'; installsiteman3dir='/home/tdesantis/perl64root/perl/man/man3'; installvendorman3dir=''; man3dir='/home/desantis/perl64root/perl/man/man3'; man3direxp='/home/desantis/perl64root/perl/man/man3'; man3ext='3'; siteman3dir='/home/tdesantis/perl64root/perl/man/man3'; siteman3direxp='/home/tdesantis/perl64root/perl/man/man3'; vendorman3dir=' '; vendorman3direxp='';
        installman3dir='/home/desantis/perl64root/perl/man/man3'; installsiteman3dir='/home/tdesantis/perl64root/perl/man/man3'; ^ | here ---------------------+

        Glitch in your config. Quick fix: create the symbolic link

        ln -s desantis /home/tdesantis

        but that's a hack. Start over and configure properly :-)

        --shmem

        _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                      /\_¯/(q    /
        ----------------------------  \__(m.====·.(_("always off the crowd"))."·
        ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}