JPL problem
[email protected] ("Simha, Shuba") Fri, 30 Aug 2002 10:58:12 -0400
| Newsgroups | perl.jpl |
|---|---|
| Message-ID | <3BA27C22E055D511883500508B6893CC0280E895@USWSMX23> |
Hi everyone,
I am sure this problem would be faced by many, but I could not find any
posted questions/answers like this one.
I downloaded JPL-08201999.tar.gz from
http://www.cpan.org/modules/by-category/07_Database_Interfaces/Msql/BJEPS/,
and tried to install it on SunOS( with perl 5.005_03). But I had a lot of
problems, and finally gave up, when it said "Couldn't install JNI". But I
continued working on JPL, assuming it would work because all the files and
directories were installed (Too bad of me eh?!). I then tried to run the
Sample.jpl like this:
Inside Sample/ directory:
* perl MakeFile.pl
* make clean - when I run this, I get the output"
rm -f Sample.c Sample.h \
Sample*.class Sample*.pl libSample.so Sample*.java
* make install - when I run this, I am getting the following error:
perl -MJPL::Compile -e "file('Sample.jpl')"
javac Sample.java
javah -jni Sample
javap -s Sample
perl -c Sample.pl
Can't locate loadable object for module JNI in @INC (@INC
contains: /home/simhashu/JPL-08201999/perl /usr/perl5/5.00503/sun4-solaris
/usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris
/usr/perl5/site_perl/5.005 . /JPL-08201999/perl) at
/home/simhashu/JPL-08201999/perl/JPL/AutoLoader.pm line 57
BEGIN failed--compilation aborted at
/home/simhashu/JPL-08201999/perl/JPL/AutoLoader.pm line 57.
BEGIN failed--compilation aborted at
/home/simhashu/JPL-08201999/perl/JPL/Class.pm line 2.
BEGIN failed--compilation aborted at Sample.pl line 3.
jpl stopped
make: *** [Sample.class] Error 2
I know it is due to JNI not being installed. But I do not know what to do
here. Please help!
Thanks a bunch.
-ss
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it.
==============================================================================