On Thursday 17 August 2006 00:28, Francois PERRAD wrote: > I try it on Win2000 with MinGW. > 1) ExtUtils::PkgConfig is a wrapper over pkg-config, and pkg-config is not > available on Windows
Okay, that's a problem. It's actually a big problem, for two reasons. First, linking against libparrot requires knowing its location and the compiler flags. When building this within the parrot/ directory, I could just parse parrot.rc. However, when building outside of parrot/, such as when downloading from the CPAN, pkg_config is the way to go, if possible. I'll add some logic to improve this situation. > 2) Module::Build is not installed in the distribution ActiveState Perl > 5.8.8 Build 817, and this module has a lot of dependence It can go in Bundle::Parrot. > 3) I think the best way is to use an old fashion Makefile.PL and not a > Build.PL EU::MM is, hands-down, the biggest bucket of suck in the entire Perl 5 core. (Yes, the interface is worse than File::Find and yes the implementation is worse than B::Bytecode, which at least you can count on always failing to work.) When the great old ones arrive from the dark spaces between dimensions, I plan to throw its source code at them to distract them from eating the earth. It'll work too; it's not really good for anything else.[1] -- c [1] Disclaimer: if all you're doing is installing a pure-Perl module, not compiling anything or doing any sort of customization, you don't have to realize that what you're really doing is using Perl to write cross-platform shell scripts, if at all possible, and I still don't know how to phrase the horror that is MY, it's not quite so bad.