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

This is more of a ActiveState issue but someone here may know faster then they...

Every time I attempt to install a module, either directly from it's .PPD or from a on-line repository, I get the following error:

Error: no suitable installation target found for package (PACKAGE_NAME)

Do I have a bad Perl installation? I am wondering if a setting that points to my perl installation's \lib folder is missing which is causing the problem.

Is there a setting for this? If so, where do I need to look to check it?

TIA

======================
Sean Shrum
http://www.shrum.net

  • Comment on Problems with AS PPM - Missing setting???

Replies are listed 'Best First'.
Re: Problems with AS PPM (no solution, but pita workaround)
by ybiC (Prior) on Apr 06, 2002 at 16:55 UTC
    The same problem has vexed me with PPM v2 with ActivePerls 5.6.1-626 and 5.6.1-631. on Win2k Pro, Win95osr2, and Win98se.

    (My) experimentation has shown that (showed that for the installations I was working with) PPM will would install any number of (valid AS Win32)modules The First Time only. Subsequent attempts (to install AS Win32 modules, or even to update included standard modules) generate(d) the symptoms you describe, brother S.   The (pita) workaround that I found is to reinstall ActivePerl, after which you have One More Shot with PPM.   (lather, rinse, repeat)

    I do almost all of my Perling on Debian, so haven't bothered to dig further.   As suggested by somemonk when this was mentioned a week or three ago in the CB, ActivePerl and Microsoft bugtrackings might be worth searching.

        hth (maybe a little anyway),
        Don
        striving toward Perl Adept
        (it's pronounced "why-bick")

    Updates above in italic parens and strikethrough.   And I'm glad that crazy's response answered your question 8^)

(crazyinsomniac) Re: Problems with AS PPM - Missing setting???
by crazyinsomniac (Prior) on Apr 07, 2002 at 03:34 UTC
    First thing is first, if you got both ppm and ppm3, don't mix them, it'll make a mess of things (stick to one, and always use that one).

    Also, I would like to note that ActivePerl runs on BSD and other unices, and it is not Win32 specific, and nor are its PPM repositories, but you knew that ;)

    PPM Package Status - now this page here has an interesting chart, and lots of interesting links for PPM users.

    Now, everytime I try to install IPC-ShareLite using PPM3 on my Win2K machine, I get the same error. Here is the PPD for IPC-ShareLite

    <SOFTPKG NAME="IPC-ShareLite" VERSION="0,08,0,0"> <IMPLEMENTATION> <CODEBASE HREF="http://ppm.ActiveState.com/PPMPackages/5.6plus/sun +4-solaris-thread-multi/IPC-ShareLite.tar.gz" /> <ARCHITECTURE NAME="sun4-solaris-thread-multi" /> <OS NAME="solaris" /> </IMPLEMENTATION> <IMPLEMENTATION> <CODEBASE HREF="http://ppm.ActiveState.com/PPMPackages/5.6plus/i68 +6-linux-thread-multi/IPC-ShareLite.tar.gz" /> <ARCHITECTURE NAME="i686-linux-thread-multi" /> <OS NAME="linux" /> </IMPLEMENTATION> <ABSTRACT>Light-weight interface to shared memory</ABSTRACT> <TITLE>IPC-ShareLite</TITLE> <AUTHOR>Maurice Aubrey (maurice@hevanet.com)</AUTHOR> </SOFTPKG>
    Now I used to scratch my head at this oddity, but apparently, IPC::ShareLite doesn't run on windows, and the PPM repository does not have a Win32 binary for it. You're probably experiencing the same issue (after that, I stopped trying to run Win32::Process on RedHat Linux).

     
    ______crazyinsomniac_____________________________
    Of all the things I've lost, I miss my mind the most.
    perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"

      Ah! I didn't know that page existed!

      From the looks of things, your right. The 10-some-odd packages that I was attempting to install are not supported on my platform (Windows). Bummer.

      I guess I just (don't) know how to pick'em.

      Just successfully installed a Windows-supported module so that confirms it.

      Tanks again...

      ======================
      Sean Shrum
      http://www.shrum.net