[Koha] Koha Digest, Vol 81, Issue 9

Colin Campbell colin.campbell at ptfs-europe.com
Fri Jul 6 03:32:03 NZST 2012


On Wed, Jul 04, 2012 at 09:03:13PM +0530, pankaj delnet wrote:
> I installed this proses but there is some problem
> 
> 1).. (To redirect output in individual file add following to
> /etc/syslog.conf) there is no syslog.conf file ..
> 
> using this command --
> 
> perl C4/SIP/SIPServer.pm C4/SIP/SIPconfig.xml
> 
> then given Error ..
> 
> Can't locate Sip/Constants.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
> /usr/local/lib/site_perl .) at C4/SIP/SIPServer.pm line 14.
> 
> BEGIN failed--compilation aborted at C4/SIP/SIPServer.pm line 14.

The SIPServer requires to add its own module path to that in @INC.

If as appears you are running the above command from the directory 
containing C4 then

perl -M./C4/SIP C4/SIP/SIPServer.pm C4/SIP/SIPconfig.xml

Should do it. There is a patch in the queue for master which will remove
the need for this.

Cheers
Colin

-- 
Colin Campbell
Chief Software Engineer,
PTFS Europe Limited
Content Management and Library Solutions
+44 (0) 800 756 6803 (phone)
+44 (0) 7759 633626  (mobile)
colin.campbell at ptfs-europe.com
skype: colin_campbell2

http://www.ptfs-europe.com


More information about the Koha mailing list