Hi all,

This is slightly off topic but I'm thinking someone here can help.

I'm having problems with a .xs file I just added to Inline::Java. This .xs
file creates a .so that is meant to be loaded by JAVA and not by Perl.
Therfore is doesn't include your typical

  #include "EXTERN.h"
  #include "perl.h"
  #include "XSUB.h"

and it doesn't call any Perl code whatsoever. It also doesn't have a

  MODULE ... PACKAGE ... PREFIX

line in the .xs source.


My problem is that the "old" xsubpp doesn't care about this and "compiles"
the .xs file properly. The "new" xsubpp, that is based on
ExtUtils::ParseXS, croaks saying:

  die "Didn't find a 'MODULE ... PACKAGE ... PREFIX' line\n" unless
defined $_;


So my real question is: How does one get the "new" xsubpp?
Do you have to manually install ExtUtils::ParseXS?
Are there some Perl distros that come already setup that way? I have
looked at 5.6.0, 5.6.1, 5.8.0, 5.8.2, 5.8.3 distros on RH Linux and Win32
and none had ExtUtils::ParseXS installed by default.

I think I know how to fix the problem, I'm just trying to determine how
much of my audience is affected by this issue.

Thanks a lot,

Patrick


Reply via email to