[SR-Users] Can't load perl module

2012-05-01 Thread Ladislav Jurák
Hello, I have problem with loading perl module on Kamailio v3.2 installed from repository on Debian sqeeze amd64. Perl modules was also installed from repository package kamailio-perl-modules. I have also installed all perl dependences listed in perl module documentary. Into Kamailio config file

Re: [SR-Users] Can't load perl module

2012-05-01 Thread Daniel-Constantin Mierla
Hello, On 5/2/12 12:07 AM, Ladislav Jurák wrote: Hello, I have problem with loading perl module on Kamailio v3.2 installed from repository on Debian sqeeze amd64. Perl modules was also installed from repository package kamailio-perl-modules. I have also installed all perl dependences listed

Re: [SR-Users] Can't load perl module

2012-05-01 Thread Ladislav Jurák
I tried with this script: sub donothing{ $a = 1000; return 1; } ... still the same error Thank you for fast reply. LJ. On 2 May 2012 00:22, Daniel-Constantin Mierla wrote: > Hello, > > > On 5/2/12 12:07 AM, Ladislav Jurák wrote: > > Hello, > > I have problem with loading perl module on Ka

Re: [SR-Users] Can't load perl module

2012-05-01 Thread Daniel-Constantin Mierla
Hello, On 5/2/12 12:50 AM, Ladislav Jurák wrote: I tried with this script: sub donothing{ $a = 1000; return 1; } ... still the same error not a perl/python user myself (using instead app_lua when needed), so I cannot test for the moment. But I know other peoples are using perl or python a

Re: [SR-Users] Can't load perl module

2012-05-02 Thread Ladislav Jurák
I finally find out where the problem was. the modpath parameter in config file was missing: modparam("perl", "modpath", "/usr/lib/kamailio/perl") I thought that when I installed module from repository i won't be necessary to set up path to perl modules because i will be in default directory :/ …

Re: [SR-Users] Can't load perl module

2012-05-02 Thread Daniel-Constantin Mierla
Hello, On 5/2/12 12:40 PM, Ladislav Jurák wrote: I finally find out where the problem was. the modpath parameter in config file was missing: modparam("perl", "modpath", "/usr/lib/kamailio/perl") I thought that when I installed module from repository i won't be necessary to set up path to pe

Re: [SR-Users] Can't load perl module

2012-05-03 Thread Ladislav Jurák
I don't know, python hasn't got a module parameter for setting path to it's library, at least it is not in module documentation. Python module is quite poor documented at all. So I don's know sorry. Regards. LJ On 2 May 2012 15:33, Daniel-Constantin Mierla wrote: > Hello, > > > On 5/2/12 12: