Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (15)
As of 2017-07-20 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (304 votes). Check out past polls.