Resolving Perl 'make test' Errors?



We're running perl 5.8.7_2 (from ports), with a mix of modules
installed via ports and CPAN, all on a 6.0-STABLE machine.

Someone tried to install WWW::Mechanize from CPAN, and when it tried
to do a 'make test', there was an error. If I build the module in
ports and go into the work directory and run 'make test' manually, I
get the same test error.

I usually prefer to install Perl modules through ports when possible,
so that portupgrade can take care of them for me. However, one of the
shortcomings of the (at least default) way in which ports installs
Perl modules is that ports does not run 'make test'.

Is there a clever way to have the ports system run 'make test' before
installing a Perl module? Most of the /usr/ports/*/p5-*/Makefile
files do not have 'test' defined as a target.

Does anyone have any advice for how to go about ironing out this
problem? My first inclination is to remake each of my p5-* ports and
run 'make test' on them manually and then have CPAN reinstall
everything that we have installed via CPAN.

Thanks in advance!
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: how to build Spamassassin
    ... The ports collection is great for certain things. ... it for spam assassin on 4.9 Stable. ... Install Perl 5.8.2 from ports ... Install Spam assassin from ports ...
    (freebsd-questions)
  • Re: subversion on FreeBSD 4.10
    ... I've upgraded all the ports including perl. ... # CFLAGS controls the compiler settings used when compiling C code. ... # or supported for compiling the world or the kernel - please revert any ... # To avoid running MAKEDEV all on /dev during install: ...
    (freebsd-questions)
  • Re: newest PHP port upgrade broke php5-mbstring-5.0.1 ?
    ... # CFLAGS controls the compiler settings used when compiling C code. ... # or supported for compiling the world or the kernel - please revert any ... # certain ports. ... # To avoid running MAKEDEV all on /dev during install: ...
    (freebsd-questions)
  • Re: help with grep looking for cats and dogs
    ... >others would commonly do with perl one-liners. ... Actually perl is still in the base system. ... the perl scripts needed to install and/or compile and install ... I've had to go back to the base system for some ports when making ...
    (comp.unix.sco.misc)
  • Re: External drives not installing or working properly on USB
    ... Tne one thing you could try doing is a repair install of XP ... Only one of the five host controllers is connected to the 6 ... As you have 5 host ports, ... operating system to recognise the four additional 'drives'. ...
    (microsoft.public.windowsxp.general)