Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Perl module install sub-directories: perl5, site_perl, perl5/site_perl

by kilinrax (Deacon)
on May 09, 2003 at 23:21 UTC ( [id://257033]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl module install sub-directories: perl5, site_perl, perl5/site_perl
in thread Perl module install sub-directories: perl5, site_perl, perl5/site_perl

Which does beg the question; what is different about my setup to cause this?

Even if I'm an abnormality in having a 'perl5' directory, you have 'site_perl' - which I've yet to discover an explanation for the existence of.

Is there any reason all modules can't live in $PREFIX[/$REVISION][/$ARCH][/auto] ?

Replies are listed 'Best First'.
Re: Re: Re: Perl module install sub-directories: perl5, site_perl, perl5/site_perl
by PodMaster (Abbot) on May 10, 2003 at 04:21 UTC
    There may be other settings that also affect directory structure, but the 2 most familiar to me are as follows (http://search.cpan.org/src/JHI/perl-5.8.0/win32/Makefile):
    # # Comment this out if you DON'T want your perl installation to be vers +ioned. # This means that the new installation will overwrite any files from t +he # old installation at the same INST_TOP location. Leaving it enabled +is # the safest route, as perl adds the extra version directory to all th +e # locations it installs files to. If you disable it, an alternative # versioned installation can be obtained by setting INST_TOP above to +a # path that includes an arbitrary version string. # #INST_VER = \5.8.0 # # Comment this out if you DON'T want your perl installation to have # architecture specific components. This means that architecture- # specific files will be installed along with the architecture-neutral # files. Leaving it enabled is safer and more flexible, in case you # want to build multiple flavors of perl and install them together in # the same location. Commenting it out gives you a simpler # installation that is easier to understand for beginners. # #INST_ARCH = \$(ARCHNAME


    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
    ** The Third rule of perl club is a statement of fact: pod is sexy.

Re: Perl module install sub-directories: perl5, site_perl, perl5/site_perl
by Abigail-II (Bishop) on May 10, 2003 at 11:49 UTC
    You have site_perl as well. At least, you listed it. site_perl is where all your locally installed modules go, that is, all the modules that aren't part of the standard distribution. Just like that (Unix) systems have /usr and /usr/local.

    Abigail

      That makes a lot of sense. I thought it might be something like installed by hand / installed with CPAN (though not that specifically, as I install everything with CPAN). Core vs non-core hadn't occurred to me. Thanks :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-03-29 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found