Hi Schwern and so on,

The ExtUtils::ParseXS, which is now on CPAN, provides functionality equivalent to the 'xsubpp' script, and replaces xsubpp on the user's system with a wrapper script around the ExtUtils::ParseXS functionality.

However, it installs this wrapper script in site_perl/ (or wherever the user installs modules), and MakeMaker only looks for xsubpp at PERL_LIB/xsubpp - see MM_Unix.pm line 3910 in CVS:

my($xsdir) = File::Spec->catdir($self->{PERL_LIB},"ExtUtils");
... then later ...
XSUBPPDIR = $xsdir
XSUBPP = \$(XSUBPPDIR)/$xsubpp

The PERL_LIB setting defaults to $Config{privlibexp}.

So the issues are the following:

1) Shouldn't MM look for xsubpp anywhere in @INC?

2) To workaround, how do I get MakeMaker to install xsubpp in PERL_LIB?

-Ken

Reply via email to