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
- Re: MakeMaker only looks for xsubpp in $Config{privlibexp... Ken Williams
- Re: MakeMaker only looks for xsubpp in $Config{privl... Randy W. Sims
- Re: MakeMaker only looks for xsubpp in $Config{p... Ken Williams
- Re: MakeMaker only looks for xsubpp in $Conf... Randy W. Sims
- Re: MakeMaker only looks for xsubpp in $... Ken Williams
- Re: MakeMaker only looks for xsubpp... Randy W. Sims
- Re: MakeMaker only looks for xs... Ken Williams
- Re: MakeMaker only looks for xsubpp in $... Nick Ing-Simmons
- Re: MakeMaker only looks for xsubpp in $Config{privl... schwern
- Re: MakeMaker only looks for xsubpp in $Config{p... Ken Williams