SIPServer is written entirely in Perl, but it require these CPAN perl modules to run:
Cache::MemcachedInline::Python- for Invenio interaction. This interface relies onlibSIP_join2.pyandlibILS_join2.pyNet::Server- The SIP server is a Net::Server::Prefork serverUNIVERSAL::require- for loading the correct ILS interface module Clone - for running the test casesXML::LibXMLXML::LibXMLdepends on the C library libxml2XML::ParserXML::Simple- for parsing the config file
On RedHat 6.x upwards use
$ sudo yum install perl-Cache-Memcached \
perl-Inline-Python \
perl-Net-Server \
perl-UNIVERSAL-require \
perl-XML-LibXML \
perl-XML-Parser \
perl-XML-SimpleOn Debian
$ sudo apt-get install libcache-memcached-perl \
libinline-python-perl \
libnet-server-perl \
libuniversal-require-perl \
libxml-perl \
libxml-parser-perl \
libxml-simple-perl- If
Inline::Pythonis not available from the distribution compile at least v0.28 from CPAN. Make sure that it is compiled and linked against the current python binaries. Especiallyurandomis known to cause trouble due to security changes. Inline::Pythonuses caching. Make sure to remove the_Inlinedirectory on changes to the code.Inline::Pythonimports all functions to the global namespace of the application.sip_ilsmay server as an outline for a simple init script to ensure the service is (re)started after (re)boot. It follows RedHat chkconfig style.
SIPServer uses syslog() for status and debugging messages. All syslog messages are logged using the syslog facility 'local6'. If you need to change this, because something else on your system is already using that facililty, just change the definition of 'LOG_SIP' at the top of the file SIPServer.pm
Make sure to update your syslog configuration to capture facility 'local6' and record it.