develooper Front page | perl.xs | Postings from February 2012

Re: Automated testing failure

Thread Previous | Thread Next
From:
Sisyphus
Date:
February 9, 2012 14:48
Subject:
Re: Automated testing failure
Message ID:
405AC92EC267432997224D414E0D35B5@desktop2

----- Original Message ----- 
From: "ben" <ben@appliedplastic.com>
To: <perl-xs@perl.org>
Sent: Thursday, February 09, 2012 12:38 PM
Subject: Automated testing failure


>  what is the best practice for dealing
> with binary modules which depend on third party librarys? wget? die? exit 
> 0?

Not sure what the best practice is, but the common practice is to have 
Devel::CheckLib handle the checking for the presence of the 3rd party 
library.

In the event that the 3rd party library cannot be located I think you want 
the 'perl Makefile.pl' process to 'exit 0' - or you could perhaps set things 
up so that the 3rd party lib is then fetched via Alien:: , in which case the 
build can then go ahead.

Cheers,
Rob


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About