Thanks Rob,Nick and Patrick , >From your analysis, I guess that JAVA + PERL with inline java and related >modules are at initial level and not to take up for application testing. what I have expected is something like JEPP how PYTHON interacts with JAVA. Hence I have to give up my trails with inline::JAVA
Thx for your efforts Selva D --- On Sat, 19/6/10, Patrick LeBoutillier <patrick.leboutill...@gmail.com> wrote: > From: Patrick LeBoutillier <patrick.leboutill...@gmail.com> > Subject: Re: Issue with installing Inline::Java > To: "Sisyphus" <sisyph...@optusnet.com.au> > Cc: "Nicholas Clark" <n...@ccl4.org>, "selva ganapathy" > <ganapathy_se...@yahoo.com>, inline@perl.org > Date: Saturday, 19 June, 2010, 7:11 PM > Hi all, > > The PerlNatives extention is sort of a hack, as it is a .xs > file that > doesn't really involve Perl. I only put it in a .xs file > to > ease/generalize the building process. That's why those > headers were > not included at the time. > > However it seems that in more recent versions of Perl some > macros in > the .xs files changed in order to include (calls to|types > from) the > Perl API, so I guess the headers are now required. Anyways > it's no > harm to add them. I'll do it for in the next release... > > Also, the PerlNatives stuff is really experimental, as > mentioned in > the installation procedure. You don't really need it to > use > PerlInterpreter or Inline::Java. > > Rob and all: My apologies for not being present on the list > lately, I > just realized this week that I wasn't getting the messages > anymore > since about January. Don't know what happened, I had to > re-register my > email address with the list. > > > Patrick > > On Sat, Jun 19, 2010 at 5:20 AM, Sisyphus <sisyph...@optusnet.com.au> > wrote: > > > > ----- Original Message ----- From: "Nicholas Clark" > <n...@ccl4.org> > > > >> The errors are consistent with not including (at > least) perl.h > >> Or the *right* perl.h > >> > > > > Yikes ... an xs file that doesn't '#include "perl.h"' > !! > > Hard to envisage that would work anywhere. > > > > Adding the following at the very top of PerlNatives.xs > fixes this problem: > > > > #include "EXTERN.h" > > #include "perl.h" > > #include "XSUB.h" > > > > and Inline-Java-0.52 (along with PerlNatives) then > builds fine for me. How > > about for you selva ? > > > > Annoyingly, the PerlNatives test script bails out > before running any of the > > 5 scheduled tests. The error message I'm getting is: > > > > t/02_perl_natives.t .. Unexpected exception of type > > 'java.lang.UnsatisfiedLinkError': RegisterMethod at > > > C:\_32\comp\Inline-Java-0.52\blib\lib/Inline/Java/Object.pm > line 49 > > > > Something to look at tomorrow .... thanks Nicholas. > > > > Cheers, > > Rob > > > > > > > > -- > ===================== > Patrick LeBoutillier > Rosemère, Québec, Canada >