[csw-users] problem with perl

gerard ghenry at cmi.univ-mrs.fr
Mon Jun 7 12:43:25 CEST 2010


hello all,
when i execute a perl app, i have this problem:
sipserv1-root% /opt/csw/bin/perl -I./ ./SIPServer.pm ./SIPServer.xml
Can't locate Net/Server/PreFork.pm in @INC (@INC contains: ./ 
/usr/local/koha/lib /opt/csw/lib/perl/5.8.8 /opt/csw/share/perl/5.8.8 
/opt/csw/lib/perl/site_perl /opt/csw/share/perl/site_perl 
/opt/csw/share/perl/site_perl /opt/csw/lib/perl/csw 
/opt/csw/share/perl/csw /opt/csw/share/perl/csw .) at ./SIPServer.pm line 7.
BEGIN failed--compilation aborted at ./SIPServer.pm line 7.

Installing CSWpmprefork doesn't solve this problme, because this package 
doesn't contain PreFork.pm but instead  prefork.pm. Is it normal?

Then, trying to recompile the module, i got this error:
sipserv1-root% make install
Can't coerce array into hash at 
/opt/csw/share/perl/5.8.8/ExtUtils/Install.pm line 94.
*** Error code 255
The following command caused the error:
/opt/csw/bin/perl -MExtUtils::Install -e 'install([ from_to => {@ARGV}, 
verbose => '\''0'\'', uninstall_shadows => '\''0'\'', dir_mode => 
'\''755'\'' ]);' -- \
         read /opt/csw/lib/perl/site_perl/auto/Net/Server/.packlist \
         write /opt/csw/lib/perl/site_perl/auto/Net/Server/.packlist \
         blib/lib /opt/csw/share/perl/site_perl \
         blib/arch /opt/csw/lib/perl/site_perl \
         blib/bin /usr/bin \
         blib/script /usr/bin \
         blib/man1 /opt/csw/share/man/man1 \
         blib/man3 /opt/csw/share/man/man3
make: Fatal error: Command failed for target `pure_site_install'



Anybody can help?

thanks in advance for help,

gerard


More information about the users mailing list