On Mon, Nov 17, 2008 at 10:13 AM, Sharan Basappa
<[EMAIL PROTECTED]> wrote:
>>
>> You haven't installed anything.  You've downloaded and untarred/
>> gunzipped the source.  You still have to run
>> perl Makefile.PL
>> make
>> make test
>> make install
>>
>> That final command will copy the installed module to the real library
>> directory.  THAT is the path that you need for use lib.
>>
>> perldoc perlmod
>> for more information
>>
>> Paul Lalli
>
> I would like to rewind a bit and see why this could be happening. I am
> really curious about this.
> As I mentioned in my original mail, a working file stopped all of a sudden.
> Now I have 3 terminals open. All 3 are on same machine ..
>
> I have done uname -a to confirm this.
> In 2 terminals, the script errors out with:
> perl StTrAuto.pl
> Can't locate Algorithm/Permute.pm in @INC (@INC contains:
> /u/basappas/local/perl/perm_install/lib/perl5/site_perl
> /hwnet/activestate/perl-5.6/lib/5.6.1/i686-linux-thread-multi
> /hwnet/activestate/perl-5.6/lib/5.6.1
> /hwnet/activestate/perl-5.6/lib/site_perl/5.6.1/i686-linux-thread-multi
> /hwnet/activestate/perl-5.6/lib/site_perl/5.6.1
> /hwnet/activestate/perl-5.6/lib/site_perl .) at StTrAuto.pl line 5.
> BEGIN failed--compilation aborted at StTrAuto.pl line 5.
>
> On the 3 rd terminal, it works fine.
>
> The machine is same, the script is same.

What about user? You clearly have different configurations for the
different sessions, the question is why. I've seen two different user
names appear in the @INC and use lib paths you you've posted to the
group. My suspicion is that you've installed the module as one user,
but then tried to run the script as another. since you're installing
the modules to local directories as an unprivileged user rather than
the to global perl /lib directories as a superuser, you're having path
and permissions issues.

It also appears that you have installed the Algorithm::Permute module
for the default Perl 5.8.5 installation on your machine, but your
problematic scripts are invoking an Active State Perl 5.6 that you
have installed in a non-standard location. If you're going to use
multiple versions of Perl on the same machine, you need to be very
careful about choosing the right combination of interpreters and
modules for each script.

HTH,

-- jay
--------------------------------------------------
This email and attachment(s): [  ] blogable; [ x ] ask first; [  ]
private and confidential

daggerquill [at] gmail [dot] com
http://www.tuaw.com  http://www.downloadsquad.com  http://www.engatiki.org

values of β will give rise to dom!

Reply via email to