I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-11-05 21:27:00-08 by cluft
Inline-Java-.51 Won't Build on PPC64 bit
Hello, I am trying to build Inline-Java (v51) on a PPC 64 bit system and I got a warning during "make java" portion which is preventing me from further building, etc. I'm using IBM's JRE (java version 1.6.0) on Perl 5.8.8. I can see in the source where the deprecated call is made and I've read that changing the call from .toURL() to .toURI().toURL() will fix it but I'm not sure if patching the source is the way to go. Any help would be greatly appreciated. Welcome to the Inline::Java installation procedure.

Default J2SDK for Inline::Java will be '/usr/java'.
See module documentation for information on how to use a different J2SDK
or change this default value.

Checking if your kit is complete...
Looks good

Inline::Java can use a JNI extension that allows the Java Virtual Machine
(JVM) to be dynamically linked with Perl instead of running as a separate
process. The use of this extension is optional, and building it still
allows Inline::Java to run the JVM in the default (separate process)
fashion.
Note: You need a C compiler to build the extension.
Note: You must build the extension if you wish to use PerlNatives or
PerlInterpreter.
Do you wish to build the JNI extension? [y] y

Building JNI extension.

Can't locate file 'jni_md.h' anywhere under '/usr/java'
Writing Makefile for Inline::Java

You can continue the installation with the following commands:
% make java
% make
% make test
% make install
Running make java for Inline Java"/usr/java/bin/javac" -deprecation -g -d Java/classes Java/sources/org/perl/inline/java/*.java
Java/sources/org/perl/inline/java/InlineJavaUserClassLoader.java:36: warning: [deprecation] toURL() in java.io.File has been deprecated
URL u = p.toURL() ;
Direct Responses: Write a response