<div>Hi,</div><div> </div><div>I am runnign CentOS 6.2 and am attempting to compile mod_perl. However i am faced with this issue presented below. I have incoorporated the perl-libs & perl-ExtUtils packages including the following to list a few, but still no luck:</div>
<div> </div><div>Any help would be greatly appreciated.</div><div> </div><div>cheers,</div><div>spyros<br></div><div> </div><div> </div><div>perl-ExtUtils-CBuilder.x86_64</div><div> </div><div>$ sudo make mod_perl</div><p>
making all mod_perl<br>Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).<br>
BEGIN failed--compilation aborted.<br>Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).<br>
BEGIN failed--compilation aborted.<br>Compiling freeswitch_perl.cpp...<br>g++ -w -DMULTIPLICITY -DEMBED_PERL -I/home/ec2-user/src/freeswitch/libs/curl/include -I/home/ec2-user/src/freeswitch/src/include -I/home/ec2-user/src/freeswitch/src/include -I/home/ec2-user/src/freeswitch/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:22: error: ISO C++ forbids declaration of âPerlInterpreterâ with no type<br>freeswitch_perl.h:22: error: expected â;â before â*â token<br>freeswitch_perl.h:23: error: ISO C++ forbids declaration of âPerlInterpreterâ with no type<br>
freeswitch_perl.h:23: error: expected â;â before â*â token<br>freeswitch_perl.h:26: error: ISO C++ forbids declaration of âSVâ with no type<br>freeswitch_perl.h:26: error: expected â;â before â*â token<br>freeswitch_perl.h:39: error: âSVâ has not been declared<br>
freeswitch_perl.h:49: error: âPerlInterpreterâ has not been declared<br>In file included from freeswitch_perl.cpp:3:<br>mod_perl_extra.h:3: error: variable or field âmod_perl_conjure_eventâ declared void<br>mod_perl_extra.h:3: error: âPerlInterpreterâ was not declared in this scope<br>
mod_perl_extra.h:3: error: âmy_perlâ was not declared in this scope<br>mod_perl_extra.h:3: error: expected primary-expression before â*â token<br>mod_perl_extra.h:3: error: âeventâ was not declared in this scope<br>mod_perl_extra.h:3: error: expected primary-expression before âconstâ<br>
mod_perl_extra.h:4: error: variable or field âmod_perl_conjure_streamâ declared void<br>mod_perl_extra.h:4: error: âPerlInterpreterâ was not declared in this scope<br>mod_perl_extra.h:4: error: âmy_perlâ was not declared in this scope<br>
mod_perl_extra.h:4: error: expected primary-expression before â*â token<br>mod_perl_extra.h:4: error: âstreamâ was not declared in this scope<br>mod_perl_extra.h:4: 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[4]: *** [freeswitch_perl.o] Error 1<br>
make[3]: *** [all] Error 1<br>make[2]: *** [mod_perl-all] Error 1<br>make[1]: *** [mod_perl] Error 2<br>make: *** [mod_perl] Error 2<br></p>