Re: [Module::Build] missing CBuilder
Status: Beta
Brought to you by:
kwilliams
From: Marvin H. <ma...@re...> - 2006-05-23 06:22:48
|
On May 22, 2006, at 4:58 PM, Randy W. Sims wrote: > Currently the only solution is to make the dependency explicit in > your module's build files by listing EU::CBuilder in > 'build_requires' as you already observed. OK, that's what I'll do. It's an easy workaround. Should ExtUtils::ParseXS get listed there, too? > I wonder if there should be a better way to express this > dependency. Maybe it could be declared like this: > > use Module::Build features => qw( C_support ); > > Instead of having indirect prereqs listed in build files where it > really has nothing directly to do with the distro. Module::Build > could then do whatever magic is needed under the hood to add the > appropriate prereqs. It seems to me that some items imply C_support -- otherwise they're not of any use. I'm thinking c_source, xs_files, etc. It's a little weird to have each one of them depend on an optional module. At the least they need to be documented. Better, IMO would be either transparent recognition that CBuilder is needed, or arranging to have CBuilder installed along with every Module::Build but not necessarily functional (if that's possible). Marvin Humphrey Rectangular Research http://www.rectangular.com/ |