ExtUtils::MakeMaker, APR::UUID or Perl problem?by jk2addict (Chaplain)
|on Dec 03, 2005 at 04:02 UTC||Need Help??|
jk2addict has asked for the wisdom of the Perl Monks concerning the following question:
Holy crap, this is a stumper. I got a report from Sean Comeau about perl Makefile.PL in Handel creating a 0 byte Makefile under perl 5.8.6, EU::MM 6.30 on OpenBSD 3.8. After a lot of queestions and tinkering, he setup ssh access for me to tinker on the machine in question. I've found the single statement that causes the problem, and I'm even more mystified what the hell is going on. Of course, all works fine in the same EU::MM version on FreeBSD/Linux.
Here's the pared down Makefile.PL. The original version ran eval to determine is APR::UUID is available, and if it was, add it to PREREQ.
If I remove all of those problemed lines, the Makefile is generated just fine. What's going on?
To make matters stranger, this works just fine:
If there's a problem with the APR module, why in Makefile.PL and not in -e? If the lib is just crapping out, where's the error?