Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: error in perl TK module post installation

by kally (Novice)
on May 11, 2017 at 08:43 UTC ( #1190041=note: print w/replies, xml ) Need Help??


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

sir, -s is for silent to silent the warning.
  • Comment on Re^2: error in perl TK module post installation

Replies are listed 'Best First'.
Re^3: error in perl TK module post installation
by hippo (Abbot) on May 11, 2017 at 09:42 UTC

    Perhaps the key to solving your problem is in one of the warnings you have silenced.

      this is what I am getting
      C:\>perl -MTk -le "print $Tk::VERSION;" Can't locate auto/Tk/bootstrap.al in @INC (@INC contains: C:/strawberr +y/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib +.) at C:/strawberry/perl/site/lib/Tk.pm line 88. + Compilation failed in require. + BEGIN failed--compilation aborted. C:\> +
        at C:/strawberry/perl/site/lib/Tk.pm line 88

        Line 88 of Tk.pm is:
        bootstrap Tk;
        What happens if you change that line of that file to:
        DynaLoader::bootstrap Tk;
        Also, what version of Strawberry Perl do you have:
        perl -le "print $];"
        And what version of DynaLoader do you have:
        perl -MDynaLoader -le "print $DynaLoader::VERSION;"
        It's the DynaLoader module that should be providing the bootstrap() function. For some reason it is not being found there, so perl goes looking for it in auto/Tk/bootstrap.al (which doesn't exist, and should not exist).
        So ... I'm puzzled as to why DynaLoader::bootstrap() is not being found. Your answers to the questions that I've just asked might help.

        Cheers,
        Rob

        dmake -s ... this is what I am getting

        Try showing the output of dmake install especially without the -s option

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1190041]
help
Chatterbox?
[ozboomer]: Howdy, all.. Trying this once more... Not really a perl question :(... but I don't know how to even title my query (more...)
[ozboomer]: There's a text file with lots of sections in it, like an '.ini/.conf' file. Each section can be 'used' or 'unused' by its application (more...)
[ozboomer]: Some folk want to use the text file as 'storage', keeping ALL items in it (a database); others call it an 'active document' that should only contain 'in-use' sections. Is there a 'good practice' for this sort of thing?

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2018-05-21 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?