Set me straight about that error message, "Error: no suitable installation target found for package...".

Given that the ppd contains:

<SOFTPKG NAME="B-Generate" VERSION="0,06,0,0"> <TITLE>B-Generate</TITLE> <ABSTRACT></ABSTRACT> <AUTHOR></AUTHOR> <IMPLEMENTATION> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86-multi-thread" /> <CODEBASE HREF="http://ppd.develop-help.com/ppd/data/B-Generate-0.06.t +ar.gz" /> </IMPLEMENTATION> </SOFTPKG>

And my perl installation lists:

P:\test>perl -V Summary of my perl5 (revision 5 version 8 subversion 4) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread [snip]

PPM is rejecting the install attempt because??

I googled for the error message, and it turns up a lot in questions, but rarely any answers.

When it does receive an answer, it is usually some speculation that "Your ppm installation is broken" or "PPM can't find you perl installation and so doesn't know where to install the package". Both of which are clearly wrong as I can successfully install any number of packages using PPM.

After looking at the ppd's of one or two packages I can install using PPM, I find they tend to look like this:

<SOFTPKG NAME="FFI" VERSION="1,00,0,0"> <TITLE>FFI</TITLE> <ABSTRACT>Foreign Function Interface for Perl</ABSTRACT> <AUTHOR>Paul Moore &lt;gustav@morpheus.demon.co.uk&gt;</AUTHOR> <IMPLEMENTATION> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86-multi-thread" /> <CODEBASE HREF="FFI-1.00-PPM.5.6.tar.gz" /> </IMPLEMENTATION> <IMPLEMENTATION> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" /> <CODEBASE HREF="FFI-1.00-PPM.5.8.tar.gz" /> </IMPLEMENTATION> </SOFTPKG>

Which seems to indicate to me that in .ppds, the architecture name: "MSWin32-x86-multi-thread", really means ""MSWin32-x86-multi-thread-5.6"?

And that despite that Perl (5.8.x) itself lists the architecture as "MSWin32-x86-multi-thread", PPM knows better?

So what that error message ("Error: no suitable installation target found for package...") should really saying is:

"Error: no suitable installation source found for package..."

Or maybe "Error: 'xxxxx.ppd' doesn't contain an installation source for your architecture ('MSWin32-x86-multi-thread-5.8')".


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon

In reply to Re^2: B::Generate for Win32? by BrowserUk
in thread B::Generate for Win32? by BrowserUk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.