develooper Front page | perl.inline | Postings from June 2010

Re: Issue with installing Inline::Java

Thread Previous
From:
Sisyphus
Date:
June 15, 2010 00:39
Subject:
Re: Issue with installing Inline::Java
Message ID:
E533C1E6458D4522B3F0164460B74980@desktop2

----- Original Message ----- 
From: "selva ganapathy" <ganapathy_selva@yahoo.com>
To: <inline@perl.org>; "Sisyphus" <sisyphus1@optusnet.com.au>
Sent: Monday, June 14, 2010 11:51 PM
Subject: Re: Issue with installing Inline::Java


Hi Rob,
Thanks for the input. Yes it should be dmake and when I tried with that I am 
getting some there issues.
Do you have any idea on this ?

After perl makefile.pl ( I have selected option for JNIextension, 
PerlNatives extension and  PerlInterpreter extension
(here I got warning as Note (probably harmless): No library found for -ljvm
Note (probably harmless): No library found for -ljvm)

=================================

If the jvm library is in fact needed, then its absence will *not* be 
harmless - and you'll end up getting unresolved references in relation to 
the symbols resolved by that library. Do you have such a library anywhere in 
your jdk installation ? (Either jvm or libjvm - with either a .a or .lib 
extension ?)

Anyway, that's not the problem we're up against at the moment. We need to 
fix these errors:

PerlNatives.c:271: error: syntax error before "void"
PerlNatives.c:272: error: syntax error before "const"
PerlNatives.c:274: error: syntax error before "void"
PerlNatives.c:275: error: syntax error before "const"

Can you post lines 270 to 275 of  PerlNatives.c.

Also what does 'gcc -v' output, and what does 'perl -v' output.

I don't actually use or build Inline::Java - but we'll see what we can do.

Cheers,
Rob 


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About