fluffy has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I'm having trouble bending ExtUtils::MethodMaker to my will to handle work on MacOS X.

Trouble is, by default, I get this with make install:(with perl-5.8.0, apple's build, on Panther)

Use of uninitialized value in -d at /opt/perl/lib/5.8.0/File/Path.pm line 141.
fileparse(): need a valid pathname at /opt/perl/lib/5.8.0/File/Path.pm line 142
make: *** pure_vendor_install Error 255

The only solution I know of is to set INSTALLVENDOR* in Makefile.PL (this is what I've done in 2.07). This troubles me, as it's highly icky, and it breaks use of PREFIX. But it's the only thing I can find.

I have tried using Module::Build, which is lovely, but couldn't get it to play nice with the xs module :-(

If anyone can point me in the right direction, I'd be obliged.

Mx.

  • Comment on ExtUtils::MakeMaker / MacOS X / Class::MethodMaker