On Thu, 28 Nov 2002, Tim Jenness wrote:
 
> Is there any way to indicate to CPANPLUS a library dependency
> rather than a module dependency? This module is never going to
> build if the skycat library from ESO is not installed.

One way, at the Makefile.PL stage, is just to search through
"typical" library paths for the library, and die if it's not
found (or prompt the user for it's location - see, for example,
the DBD-mysql distribution). I believe that, at least for newer
CPANPLUSs, they won't report anything if Makefile.PL die()s. To
get more sophisticated, one can do as in, for example,
XML-LibXML-Common, which constructs a test program to see if
linking against the found library works.

-- 
best regards,
randy kobes

Reply via email to