Hi, Please find below the answer of above questions:- >>> What OS are you using ? ... which versions of Inline and Inline::Java ? ... and which version of perl ? [root@prome-2s-dhcp82 5.10.0]# cat /proc/version Linux version 2.6.18-348.3.1.el5 (mockbu...@builder17.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Mon Mar 11 19:40:14 EDT 2013 [root@prome-2s-dhcp82 5.10.0]# perl -MInline -e 'print "$Inline::VERSION\n"' 0.46 [root@prome-2s-dhcp82 5.10.0]# perl -MInline::Java -e 'print "$Inline::Java::VERSION\n"' 0.52 [root@prome-2s-dhcp82 5.10.0]# perl -v
This is perl, v5.10.0 built for i686-linux-thread-multi-64int Copyright 1987-2007, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. I checked with Inline directory Inline:Config is not present. [root@prome-2s-dhcp82 5.10.0]# perl -MInline::Config -le 'for(keys(%INC)){print "$_: $INC{$_}"}' Can't locate Inline/Config.pm in @INC (@INC contains: /root/workspace/vtaf /usr/local/lib/perl5/5.10.0/i686-linux-thread-multi-64int /usr/local/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i686-linux-thread-multi-64int /usr/local/lib/perl5/site_perl/5.10.0 .). BEGIN failed--compilation aborted. Could there be any other reason of this issue/ or at run time this module is generate while running the code. Regards, Piyush On Wed, Apr 3, 2013 at 10:23 AM, <sisyph...@optusnet.com.au> wrote: > > > -----Original Message----- From: Piyush Verma > Sent: Tuesday, April 02, 2013 3:27 PM > To: inline@perl.org > Subject: Hitting issue of Inline::Config existance > > Hi, >> >> I am hitting issue. >> * >> * >> * Failed to load Inline Java:As of Inline v0.30, use of the Inline::Config >> module is no longer supported* >> *or allowed. If Inline::Config exists on your system, it can be removed. >> See >> * >> *the Inline documentation for information on how to configure Inline.* >> *(You should find it much more straightforward than Inline::Config :-)* >> > > Wow - ancient history. I didn't know there ever was an Inline::Config > module. > > > Please let me know where to find Inline::Config, to resolve this issue. >> > > Relative to where Inline.pm is installed, you would find this Config.pm in > the ./Inline folder. > But maybe something else is going on - surely, you cannot be using > Inline-0.26 or earlier. > > > Please point out if there is any other way of resolving this issue. >> > > The error comes about from this line of code (in version 0.52 of > Inline.pm): > > croak M14_usage_Config() if %main::Inline::Config::; > > So, for you, %main::Inline::Config:: is returning true. I guess that means > Inline::Config got loaded. (Can it mean anything else ?) > > What do you get when you run: > > perl -MInline::Config -le 'for(keys(%INC)){print "$_: $INC{$_}"}' > > That should give at least confirm whether (and where) Inline::Config is to > be found. > > NOTE: > If you're on MS Windows, you need to instead run: > perl -MInline::Config -le "for(keys(%INC)){print \"$_: $INC{$_}\"}" > > What OS are you using ? ... which versions of Inline and Inline::Java ? > ... and which version of perl ? > > Cheers, > Rob > > -- *Piyush Verma*