[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: Finding old library directories (was Re: automatic perl module rpm wrapper)



In message <200001082022.MAA14653@activestate.com>
          Gurusamy Sarathy <gsar@ActiveState.com> wrote:

> 2. If the answer for #1 is 'y', Configure should look for directories like
> m{(\Q$installprefix\E/lib(/perl5)?/site_perl/(5.\d{3,5}|\d+\.\d+\.\d+))/auto/}
> on the filesystem, and add $1 and $1/archname to the default list
> of directories, if they exist.  (The site library layout actually changed
> in some versions of perl, so additional patterns may need to be looked for.
> Andy knows that history best.)

The problem with that is that if I have 5.6.1 and 5.6.3 installed
in $installsitelib then that is all that gets into the list and
when someone then does a use lib or -I for a directory with 5.6.2
stuff in it won't be found.

Hence the point of wanting a list containing all possible versions
rather than all versions which the user might happen to have had
installed in a particular library directory at build time.

Of course if people are happy with the scheme you describe then
fine - it will certainly make implementing it a little easier ;-)

Tom

-- 
Tom Hughes (tom@compton.nu)
http://www.compton.nu/
...If there was a nuclear bombing, would I be alive to care?


References to:
Gurusamy Sarathy <gsar@activestate.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]