---------- Forwarded message ---------- From: Marcio mrgalhan@gmail.com Date: 23/04/2008 21:06 Subject: Re: [OpenSER-Users] Install Perl Module To: Mik Cheez michael_bulk@wildgate.com
Thanks Mik....
Actually....I had not tried....was following the step-by-step module Perl....
But you don't set environment vars? PERLLDOPTS:, PERLCCOPTS: and TYPEMAP:....
Marcio
2008/4/23, Mik Cheez michael_bulk@wildgate.com:
All I've ever had to do is add the following in 'Makefile':
include_modules?= perl
I also take out the 'perl' entry from 'exclude_modules?= ...'
Will that work, or is that part of what you've been doing?
Mik
Marcio wrote:
Hi... Anybody could me help, to install perl module as is explained in 1.2 item of the variables enviroments would have put the output this cmds....into " Makefile.deps -> CROSS_COMPILE ?=" <output cmd "perl -MExtUtils::Embed -e ldopts">, <"perl -MExtUtils::Embed -e ccopts"> and <"echo "`perl -MConfig -e 'print $Config{installprivlib}'`/ExtUtils/typemap"> ??? or just put the output of these cmds into environments variables : PERLLDOPTS:, PERLCCOPTS: and TYPEMAP: and run the Makefile.....??? Does anyone know how...? Any hints.....?? thx...
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
You shouldn't have to worry about setting the environment variables unless you're going to distribute the binary. As long as you have perl installed, you should be fine with just making the change in your Makefile.
Marcio wrote:
---------- Forwarded message ---------- From: *Marcio* <mrgalhan@gmail.com mailto:mrgalhan@gmail.com> Date: 23/04/2008 21:06 Subject: Re: [OpenSER-Users] Install Perl Module To: Mik Cheez <michael_bulk@wildgate.com mailto:michael_bulk@wildgate.com>
Thanks Mik....
Actually....I had not tried....was following the step-by-step module Perl....
But you don't set environment vars? PERLLDOPTS:, PERLCCOPTS: and TYPEMAP:....
Marcio
2008/4/23, Mik Cheez <michael_bulk@wildgate.com mailto:michael_bulk@wildgate.com>:
All I've ever had to do is add the following in 'Makefile': include_modules?= perl I also take out the 'perl' entry from 'exclude_modules?= ...' Will that work, or is that part of what you've been doing? Mik Marcio wrote: Hi... Anybody could me help, to install perl module as is explained in 1.2 item of the variables enviroments would have put the output this cmds....into " Makefile.deps -> CROSS_COMPILE ?=" <output cmd "perl -MExtUtils::Embed -e ldopts">, <"perl -MExtUtils::Embed -e ccopts"> and <"echo "`perl -MConfig -e 'print $Config{installprivlib}'`/ExtUtils/typemap"> ??? or just put the output of these cmds into environments variables : PERLLDOPTS:, PERLCCOPTS: and TYPEMAP: and run the Makefile.....??? Does anyone know how...? Any hints.....?? thx... ------------------------------------------------------------------------ _______________________________________________ Users mailing list Users@lists.openser.org <mailto:Users@lists.openser.org> http://lists.openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Well, I think has that something wrong here....because...when I initialized the Openser, after updates into Makefile (include_modules?= perl and take out 'perl' entry of the exclude_modules?= ).....compiled ( make all ) and installed ( make install )....no probs...but checked the following errors :
INFO: perl:mod_init: initializing... ERROR: perl:mod_init: insufficient module parameters. Module not loaded. ERROR: core: init_mod: failed to initialize module perl ERROR: core:main: error while initializing modules
I have no idea of what....
Did you already saw this happen?
thx,
Marcio
2008/4/24, Mik Cheez michael_bulk@wildgate.com:
You shouldn't have to worry about setting the environment variables unless you're going to distribute the binary. As long as you have perl installed, you should be fine with just making the change in your Makefile.
Marcio wrote:
---------- Forwarded message ---------- From: *Marcio* <mrgalhan@gmail.com mailto:mrgalhan@gmail.com> Date: 23/04/2008 21:06 Subject: Re: [OpenSER-Users] Install Perl Module To: Mik Cheez <michael_bulk@wildgate.com mailto: michael_bulk@wildgate.com>
Thanks Mik.... Actually....I had not tried....was following the step-by-step module Perl.... But you don't set environment vars? PERLLDOPTS:, PERLCCOPTS: and TYPEMAP:.... Marcio 2008/4/23, Mik Cheez <michael_bulk@wildgate.com mailto: michael_bulk@wildgate.com>:
All I've ever had to do is add the following in 'Makefile':
include_modules?= perl
I also take out the 'perl' entry from 'exclude_modules?= ...'
Will that work, or is that part of what you've been doing?
Mik
Marcio wrote:
Hi... Anybody could me help, to install perl module as is explained in 1.2 item of the variables enviroments would have put the output this cmds....into " Makefile.deps -> CROSS_COMPILE ?="
<output cmd "perl -MExtUtils::Embed -e ldopts">, <"perl -MExtUtils::Embed -e ccopts"> and <"echo "`perl -MConfig -e 'print $Config{installprivlib}'`/ExtUtils/typemap"> ??? or just put the output of these cmds into environments variables : PERLLDOPTS:, PERLCCOPTS: and TYPEMAP: and run the Makefile.....??? Does anyone know how...? Any hints.....?? thx...
_______________________________________________ Users mailing list Users@lists.openser.org <mailto:Users@lists.openser.org> http://lists.openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Hi,
On Thursday 24 April 2008, Marcio wrote:
Well, I think has that something wrong here....because...when I initialized the Openser, after updates into Makefile (include_modules?= perl and take out 'perl' entry of the exclude_modules?= ).....compiled ( make all ) and installed ( make install )....no probs...but checked the following errors :
INFO: perl:mod_init: initializing... ERROR: perl:mod_init: insufficient module parameters. Module not
loaded.
The error messages tell you what to do: supply all required module parameters. These are described in the README:
============================================================== 1.5. Exported Parameters
1.5.1. filename (string)
This is the file name of your script. This may be set once only, but it may include an arbitary number of functions and "use" as many Perl module as necessary.
May not be empty! ==============================================================
I.e., in your config file, enter a line like this: modparam("perl", "filename", "/path/to/your/perl/script")
Good luck, Bastian