Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: error in perl TK module post installation

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


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

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:\> +

Replies are listed 'Best First'.
Re^5: error in perl TK module post installation
by syphilis (Chancellor) on May 15, 2017 at 12:47 UTC
    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
      Rob, The version of strawberry perl is 5.14 and this Dynaloader module is perl 5.24. Is that going to be any problem again for successful running of the Tk module.Well I am trying lets see if it works! thanks

        Thats going to be impossible

        Sounds like you installed over version of perl on top of another and you've got a missmatch of .dlls

        One perl install per directory, delete and reinstall

Re^5: error in perl TK module post installation
by Anonymous Monk on May 16, 2017 at 02:14 UTC

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

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

      Hey monks,

      Thankyou so much for helping me out to fix this error. I am so glad i did this with your help. Now focusing on the problem what I was doing wrong was the Installation I tried installing it 3 times finally it read properly and additionally with the Tk module i had to install several other module also which were dependent on it like Tk::NumEntry and some more. After putting the respective files in the bin folder of strawberry perl I was able to run it successfully. There are still some error coming which are small and will be rectified but my basic requirement was the making of the GUI page which was made pretty nicely.

      cheers,

      kally :-D

        > what I was doing wrong was the Installation

        really? ;=)

        you was adviced 8 days ago about the probable wrong installation.

        Glad you resolved (even if sound weird to me when you say: putting the respective files in the bin folder infact cpanp and cpan clients do everything automatically)..

        Lesson learned? If you ask for help you must examine what you get back and, if reasonable, try it; this is a corollary of the wise principle: dont ask if you cant afford any answer

        We are waiting for your Tk program or succesive questions.



        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
Node Status?
node history
Node Type: note [id://1190298]
help
Chatterbox?
and all is quiet...

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
























    Results (304 votes). Check out past polls.