<div>Paul and Steve thanks many for your great assistance</div>
<div>have couple of puzzles;</div>
<div> </div>
<div>1--</div>
<div>What are these packages for? </div>
<div>
<div>freeswitch-lua  and freeswitch-perl (if I am installing  mod_perl and mod_lua from source)</div></div>
<div>I installed them anyway.</div>
<div> </div>
<div>2--</div>
<div>I downloaded freeswitch 1.0.6 source with wget</div>
<div>(&#39;apt-get source freeswitch&#39;  couldn&#39;t find the source)</div>
<div>uncommented lua/perl from modules.conf  and run configure, then</div>
<div>make mod_lua-install<br>make mod_perl-install</div>
<div> </div>
<div>mod_lua installed  without problem</div>
<div>but </div>
<div>make mod_perl-install  had  some errors as below</div>
<div> </div>
<div>Creating mod_perl.so...<br>/usr/bin/ld: cannot find -lperl<br>collect2: ld returned 1 exit status<br>gcc -w -DMULTIPLICITY -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -DEMBED_PERL -I/usr/src/freeswitch-1.0.6/src/include -I/usr/src/freeswitch-1.0.6/src/include -I/usr/src/freeswitch-1.0.6/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -g -O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement -D_GNU_SOURCE -shared -o .libs/mod_perl.so -shared -Wl,-x .libs/mod_perl.o -Wl,-E -fstack-protector freeswitch_perl.o mod_perl_wrap.o perlxsi.o  /usr/src/freeswitch-1.0.6/.libs/libfreeswitch.so -L/usr/src/freeswitch-1.0.6/libs/apr-util/xml/expat/lib /usr/src/freeswitch-1.0.6/libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/src/freeswitch-1.0.6/libs/apr/.libs/libapr-1.a -lrt -L/usr/src/freeswitch-1.0.6/libs/srtp -lncurses -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -lperl -lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt   -Wl,--rpath -Wl,/opt/freeswitch/lib -Wl,--rpath -Wl,/opt/freeswitch/mod<br>
make[3]: *** [mod_perl.so] Error 1<br>make[2]: *** [install] Error 1<br>make[1]: *** [mod_perl-install] Error 1<br>make: *** [mod_perl-install] Error 2<br></div>
<div>what am I missing here? (I have perl installed and freeswitch-perl instaled)</div>
<div> </div>
<div>3-- how do I check if any module is installed or not? same for the load, i.e, any command to check wheether or not it is loaded</div>
<div>if not loaded,  how you load a module (after editing modules.conf.xml what we do? stop/start freeswitch?)</div>
<div> </div>
<div>thx</div>
<div>deniro--</div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Wed, Feb 2, 2011 at 11:46 AM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div>Check first whether there are freeswitch-lua or freeswitch-perl packages.</div>
<div><br></div>
<div>The official debian/ubuntu build system does build both mod_lua and mod_perl, but it places them in separate packages from the rest of FreeSWITCH.</div>
<div><br></div>
<div>If you don&#39;t you&#39;ll need to compile them yourself...</div>
<div><br></div>
<div>You will need the FreeSWITCH source to compile the modules, since they are in that source. Some of FreeSWITCH (the core) must also be compiled since the modules use functions that are in the core - however you can restrict the modules that are compiled to just the ones you need using modules.conf.</div>

<div><br></div>
<div>When you checkout/extract the FreeSWITCH source, the first thing you must do is run bootstrap.sh. It is this file that generates the modules.conf file, if you haven&#39;t created it yourself.</div>
<div><br></div>
<div>Unless you plan to upgrade (and you should think about doing so - 1.0.6 is old now and git head has hundreds  of bugfixes and new features) you should make sure the one you build the modules on is the exact same version the Ubuntu version was created from, otherwise you&#39;ll find that the interface between the core and the modules may have changed and you&#39;ll either get a unloadable or unstable module. If you installed via APT then you should be able to use &#39;apt-get source freeswitch&#39; to get the source package that&#39;ll give you the version they used.<br>
</div>
<div><br></div>
<div>-Steve</div>
<div>
<div></div>
<div class="h5">
<div><br><br>
<div class="gmail_quote">On 2 February 2011 16:26, deniro <span dir="ltr">&lt;<a href="mailto:ayhkor@gmail.com" target="_blank">ayhkor@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>thanks for your advice and  I appreciate you taking time to reply.</div>
<div>You also note that I first check freeswitch site and I put my questions if I cant find a solutions myself.</div>
<div>I already checked for options with modules.conf and modules.conf.xml even before posting.</div>
<div> </div>
<div>If you look at my first posting, I stated that I have a compiled freeswitch and I dont even see modules.conf file (I searched).</div>
<div>so to reiterate, The freeswitch comes installed and compiled already with a product, so I dont even have the freeswitch source.</div>
<div> </div>
<div>All I am loooking for is, if there is any way, to install new modules without re-installig from source and recompile from the scratch with existing freeswitch install.</div>
<div>I highly doubt that this is possible but I am checking out with the gurus here. </div>
<div>I dont wanna break already running freeswitch with custom dialplans and  other custom configurations.</div>
<div> </div>
<div>thx again</div>
<div>deniro--</div>
<div>
<div></div>
<div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Wed, Feb 2, 2011 at 10:32 AM, Giovanni Maruzzelli <span dir="ltr">&lt;<a href="mailto:gmaruzz@gmail.com" target="_blank">gmaruzz@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>On Wed, Feb 2, 2011 at 4:22 PM, deniro &lt;<a href="mailto:ayhkor@gmail.com" target="_blank">ayhkor@gmail.com</a>&gt; wrote:<br>&gt; I think that is to enable loading the module(not the install)<br>&gt; thx<br><br></div>
So, you write to the mailing list for advice, and you don&#39;t put<br>confidence in answers you got back? ;)<br>
<div>
<div></div>
<div><br>&gt;<br>&gt;<br>&gt; On Wed, Feb 2, 2011 at 3:14 AM, Giovanni Maruzzelli &lt;<a href="mailto:gmaruzz@gmail.com" target="_blank">gmaruzz@gmail.com</a>&gt;<br>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; On Wed, Feb 2, 2011 at 5:25 AM, deniro &lt;<a href="mailto:ayhkor@gmail.com" target="_blank">ayhkor@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi<br>&gt;&gt; &gt; I have compiled version of freeswitch 1.6.x on ubuntu 10.04<br>&gt;&gt; &gt; I want to install extra freeswitch modules like mod_perl and mod_lua<br>&gt;&gt; &gt; Is there any way to install these modules without re-compileling<br>
&gt;&gt; &gt; freeswitch.<br>&gt;&gt; &gt; I looked at freeswitch site and it is talking about  editing<br>&gt;&gt; &gt; modules.conf<br>&gt;&gt; &gt; file and compiling from source<br>&gt;&gt; &gt; and I dont even have modules.conf file as I searched.<br>
&gt;&gt;<br>&gt;&gt; Go to your original sources directory (where you gave the command<br>&gt;&gt; &quot;make install&quot;), edit the file modules.conf.xml and give the command<br>&gt;&gt; &quot;make install&quot;.<br>&gt;&gt;<br>
&gt;&gt; -giovanni<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; thx<br>&gt;&gt; &gt; deniro--<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; _______________________________________________<br>&gt;&gt; &gt; FreeSWITCH-users mailing list<br>
&gt;&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt;&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt;&gt; &gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; Sincerely,<br>&gt;&gt;<br>&gt;&gt; Giovanni Maruzzelli<br>&gt;&gt; Cell : +39-347-2665618<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt;&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; FreeSWITCH-users mailing list<br>&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>&gt;<br>&gt;<br><br><br><br>--<br>Sincerely,<br><br>Giovanni Maruzzelli<br>Cell : +39-347-2665618<br><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div></div><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><br></blockquote></div><br></div></div></div></div><br>_______________________________________________<br>FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>