Hello all,
I am trying to make some tests with the perl ca
library provided by Andrew Johnson.
I have the following error:
perl mytest.pl
Can't locate loadable object for module Cap5 in @INC (@INC
contains: /home/spiral2mgr/APPLICATIONS/PERL/cap5-0.1/lib/perl /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8
.) at mytest.pl line 3
Compilation failed in require at mytest.pl line 3.
BEGIN failed--compilation aborted at mytest.pl line 3.
[spiral2mgr@dappck110 cap5-0.1]$ pwd
/home/spiral2mgr/APPLICATIONS/PERL/cap5-0.1
[spiral2mgr@dappck110 cap5-0.1]$ more mytest.pl
use lib '/home/spiral2mgr/APPLICATIONS/PERL/cap5-0.1/lib/perl';
use CA;
my $chan = CA->new('LBE1-D11:IConsR');
my $chan1 = CA->new('LBE1-D11:ICons');
CA->pend_io(1);
. . .
Being not a real perl expert, I can’t
understand why this module is not found.
By the way, I installed this package some time ago,
and I am now unable to find it on the Epics server (except the documentation) ???
Maybe I have to reinstall it as I changed the name of
the APPLICATIONS directory (I saw a hard-wired directory path in CA.pm and
maybe I missed some).
Thanks
J.F. Gournay
CEA Saclay
IRFU/SIS