Subject: pkg/18876: mail/grepmail fails to build due to missing dependancies
To: None <gnats-bugs@gnats.netbsd.org>
From: None <douglas@fang.demon.co.uk>
List: netbsd-bugs
Date: 11/01/2002 00:06:14
>Number: 18876
>Category: pkg
>Synopsis: mail/grepmail fails to build due to missing perl module depenencies
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 31 16:07:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6_STABLE
>Organization:
>Environment:
System: NetBSD aoife.home 1.6_STABLE NetBSD 1.6_STABLE (AOIFE.1.6) #0: Mon Oct 28 03:03:46 GMT 2002 root@aoife.home:/local/fs/src/1.6/src/sys/arch/i386/compile/AOIFE.1.6 i386
Architecture: i386
Machine: i386
>Description:
mail/grepmail fails to build due to needing the modules devel/p5-Date-Manip, time/p5-TimeDate and devel/p5-Inline modules. These dependencies are missing from the grepmail Makefile.
Exact error is:
===> Configuring for grepmail-4.80
Checking if your kit is complete...
Looks good
Warning: prerequisite Date::Parse failed to load: Can't locate Date/Parse.pm in @INC (@INC contains: /usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd /usr/pkg/lib/perl5/site_perl/5.6.1 /usr/pkg/lib/perl5/site_perl /usr/pkg/lib/perl5/5.6.1/i386-netbsd /usr/pkg/lib/perl5/5.6.1 .) at (eval 4) line 3.
WARNING from evaluation of /usr/pkgsrc/mail/grepmail/work/grepmail-4.80/FastReader/Makefile.PL: Can't locate Inline/MakeMaker.pm in @INC (@INC contains: /usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd /usr/pkg/lib/perl5/site_perl/5.6.1 /usr/pkg/lib/perl5/site_perl /usr/pkg/lib/perl5/5.6.1/i386-netbsd /usr/pkg/lib/perl5/5.6.1 .) at (eval 21) line 1.
BEGIN failed--compilation aborted at (eval 21) line 1.
Writing Makefile for grepmail
===> Building for grepmail-4.80
make: don't know how to make all. Stop
>How-To-Repeat:
run "make" in mail/grepmail
>Fix:
grepmail builds if the aformentioned modules are installed. I made it work by adding the lines
DEPENDS+=p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip
DEPENDS+=p5-Inline-[0-9]*:../../devel/p5-Inline
DEPENDS+=p5-TimeDate-[0-9]*:../../time/p5-TimeDate
to the Makefile.
>Release-Note:
>Audit-Trail:
>Unformatted: