On Fri, May 23, 2008 at 09:09:43PM +1000, Sisyphus wrote:
> From: <[EMAIL PROTECTED]>
> > I've read it, but this applies if I can determine that
> > the library uis not available at Build.PL time.  In my case
> > I can't, because it is wxWidgets' configure that determines GTK2
> > is not present.

Is this the Wx module you're using?  Cos if it can't find all the libs
it needs, then it *shouldn't* install, and then when it comes to installing
your module the missing pre-requisite (ie, Wx) should suppress the
failure report.  If Wx is somehow passing its tests and installing a
broken version of itself, then someone needs to poke the author.

> <rant>
> I've had issues with my own modules re FAIL reports owing to a missing 
> requisite C library. On weighing up the options, I've decided to live with 
> those "FAIL" reports.
> 
> Firstly, I'm not convinced that I could write a platform-independent 
> Build.PL/Makefile.PL that is guaranteed to  correctly establish whether the 
> requisite C library is available or not.

This is what Devel::CheckLib is supposed to do.  It does at least work
on every Unix it's been thrown at so far, and Win32 with Cygwin,
Microsoft's compilers and Borland.  Not tested AFAIK on BeOS, OS/2 or
VMS, but tbh people using those platforms are either used to porting
stuff (VMS) or just being deliberately perverse.

I know that *I'll* be being deliberately perverse when I try to set up
OS/2 this evening.  Ah the exciting Friday evenings of a perl programmer :-)

-- 
David Cantrell | Official London Perl Mongers Bad Influence

    Planckton: n, the smallest possible living thing

Reply via email to