No issues till perl makefile.pl ( I have opted Y for JNI,PerlInterpreter extension, PerlNatives extension) PERL_INLINE_JAVA_JNI set to 1 PERL_INLINE_JAVA_J2SDK set to new JSDK location as C:\Program Files\Java\jdk1.6.0_20

PATH varaible appended with C:\Program Files\Java\jdk1.6.0_20\jre\bin\server C:\Program Files\Java\jdk1.6.0_20\jre\lib\deploy\jqs\ie C:\Program Files\Java\jdk1.6.0_20\jre\bin Inline::java version -Inline-Java-0.52 perl -v This is perl, v5.8.9 built for MSWin32-x86-multi-thread gcc version 3.4.5 (mingw-vista special r3)

while dmake, I am getting error with C:\Perl\site\lib\Inline-Java-0.52\Java\PerlNatives\PerlNatives.c as follows ----------------------------------------- Error part alone given ----------------------------------------
cp Callback.pod ..\blib\lib\Inline\Java\Callback.pod cp JVM.pm ..\blib\lib\Inline\Java\JVM.pm cp sources\org\perl\inline\java/InlineJavaPerlCaller.java ..\blib\lib\ +Inline\Jav a\sources\org\perl\inline\java\InlineJavaPerlCaller.java cp Object.pm ..\blib\lib\Inline\Java\Object.pm cp Callback.pm ..\blib\lib\Inline\Java\Callback.pm cp sources\org\perl\inline\java/InlineJavaHandle.java ..\blib\lib\Inli +ne\Java\so urces\org\perl\inline\java\InlineJavaHandle.java cp sources\org\perl\inline\java/InlineJavaUtils.java ..\blib\lib\Inlin +e\Java\sou rces\org\perl\inline\java\InlineJavaUtils.java cp JNI.pm ..\blib\lib\Inline\Java\JNI.pm cp PerlNatives.pm ..\..\blib\lib\Inline\Java\PerlNatives.pm cp PerlNatives.pod ..\..\blib\lib\Inline\Java\PerlNatives.pod C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib +\ExtUtils\ typemap PerlNatives.xs > PerlNatives.xsc && C:\Perl\bin\perl.exe -MEx +tUtils::Co mmand -e mv PerlNatives.xsc PerlNatives.c C:/Perl/site/bin/gcc.exe -c "-IC:\Program Files\Java\jdk1.6.0_20\incl +ude" "-IC: \Program Files\Java\jdk1.6.0_20\include\win32" -DNDEBUG -DWIN32 -D_CO +NSOLE -DNO _STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB +_LAST_IN_I NC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSV +CRT_READFI X -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2 -DVE +RSION=\"0. 52\" -DXS_VERSION=\"0.52\" "-IC:\Perl\lib\CORE" PerlNatives.c 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" PerlNatives.c: In function `S_croak_xs_usage': PerlNatives.c:277: error: syntax error before '*' token PerlNatives.c:279: error: `cv' undeclared (first use in this fu PerlNatives.c:279: error: (Each undeclared identifier is report PerlNatives.c:279: error: for each function it appears in.) PerlNatives.c:279: error: `params' undeclared (first use in thi PerlNatives.c:281: error: `gv' undeclared (first use in this fu PerlNatives.c:282: warning: initialization makes pointer from i cast PerlNatives.c:283: error: syntax error before '*' token PerlNatives.c:284: error: `stash' undeclared (first use in this PerlNatives.c:287: error: `aTHX_' undeclared (first use in this PerlNatives.c:287: error: syntax error before string constant PerlNatives.c:287: error: syntax error before ')' token PerlNatives.c:292: error: syntax error before string constant dmake.exe: Error code 129, while making 'PerlNatives.o' dmake.exe: Error code 255, while making 'subdirs' dmake.exe: Error code 255, while making 'subdirs'
Thx in adavnce. As I am plannng for a demo on JAVA+PERL, this help willbe much useful

In reply to dmake inatallation fails with inline::java by Selva123

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.