Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Unable to install Tk module for Strawberry Perl

by Discipulus (Canon)
on Jan 10, 2023 at 07:51 UTC ( [id://11149475]=note: print w/replies, xml ) Need Help??


in reply to Unable to install Tk module for Strawberry Perl

Hello,

if LanX is correct in his answer then you can give a try to srtawberry portable edition which comes with portableshell.bat a small launcher that build up a clean PATH for you. Use directly this distro or use it as comparison test to spot the differences with the other one. Pay attention to have and use the right make incarnation: where gmake should return a path inside the strawberry one you are using, like x:\some\where\perl5.26.64bit\c\bin\gmake.exe

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.

Replies are listed 'Best First'.
Re^2: Unable to install Tk module for Strawberry Perl
by syphilis (Archbishop) on Jan 10, 2023 at 13:02 UTC
    ... give a try to strawberry portable edition which comes with portableshell.bat a small launcher that build up a clean PATH for you.

    Good advice. I've lost count of the number of times that the answer to a Strawberry Perl question on this forum has been "use the portable edition".
    It made me wonder why Strawberry Perl promoted the msi edition as the "Recommended version" ...so much so that I decided to "poke the bear".

    Cheers,
    Rob
      I would guess that the "typical" Windows user of Perl would prefer the MSI version because it will automatically associate .pl files with perl.exe thereby allowing them to double-click the script to run it. (And sadly, many Windows users, probably even many who have enough skills to write a simple script in perl, or at least copy/paste it, wouldn't know how to do manual associations in Windows without an MSI or installer-exe to do it for them.)

      Personally, I use one of the PDL-portable copies of Strawberry with manual file associations, because I like the double-click, but I really want all those extra math libraries that come in that bundle that aren't in the normal MSI or portable Strawberries.

      "poke the bear"

      I'd much rather that they keep their focus on figuring out how to build newer versions of perl, so that we could get strawberry versions of 5.34 and 5.36. (Commit messages from November seem to indicate they are at least working on 5.34, but it seems to have paused again.)

        I would guess that the "typical" Windows user of Perl would prefer the MSI version because ...

        Yeah, but they're giving an unqualified recommendation for all users.
        It's not the right recommendation for me, and it's apparently not the right recommendation for you.

        I'd much rather that they keep their focus on figuring out how to build newer versions of perl, so that we could get strawberry versions of 5.34 and 5.36.

        Sure, that's their important job ... but I don't see that getting the "recommendation" right is going to impact heavily on their capacity to get that job done.

        Cheers,
        Rob
        I wouldn't be surprised if MSI also involved some Registry-Settings.

        I'm also fond of the Portable Edition and hope newer Perl Versions will be supported soon.

        StevieB's BerryBrew is also worth mentioning here.

        update

        But still, I can see the remains of an old installation can also sabotage the usage of a new Portable Strawberry.

        One still needs to purge old remains, the advantage of a portable version is that there are none if it's the old version.

        Cheers Rolf
        (addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
        Wikisyntax for the Monastery

      It made me wonder why Strawberry Perl promoted the msi edition as the "Recommended version" ...so much

      I think it's because strawberry perl use a hacky way to make perl portable. IIRC, it modify Config infomation in run time by a module named Portable. use




      I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

Re^2: Unable to install Tk module for Strawberry Perl
by vinoth.ree (Monsignor) on Jan 10, 2023 at 16:08 UTC
    Hi Discipulus,

    I have install the strawberry perl by downloading the strawberry-perl-5.32.1.1-64bit.msi from https://strawberryperl.com/ only.


    All is well. I learn by answering your questions...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-18 02:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found