Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^6: error in perl TK module post installation

by kally (Novice)
on May 12, 2017 at 09:30 UTC ( [id://1190125]=note: print w/replies, xml ) Need Help??


in reply to Re^5: error in perl TK module post installation
in thread error in perl TK module post installation

hi discipulus,

As u said i did the same went to the cpan and wrote the following commands

C:\Strawberry\perl>cpan cpan shell -- CPAN exploration and modules installation (v1.9800) Enter 'h' for help. cpan> install App::cpanminus Fetching with LWP: http://cpan.strawberryperl.com/authors/01mailrc.txt.gz Fetching with LWP: http://cpan.strawberryperl.com/modules/02packages.details.txt.gz Fetching with LWP: http://cpan.strawberryperl.com/modules/03modlist.data.gz Database was generated on Tue, 09 May 2017 12:23:35 GMT Updating database file ... Done!Catching error: "Global symbol \"\$dbh +\" require s explicit package name at C:\\strawberry\\perl\\vendor\\lib/CPAN/SQLi +te/DBI/Sea rch.pm line 46.\cJGlobal symbol \"\$dbh\" requires explicit package na +me at C:\\ strawberry\\perl\\vendor\\lib/CPAN/SQLite/DBI/Search.pm line 92.\cJGlo +bal symbol \"%chaps\" requires explicit package name at C:\\strawberry\\perl\\ve +ndor\\lib/ CPAN/SQLite/DBI/Search.pm line 161.\cJGlobal symbol \"\$full_id\" requ +ires expli cit package name at C:\\strawberry\\perl\\vendor\\lib/CPAN/SQLite/DBI/ +Search.pm line 177.\cJGlobal symbol \"\$full_id\" requires explicit package name + at C:\\st rawberry\\perl\\vendor\\lib/CPAN/SQLite/DBI/Search.pm line 177.\cJComp +ilation fa iled in require at C:\\strawberry\\perl\\vendor\\lib/CPAN/SQLite/Searc +h.pm line 9.\cJBEGIN failed--compilation aborted at C:\\strawberry\\perl\\vendor +\\lib/CPAN /SQLite/Search.pm line 9.\cJCompilation failed in require at C:\\straw +berry\\per l\\vendor\\lib/CPAN/SQLite.pm line 78.\cJ" at C:/strawberry/perl/lib/C +PAN.pm lin e 392. CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm lin +e 295 App::Cpan::_process_options('App::Cpan') called at C:/strawber +ry/perl/li b/App/Cpan.pm line 364 App::Cpan::run('App::Cpan') called at C:\strawberry\perl\bin/c +pan line 8 cpan>
is this ok? Am I going the correct way?

Replies are listed 'Best First'.
Re^7: error in perl TK module post installation
by kally (Novice) on May 15, 2017 at 11:47 UTC
    hey , I figured out that when I am using "instmodsh" command to get the list of the modules installed I am getting the "Tk module among the list of installed modules. Now i dont know why I am getting the same error for each program I am running using the Tk module. I f the Tk module is handsomely installed then it should not give any kind of such errors. Please help me out I am stuck in it from a long time thanks in advance.
      > I am stuck in it from a long time

      I have not understood: have you uninstalled and then reinstalled Tk module?

      It sounds like an error coming from a somehow wrong installation (perhaps you manually downloaded and made a version not for your platform?), so reinstall in saner way seems a viable option.

      Have you followed my previous advices?

      update: see Re: What is the /auto/ directory used for? where I discored what .al files are for.

      L*

      There are no rules, there are no thumbs..
      Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-03-19 07:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found