Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Perl/Tk Version Dependency Issue

by Corion (Patriarch)
on May 24, 2016 at 07:03 UTC ( [id://1163935]=note: print w/replies, xml ) Need Help??


in reply to Perl/Tk Version Dependency Issue

Where do you "download Perl/Tk module for Perl v5.xx.yy"? If you use a package manager to download prebuilt packages, these are tightly coupled to the Perl major version xx. You cannot mix modules from one Perl major version xx with another Perl binary.

I recommend either building Tk with your Perl binary yourself or learning how to use your package manager and to install the appropriate Perl binary package and the appropriate Tk package.

Replies are listed 'Best First'.
Re^2: Perl/Tk Version Dependency Issue
by rkabhi (Acolyte) on May 24, 2016 at 09:34 UTC
    Hi Corion,
    Thanks for your reply on my query.

    Please excuse my beginner level knowledge on perl. I am not sure about information you have asked me so I am describing how I got the Tk module for a particular perl version.

    How I got Tk Perl Module?
    I have got the Tk module with help of IT team in my organization and I am not sure how exactly they have downloaded and installed Tk Module. But each time, my request was given to IT team was in this way -> "To install Tk module for a particular Perl v5.xx.1 version".

    Due to my very limited knowledge in managing modules in perl, I have difficulty understanding how to build Tk for a particular perl binary. But even if I somehow build Tk manually, will that ensure that it works for all perl versions? I assume here that you meant "perl version" by saying "perl binary".

    Looking forward to your reply on this.

      Perl binaries are even more specific than just Perl versions, but for the current discussion, Perl binary and Perl version can be used synonymously.

      There is no way that a single build of a module will work with all Perl versions. You need to build the module for each Perl version separately and install it separately. If you don't know how to instruct your IT team to solve this problem, we cannot help you because we don't know how your IT team receives its instructions.

        Hi Corion,

        Thanks for your response.
        One of my query has been clarified now that each Tk module build is dependent on perl version.
        I didn't mean to say that I do not know how to instruct my IT Team here. I can get Tk module build for any perl version if I request them. But my need was to get a version independent build. As it is not possible to get a version independent solution, I will try the alternative that is suggested by Choroba.

        Thanks for your help !!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-25 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found