It sounds like maybe there's more than one perl installation on that machine. Perhaps the shebang line of the script Sunil is running doesn't match the perl where Inline is installed. Or if running under mod_perl, perhaps that perl doesn't match either.
-Ken > -----Original Message----- > From: Patrick LeBoutillier [mailto:[EMAIL PROTECTED] > Sent: Monday, January 17, 2005 6:23 PM > To: [EMAIL PROTECTED]; inline@perl.org > Subject: Re: Unable to call Java > > > Sunil, > > At this point I do not understand why Inline is not picking up > Inline::Java. You can try debugging Inline.pm (more specifically the > create_config_file function) and try to see what's going on. > > Let me know if I you come up with anything. > > Note: I'm bringing our conversation back to the list hoping maybe > someone else has any ideas. > > > Cheers, > > Patrick > > > > > On Mon, 17 Jan 2005 10:25:39 -0800, Sunil Durga (sdurga) > <[EMAIL PROTECTED]> wrote: > > Hi Patrick > > > > Sorry for the delayed response > > > > /usr/local/perl5.6.1/site_perl/Inline.pm is what the first > command returns. > > /usr/local/perl5.6.1/site_perl/sun4-solaris/Inline/Java.pm > is the result of > > second. > > > > Thanks > > Sunil > > > > -----Original Message----- > > From: Patrick LeBoutillier [mailto:[EMAIL PROTECTED] > > Sent: Saturday, January 15, 2005 6:34 AM > > To: [EMAIL PROTECTED] > > Subject: Re: Unable to call Java > > > > Sunil, > > > > Seems Inline is not picking up your Inline::Java installation. > > > > What do these commands give on your system: > > > > $ perl -MInline -e'print $INC{"Inline.pm"} . "\n"' > > $ perl -MInline::Java -e'print $INC{"Inline/Java.pm"} . "\n"' > > > > Patrick > > > > On Fri, 14 Jan 2005 17:40:20 -0800, Sunil Durga (sdurga) > <[EMAIL PROTECTED]> > > wrote: > > > Hi > > > > > > It's a solaris platform. > > > > > > > > > -----Original Message----- > > > From: Patrick LeBoutillier [mailto:[EMAIL PROTECTED] > > > Sent: Friday, January 14, 2005 5:37 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: Unable to call Java > > > > > > What platform are you running on? > > > > > > On Fri, 14 Jan 2005 17:28:55 -0800, Sunil Durga (sdurga) > > > <[EMAIL PROTECTED]> > > > wrote: > > > > Hi Patrick , > > > > > > > > I have installed it and it points to the jdk directory > properly in > > > > make file. > > > > > > > > I did it several times ,clearing and then running my > script again > > > > but no use. > > > > > > > > > > > > Thanks & Regards > > > > ______________ > > > > Sunil Kumar Durga > > > > > > > > email :[EMAIL PROTECTED] > > > > > > > > -----Original Message----- > > > > From: Patrick LeBoutillier > [mailto:[EMAIL PROTECTED] > > > > Sent: Friday, January 14, 2005 5:25 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: Re: Unable to call Java > > > > > > > > Sunil, > > > > > > > > Have you installed Inline::Java or have you just > unpacked it and are > > > > trying to run the test suite? > > > > > > > > This is a problem with the Inline configuration file in > your _Inline > > > > directory. It seems it has been generated before > Inline::Java was > > > installed. > > > > > > > > Look in your _Inline directory (maybe ~/_Inline), > delete the 'config' > > > > file and try again. > > > > > > > > Patrick > > > > > > > > On Fri, 14 Jan 2005 16:04:46 -0800, Sunil Durga (sdurga) > > > > <[EMAIL PROTECTED]> > > > > wrote: > > > > > Hi > > > > > > > > > > I am trying to call java using Inline::Java. I got the module > > > > > installed and make file points to the right java > folder. But when > > > > > I run a perl program which has one class written > > > > > > > > > > I get the following error. > > > > > > > > > > Error. You have specified 'Java' as an Inline > programming language. > > > > > > > > > > I currently only know about the following languages: > > > > > C, Foo, foo > > > > > > > > > > If you have installed a support module for this language, try > > > > > deleting the config file from the following Inline > DIRECTORY, and > > > > > run > > > again: > > > > > > > > > > /opt/httpd/root-wwwin/cgi-bin/WWSales/EBC/vmi/_Inline > > > > > > > > > > at ./sunil.pl line 24 > > > > > BEGIN failed--compilation aborted at ./sunil.pl line 24. > > > > > > > > > > I am not sure which property file or any connection > file I have to > > > change. > > > > > > > > > > Could you please help. > > > > > > > > > > Thanks & Regards > > > > > ______________ > > > > > Sunil Kumar Durga > > > > > email :[EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > -- > > > > ===================== > > > > Patrick LeBoutllier > > > > Laval, Québec, Canada > > > > > > > > > > -- > > > ===================== > > > Patrick LeBoutllier > > > Laval, Québec, Canada > > > > > > > -- > > ===================== > > Patrick LeBoutllier > > Laval, Québec, Canada > > > > > -- > ===================== > Patrick LeBoutllier > Laval, Québec, Canada >