Re: JPL Error With Thread.

[email protected] (Brian Jepson) Fri, 17 Sep 1999 10:44:25 -0400 (EDT)
Newsgroups perl.jpl
Message-ID <Pine.LNX.4.10.9909171040260.826-100000@cx384756-a.sking1.ri.home.com>
We haven't gotten very far with JDK 1.2 - there are some notes about JDK
1.2, threads, and Solaris in the README file that accompanies the version
of JPL in CVS. These might also apply to the Linux port of JDK 1.2.

I've gotten JPL to build on sparc-linux with JDK 1.2, but it crashes on
the third test in Sample.

I've gotten JPL to build on Solaris 7 with JDK 1.2, but you have to mess
with the order of linking when you build Perl. This should be covered in
the README.

I have not tried messing with install-JPL so it uses green threads, but
you may be able to get it to work with JDK 1.2 if you can get it to link
against the green threads version of the Java shared library.

On Fri, 17 Sep 1999, Khoivu Nguyen wrote:

> I downloaded and installed  Perl 5.00561. I also installed JPL module
> too. When I ran "java Sample" I got the segmentation violation error
> with java. When I installed Perl5.00561, I set PERL flag to use thread
> and compiled it to libperl.so.
> 
> FYI, here is my platform info:
> 
>         * Rehad 6.0 with Linux kernel 2.2.5-15
>         * Perl 5.00561
>         * gcc version egcs-2.91.66 (egcs-1.1.2 release)
>         * java version "1.2". Classic VM (build
>           Linux_JDK_1.2_pre-release-v2, native threads, sunwjit)
> 
> I would like to thank in advance for any helps and hints.
> 
> Khoivu
> 
> 
> 

Brian Jepson * ([email protected])  *  http://users.ids.net/~bjepson