dudley has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks, I have active states' 5.8.3.809 build of Perl installed on win2K, but I cannot get Tk::JPEG to install. PPM cannot find it, and when I type in 'help repository', no help displays, and it acts like I just hit return. CPAN finds the package, but can't install it. When it says 'running make test', I get the error "'test'' is not a recognized internal or external command". I have not had any other problems installing packages, except for Bundle::CPAN, the latest upgrade to CPAN, that seems to have other problems. The instructions for manually installing this package were very confusing for me and did not seem to work. So I searched my system for anything called 'make', and I found none. I was finally able to find and download nmake 1.5 on MSN and dropped the .exe into my c:\perl\bin folder, but still no luck. Simply dropping the jpeg.pm file into site\lib or \lib dirs gave a 'can't load loadable object for module Tk::JPEG', error when trying to run a TK script I wrote. Please help me to to understand why I am flailing so hard! -Thanks! Ok, forget it. No one has bothered to tell me why they don't like my post here, but they keep dropping my reputation. Whatever, thanks for all the helps guys!

Replies are listed 'Best First'.
Re: installing tk::jpeg
by Art_XIV (Hermit) on May 17, 2004 at 19:55 UTC

    The ppm you are looking for exists here, and I was able to install it via ppm.

    You can either download the file and install it with ppm or you can add the site to your ppm repositories. Check your Activestate ppm docs if you don't know how to do so.

    Activestate tends to keep what can be considered 'core' modules in their repository, but it's well worth checking other ppm sources to find modules that you really want, and doing so is usually much less trouble then trying to compile them yourself with Visual C++.

    Hanlon's Razor - "Never attribute to malice that which can be adequately explained by stupidity"
Re: installing tk::jpeg
by pbeckingham (Parson) on May 17, 2004 at 17:55 UTC

    It sounds like your machine does not have an adequate development environment for installing and building modules from source. You need prebuilt modules, and that means either pure-Perl modules, or ActiveState modules. Have you looked into this module's availability from ActiveState?

Re: installing tk::jpeg
by pbeckingham (Parson) on May 17, 2004 at 18:03 UTC

    I don't know what was wrong with your post, other than it seeming a little frantic.

    But those last three added sentences are not going to help your cause. This is not a place where you can expect instant answers, or even complete answers sometimes, and certainly not a place where you can demand answers.

    What progress did you make yourself in those three hours? Hopefully you weren't just waiting to be spoon-fed a solution.

      Thank you pbeckingham for your constructive comments and suggestions. And yes, my last three sentences were showing my frusteration, but not at a lack of an instant awnser, but at my question seemingly annoying some people. I have worked on this problem for a week before I dared to post a stupid question here. I know how valuable peoples time is, mine is as well. Only after hours upon hours of researching this had still not yielded me any solutions did I post this. I had read the other posts on this site dealing with install problems and Tk::JPEG to make sure I was not asking a question that had already been answered, but it appears I have misunderstood the attitude of this site. Sorry, I won't bother any of you again.

        dudley, don't be discouraged - downvotes don't matter, and don't mean much. People ++ and -- based on all kinds of reasons. My answer to yours is downvoted lower than your original question right now - but who cares?

        If you are frustrated at the lack of response, then maybe you are finding issues in areas where people are just not that knowledgeable. I certainly couldn't answer it, and there are many more knowledgeable and helpful folks here than I. Maybe even you're the first to find this problem. Maybe the folks that really know this only log on at other times of the day.

        Someone may yet provide an answer to your question.

        And yes, my last three sentences were showing my frusteration, but not at a lack of an instant awnser, but at my question seemingly annoying some people...
        You'll always annoy someone. I for one only just saw your post, and yes, I did find it annoying that you chose to update your post to whine about XP, which is why I have now downvoted it. This will never help you get an answer and this is not why the update feature exists. You also did not indicate that you updated your original question.

        how your node originally appeared how you updated it

        XP stands for eXperience Points, and it is not reputation (you don't get points for reputation).

        but it appears I have misunderstood the attitude of this site.
        It appears you may have. PerlMonks FAQ has a lot of reading material that may help you get an idea. My impression of the "attitude" reminds me of that Rolling Stones song, You Can't Always Get What You Want but if you try sometimes, you might find, you get what you need. And with that note, if you check CPAN you'll see that Tk::JPEG is part of the Tk distribution, meaning that if you have Tk installed (or the latest version of Tk), Tk::JPEG should also be installed.

        You can get a ppm of the latest version of Tk at the bribes repository. If you don't know where it , read A Guide to Installing Modules and my signature (PPM::Repositories).

        Sorry, I won't bother any of you again.
        You can come back anytime you want, but I hope the frustrated XP whore doesn't stop by again (meaning stop by and participate, but leave the frustration about xp out of your perl questions).

        MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
        I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
        ** The third rule of perl club is a statement of fact: pod is sexy.