Autrijus Tang <[EMAIL PROTECTED]> writes: > On Thu, May 23, 2002 at 02:01:22PM -0500, Randy Kobes wrote: > > Seeing as this is a binary build of a package for MacPerl, > > shouldn't this be excluded from testing by non-Mac systems? > > Indeed. Should cpansmoke be looking at postfix 'Mac', 'VMS', 'Win32' > in addition to the prefix probing?
Probably this is only a Mac thing and not applicable to VMS, Win etc. Here some (all?) postfixes from binary Mac buils you will find on CPAN: -------------------------------------------------------------- (1) bin-1-MacOS bin-2-MacOS (2) bin-1-Mac bin-2-Mac bin-Mac binMac (3) bin56Mac If MacPerl 5.8.0 comes out expect a bin58Mac postfix as well. ------------------------------------------------------------- Prefix probing has its problems as well. E.g. "Mac::AppleSingleDouble" is a Module aimed for non Macintosh machines. But, IMHO its better cpan-smoke misses some Modules, than sending out false reports. > Otherwise, a Makefile.PL check could work, too. No, in these case Makefile.PL does not help. "Makefile.PL" is actually just another pretty useless File kept in the Macintosh distribution for completness. What CPANSMOKE could test is wether there is a "/blib" with shared libraries or not after unpacking. (Inside the "/blib" there should be a "/MacPPC" directory for sure) Hope that helps, Andreas Marcel