Re: Installing JPL

[email protected] Wed, 6 Jun 2001 20:43:17 EDT
Newsgroups perl.jpl
Message-ID <[email protected]>
> PerlInterpreter.c: In function `Java_PerlInterpreter_init':
> PerlInterpreter.c:49: `curinterp' undeclared (first use in this function)
> PerlInterpreter.c:49: (Each undeclared identifier is reported only once
> PerlInterpreter.c:49: for each function it appears in.)
> PerlInterpreter.c:54: `do_undump' undeclared (first use in this function)

I had the same problem when I installed JPL.  This is because Perl5.005 
incorporated a new rule that all Perl global variables that are visible for 
use by extensions have to have the prefix "PL_", so for example, curinterp 
should be PL_curinterp.  It seems like JPL doesn't have the update.  A quick 
workaround would be to prepend PL_ to the variables you get error messages 
about.

For more information about the changes in Perl5.005, check
http://www.perl.com/pub/doc/manual/html/pod/perldelta.html#Incompatible_Change
s

Hiroko