At 17:54 6-10-2002 +1000, Scott Penrose wrote:
>My modules does depend on the right things.
>
>I just reviewed my Makefile.PL and it contains
> 'PREREQ_PM' => {
> 'Device::ParallelPort' => 0,
> },
>
>Device::ParallelPort contains a set of modules, including
>Device::ParallelPort::drv
>
>any ideas why it didn't pick that up ?
>
>Is it just a mater of adding the AutoInstall, I thought CPAN
>automatically asks to install any missing dependencies?
It does. I retested the package (same result) and reviewed the Makefile.PL.
It contained:
WriteMakefile(
'NAME' => 'Device::ParallelPort::drv::linux',
'VERSION_FROM' => 'linux.pm', # finds $VERSION
'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'linux.pm', # retrieve abstract from module
AUTHOR => 'A. U. Thor <[EMAIL PROTECTED]>') : ()),
'LIBS' => [''], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
# Insert -I. if you add *.h files later:
'INC' => '', # e.g., '-I/usr/include/other'
# Un-comment this if you add C files to link with later:
# 'OBJECT' => '$(O_FILES)', # link all the C files too
);
No mention of Device::ParallelPort. Perhaps this is an old version?
Jeroen