[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] cpan-mac-0.32 Autosplit problem



At 0.02 -0400 1999.07.19, Ricardo Muggli wrote:
>There is a problem with a clean install of cpan-mac-0.32. Here is the
>senerio...
>I install macperl.
>I run the install.plx for cpan-mac. Autosplit however will not work at this
>point because site_perl has not been added to the library search path in the
>prefs of MacPerl (And can't because the site_perl directory does not exist).

Right.

>The following code attempts to load in AutoSplit but will not load in the
>correct version. This will work over installs that already have the prefs
>for
>site_perl in MacPerl.
>
>require "AutoSplit.pm";
>AutoSplit->import;
>
>If you change this to the following it should work.
>
>require "$ENV{MACPERL}site_perl:AutoSplit.pm";
>AutoSplit->import;

Yes.


>Another way around it is to install macperl, create a folder named site_perl
>in
>the main MacPerl location, set the prefs to look for site_perl first....
>but anyways...

In any case, you need to set site_perl at some point.  That's the problem.
And I can't do it, the user has to.

I suppose I could rename old versions of the same files in lib ... what
does anyone think about that?  It would just be for the cpan-mac
installation, and done only with a dialog box ("Do you want to rename old
versions of modules to foo.old?").  Then the files would still be there,
but they would not be used.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org