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

I read and implemented the suggestions in this node wrt a non-privileged user.

This hasn't helped me much with Compress::Zlib, which contains an auto directory. Despite my efforts to the contrary, CPAN.pm insists on trying to mkdir /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Compress in a directory where I the lowly non-priv cannot.

I have makepl_arg set to PREFIX=/usr/home/broadsof/site_perl in conf, and I wonder if make_arg and make_install_arg can or should be "coached" in the same (or similar) way.

Other "pure perl" modules I have installed this way seem to work out fine, just ones with auto dependencies are problematic.

Any tips appreciated. {::} =D------an (sometimes the cord just doesn't quite reach)

Replies are listed 'Best First'.
Re: Installing modules with 'auto' dependencies as non-privileged user
by blakem (Monsignor) on Nov 20, 2001 at 11:40 UTC
    This is just from memory, but I believe you'll want to set both make_arg and make_install_arg to:
    -I/usr/home/broadsof/site_perl/lib
    So, something like this might work:
    % perl -MCPAN -e shell > o conf makepl_arg PREFIX=/usr/home/broadsof/site_perl LIB=/usr/home/ +broadsof/site_perl/lib > o conf make_arg -I/usr/home/broadsof/site_perl/lib > o conf make_install_arg -I/usr/home/broadsof/site_perl/lib > install Compress::Zlib

    -Blake