Please try this and report back:<br>yum install mod_perl-devel<br><br>Let us know if it works and we'll add it to the wiki page.<br>-MC<br><br><div class="gmail_quote">On Thu, Apr 23, 2009 at 5:49 AM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com">mike@jerris.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">You are still missing some devel dependencies for embedding perl.<div><br></div>
<div>Unfortunately they are not listed on this page:</div><div><br></div><div><a href="http://wiki.freeswitch.org/wiki/Mod_perl" target="_blank">http://wiki.freeswitch.org/wiki/Mod_perl</a></div><div><br></div><div>If anyone knows them or you can find them, please add them. Search for the missing header files using your package system.</div>
<div><br></div><div>Mike</div><div><div></div><div class="h5"><div><br><div><div>On Apr 23, 2009, at 5:56 AM, technologyinspired wrote:</div><br><blockquote type="cite">Hi Raul,<br><br>Thanks for the reply. I have fixed that error but now have another error. I have installed perl-CPAN and its dependencies installed. I run this command:<br>
<br>perl -V | grep -oP "usemultiplicity=[a-z]+ and got the o/p as: usemultiplicity=define.<br> <br>Could you tell me how to fix this error?<br><br>...<br>...<br>making all mod_perl<br>Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl/5.10.0 /usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl .).<br>
BEGIN failed--compilation aborted.<br>Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl/5.10.0 /usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl .).<br>
BEGIN failed--compilation aborted.<br>Compiling freeswitch_perl.cpp...<br>g++ -w -DMULTIPLICITY -DEMBED_PERL -I/usr/src/freeswitch-1.0.4pre4/src/include -I/usr/src/freeswitch-1.0.4pre4/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DHAVE_CONFIG_H -c -o freeswitch_perl.o freeswitch_perl.cpp<br>
In file included from freeswitch_perl.cpp:2:<br>freeswitch_perl.h:13:20: error: EXTERN.h: No such file or directory<br>freeswitch_perl.h:14:18: error: perl.h: No such file or directory<br>In file included from freeswitch_perl.cpp:2:<br>
freeswitch_perl.h:24: error: ISO C++ forbids declaration of ‘PerlInterpreter’ with no type<br>freeswitch_perl.h:24: error: expected ‘;’ before ‘*’ token<br>freeswitch_perl.h:25: error: ISO C++ forbids declaration of ‘PerlInterpreter’ with no type<br>
freeswitch_perl.h:25: error: expected ‘;’ before ‘*’ token<br>freeswitch_perl.h:28: error: ISO C++ forbids declaration of ‘SV’ with no type<br>freeswitch_perl.h:28: error: expected ‘;’ before ‘*’ token<br>freeswitch_perl.h:41: error: ‘SV’ has not been declared<br>
freeswitch_perl.h:51: error: ‘PerlInterpreter’ has not been declared<br>In file included from freeswitch_perl.cpp:3:<br>mod_perl_extra.h:5: error: variable or field ‘mod_perl_conjure_event’ declared void<br>mod_perl_extra.h:5: error: ‘PerlInterpreter’ was not declared in this scope<br>
mod_perl_extra.h:5: error: ‘my_perl’ was not declared in this scope<br>mod_perl_extra.h:5: error: expected primary-expression before ‘*’ token<br>mod_perl_extra.h:5: error: ‘event’ was not declared in this scope<br>mod_perl_extra.h:5: error: expected primary-expression before ‘const’<br>
mod_perl_extra.h:6: error: variable or field ‘mod_perl_conjure_stream’ declared void<br>mod_perl_extra.h:6: error: ‘PerlInterpreter’ was not declared in this scope<br>mod_perl_extra.h:6: error: ‘my_perl’ was not declared in this scope<br>
mod_perl_extra.h:6: error: expected primary-expression before ‘*’ token<br>mod_perl_extra.h:6: error: ‘stream’ was not declared in this scope<br>mod_perl_extra.h:6: error: expected primary-expression before ‘const’<br>freeswitch_perl.cpp:5: error: ‘STRLEN’ does not name a type<br>
freeswitch_perl.cpp: In constructor ‘PERL::Session::Session()’:<br>freeswitch_perl.cpp:13: error: ‘my_perl’ was not declared in this scope<br>freeswitch_perl.cpp: In constructor ‘PERL::Session::Session(char*, CoreSession*)’:<br>
freeswitch_perl.cpp:18: error: ‘my_perl’ was not declared in this scope<br>freeswitch_perl.cpp: In constructor ‘PERL::Session::Session(switch_core_session_t*)’:<br>freeswitch_perl.cpp:34: error: ‘my_perl’ was not declared in this scope<br>
freeswitch_perl.cpp: At global scope:<br>freeswitch_perl.cpp:88: error: variable or field ‘setPERL’ declared void<br>freeswitch_perl.cpp:88: error: ‘PerlInterpreter’ was not declared in this scope<br>freeswitch_perl.cpp:88: error: ‘pi’ was not declared in this scope<br>
freeswitch_perl.cpp:94: error: variable or field ‘setME’ declared void<br>freeswitch_perl.cpp:94: error: ‘SV’ was not declared in this scope<br>freeswitch_perl.cpp:94: error: ‘p’ was not declared in this scope<br>make[5]: *** [freeswitch_perl.o] Error 1<br>
make[4]: *** [all] Error 1<br>make[3]: *** [mod_perl-all] Error 1<br>make[2]: *** [all-recursive] Error 1<br>Making all in build<br> +-------- FreeSWITCH Build Complete -----------+<br> + FreeSWITCH has been successfully built. +<br>
+ Install by running: +<br> + +<br> + make install +<br> +----------------------------------------------+<br>make[1]: *** [all-recursive] Error 1<br>
make: *** [all] Error 2<br><br><br><br><div class="gmail_quote"><div>Regards,<br>Vin<br> </div><div><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> Some modules require additional libraries to be present, such as<br> mod_opal in your case. You will need to install ptlib and opal first,<br> just follow the instructions in the wiki:<br> <a href="http://wiki.freeswitch.org/wiki/Mod_opal" target="_blank">http://wiki.freeswitch.org/wiki/Mod_opal</a><br>
If you don't require mod_opal, just disable it in modules.conf.<br> <br> Regards,<br> <br> Raul<br> </blockquote><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> On Thu, 2009-04-23 at 10:05 +0530, technologyinspired wrote:<br> > Hi, I am getting errors while installing FreeSwitch. I have enabled<br> > almost all the packages (except: mod_snom, mod_ldap, mod_zap and few<br>
> others). Do I need to install dependencies or will FreeSwitch<br> > automatically find from the internet? I have done the basic<br> > dependencies installed like gcc, curses, unixODBC etc.<br> ><br> > Here is the part of the "make" process which generated error:<br>
><br> > ...<br> > ...<br> > making all mod_native_file<br> > Compiling mod_native_file.c...<br> > mkdir .libs<br> > Compiling mod_native_file.c ...<br> > Creating mod_native_file.so...<br> ><br>
> making all mod_opal<br> > Compiling mod_opal.cpp...<br> > mkdir .libs<br> > Compiling mod_opal.cpp ...<br> > In file included from mod_opal.cpp:26:<br> > mod_opal.h:66: error: expected class-name before '{' token<br>
> mod_opal.h:67: error: 'Comparison' does not name a type<br> > mod_opal.h: In member function 'virtual PBoolean FSProcess::<br> > InternalIsDescendant(const char*) const':<br> > mod_opal.h:67: error: 'PLibraryProcess' has not been declared<br>
> mod_opal.h: In member function 'virtual const char*<br> > FSProcess::GetClass(unsigned int) const':<br> > mod_opal.h:67: error: 'PLibraryProcess' has not been declared<br> > mod_opal.cpp: In constructor 'FSProcess::FSProcess()':<br>
> mod_opal.cpp:289: error: class 'FSProcess' does not have any field<br> > named 'PLibraryProcess'<br> > mod_opal.cpp:289: error: 'AlphaCode' was not declared in this scope<br> > mod_opal.cpp: In member function 'virtual void<br>
> FSConnection::OnReleased()':<br> > mod_opal.cpp:667: error: invalid initialization of reference of type<br> > 'const H323Connection&' from expression of type<br> > 'OpalConnection::CallEndReason'<br>
> /usr/include/opal/h323/h323pdu.h:479: error: in passing argument 1 of<br> > 'Q931::CauseValues H323TranslateFromCallEndReason(const<br> > H323Connection&, H225_ReleaseCompleteReason&)'<br> > mod_opal.cpp: In member function 'switch_status_t<br>
> FSMediaStream::read_frame(switch_frame_t**, switch_io_flag_t)':<br> > mod_opal.cpp:1265: error: 'class OpalMediaPatch' has no member named<br> > 'OnPatchStart'<br> > mod_opal.cpp: In member function 'switch_status_t<br>
> FSMediaStream::write_frame(const switch_frame_t*, switch_io_flag_t)':<br> > mod_opal.cpp:1370: error: 'class OpalMediaPatch' has no member named<br> > 'OnPatchStart'<br> > make[5]: *** [mod_opal.lo] Error 1<br>
> make[4]: *** [all] Error 1<br> > make[3]: *** [mod_opal-all] Error 1<br> > make[2]: *** [all-recursive] Error 1<br> > Making all in build<br> > +-------- FreeSWITCH Build Complete -----------+<br> > + FreeSWITCH has been successfully built. +<br>
> + Install by running: +<br> > + +<br> > + make install +<br> > +----------------------------------------------+<br>
> make[1]: *** [all-recursive] Error 1<br> > make: *** [all] Error 2<br> ><br> ><br> ><br> > Regards,<br> > Vin<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> _______________________________________________<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></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>