I am having problems installing module Inline::Java as a pre-requsite for
Business::PayPal::SDK

I do:
[root] cd .cpam/build/Inline-Java-0.52
[root] perl Makefile.PL J2SDK=/usr/share/jdk-1.5.0
[root] make
[root] make test
...
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01_init..............Could not get next available port number, using port
7890 instead. Use the PORT configuration option to suppress this warning.
 Error: Cannot assign requested address
 at /root/.cpan/build/Inline-Java-0.52/blib/lib/Inline/Java.pm line 484
JVM taking more than 15 seconds to start, or died before Perl could connect.
Increase config STARTUP_DELAY if necessary. at
/root/.cpan/build/Inline-Java-0.52/blib/lib/Inline/Java.pm line 484
INIT failed--call queue aborted.

process is hung ctrl c

make: *** [test_dynamic] Interrupt
[root]

Tried:
[root] set PERL_INLINE_JAVA_DEBUG=5
[root] perl -Mblib t/01_init.t
1..1
# Running under perl version 5.008008 for linux
# Current time local: Tue Jul 31 22:24:53 2007
# Current time GMT:   Tue Jul 31 21:24:53 2007
# Using Test.pm version 1.25
Could not get next available port number, using port 7890 instead. Use the
PORT configuration option to suppress this warning.
 Error: Cannot assign requested address
 at /root/.cpan/build/Inline-Java-0.52/blib/lib/Inline/Java.pm line 484
JVM taking more than 15 seconds to start, or died before Perl could connect.
Increase config STARTUP_DELAY if necessary. at
/root/.cpan/build/Inline-Java-0.52/blib/lib/Inline/Java.pm line 484
INIT failed--call queue aborted.
[root]

Had a quick poke at the code in Java.pm, looks like the jvm didn't start, but
of Java >> I know nothing <<.

Don't know what to do next?

My platform is: Fedora 5, j2sdk 1.5.0-10

[root] java -version
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)

Thanks in advance Charles Bradshaw



Reply via email to