RE: CPAN install directory usage
by Brian Raven other posts by this author
Jul 1 2009 6:10AM messages near this date
view in the new Beta List Site
CPAN install directory usage
|
Re: CPAN install directory usage
From: perl-win32-users-bounces@[...].com
[mailto:perl-win32-users-bounces@[...].com] On Behalf Of
Perl Perl
Sent: 01 July 2009 13:24
To: perl-win32-users@[...].com
Subject: CPAN install directory usage
> Hi All,
>
> I have one doubt, about usage of CPAN install diretory at Windows
side. I have found that TK module is
> install at "C:/Perl/site/lib C:/Perl/lib" . but confuse with the usage
part.
> Please find the sanpshot from the screen as below.
>
> V:\view_MAIN\vob_verif>perl -MTk -e 1
> Can't locate Tk.pm in @INC (@INC contains: C:/Perl/site/lib
C:/Perl/lib .).
> BEGIN failed--compilation aborted.
>
> V:\view_MAIN\vob_verif>perl -e "print qq(@INC)"
> C:/Perl/site/lib C:/Perl/lib .
>
> I tried, different ways to embed the above installed directory path in
my script, but I am getting the result
> as Can't locate Tk.pm in @INC.
>
> Please find my script as below, made this one very short for debuging
pupose.
>
> #!/usr/bin/perl -w
> use lib "C\:\\Perl\\site\\lib";
>
> #use lib "C:\/Perl\/site/lib C:\/Perl\/lib";
> use Tk;
>
> Please find the error message,
>
> V:\aec_MAIN\platform_verif>perl Test.pl
> Can't locate Tk.pm in @INC (@INC contains: C:\Perl\site\lib
C:/Perl/site/lib C:/
> Perl/lib .) at Test.pl line 5.
> BEGIN failed--compilation aborted at Test.pl line 5.
>
>
> This is at Windows OS. Could you please help me to overcome this?
It is not really clear from the above, but it looks like Tk has not been
installed, or at least not properly.
The big question is why don't you install it using ppm, rather than from
CPAN. It is much easier as all of the hard work of building it has
already been done. It works fine for me.
--
Brian Raven
This e-mail may contain confidential and/or privileged information. If you are not the inten
ded recipient or have received this e-mail in error, please advise the sender immediately by
reply e-mail and delete this message and any attachments without retaining a copy.
Any unauthorised copying, disclosure or distribution of the material in this e-mail is stric
tly forbidden.
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Perl Perl
Brian Raven
Chris Wagner
Perl Perl
kenneth
Perl Perl
Chris Wagner
Perl Perl
kenneth
Brian Raven
|