Hi;

I installed Inline-0.44 and Inline-Java-0.49 on
SunOS 5.9 Generic_112233-06 sun4u sparc.

Here is some code of my perl-class which works
successfully when not called with the debug-option.

use Inline Java => 'STUDY',
  STUDY => ['JMSEnqueue'] ,
  SHARED_JVM => 1;

sub new {
  my $class = shift;
  return JMSEnqueueProvider::JMSEnqueue->new($ldapURL,$ldap1,$ldap2);
}
1;


But I'm facing two problems:

1. I can't use my "perl -d" debugger anymore.
The program terminates before it begins to work

This is part of the output I get:

Global symbol "BEGIN" requires explicit package name at (eval 
479)[/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/Inline/Java.pm:822] 
line 2, <GEN1> line 4.
BEGIN not safe after errors--compilation aborted at (eval 
479)[/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/Inline/Java.pm:822] 
line 2, <GEN1> line 4.
 at (eval 
479)[/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/Inline/Java.pm:822] 
line 2
        eval 'package  ;
use vars qw(@ISA $INLINE $EXISTS $JAVA_CLASS $DUMMY_OBJECT) ;
 

2. JNI.so isn't build - neither perl nor I can
find it ;-) 

Are these known problems?
Is there an area where I do something wrong?

Is there hope to get JNI running with j2sdk1.4.1_02 on SunOS 5.9?

Sincerely

Wilhelm 



Reply via email to