Dear Forum,
I'm running fedora and removed perl because of a library problem.
I've downloaded perl source code, compiled it, installed a few extra modules.
Perl is installed in /usr/local/bin
Libraries are at /usr/local/lib/perl5/ (5.8.8 & site_perl subdirs)
When I issue
#perl -V
This is the output - which is correct:
<PRE>
Characteristics of this binary (from libperl):
Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO
Built under linux
Compiled at Sep 28 2007 01:14:17
%ENV:
PERL5LIB="/usr/local/lib/perl5/5.8.8"
@INC:
/usr/local/lib/perl5/5.8.8/i686-linux
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/5.8.8/i686-linux
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/i686-linux
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
.
</PRE>
My problem is that when I run the program, perl is looking at the old perl stuff (which was managed by yum).
Here is the output:
<PRE>
Can't locate POE/Kernel.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 PERL2EXE_STORAGE /usr/local/fonality/hud /tmp/p2xtmp-2401) at (eval 7) line 1.
BEGIN failed--compilation aborted at (eval 7) line 1.
PLEASE SEE THE PERL2EXE USER MANUAL UNDER "Can't locate somemodule.pm in @INC"
FOR AN EXPLANATION OF THE FOLLOWING MESSAGE:
Can't locate POE/Session.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 PERL2EXE_STORAGE /usr/local/fonality/hud /tmp/p2xtmp-2401) at (eval

line 1.
BEGIN failed--compilation aborted at (eval

line 1.
could not import qw(Kernel Session) at /usr/local/fonality/hud/hudlite-server line 11
BEGIN failed--compilation aborted at /usr/local/fonality/hud/hudlite-server line 11.
</PRE>
Just to re-iterate: The modules _are_ installed in /usr/local/lib/perl5 but for some reason the (proprietary) program seems to be looking where yum used to keep them.
Is there a setting in fedora where this value is kept because I have a feeling the proprietary program is referring to this setting??
Kind Regards,
mylo78