[Freeswitch-users] mod perl prob - ExtUtils/Embed.pm

spyros papadopoulos spapas82 at gmail.com
Wed Feb 29 17:57:41 MSK 2012


Hi,

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:

Any help would be greatly appreciated.

cheers,
spyros


perl-ExtUtils-CBuilder.x86_64

$ sudo make mod_perl

making all mod_perl
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 .).
BEGIN failed--compilation aborted.
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 .).
BEGIN failed--compilation aborted.
Compiling freeswitch_perl.cpp...
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
In file included from freeswitch_perl.cpp:2:
freeswitch_perl.h:13:20: error: EXTERN.h: No such file or directory
freeswitch_perl.h:14:18: error: perl.h: No such file or directory
In file included from freeswitch_perl.cpp:2:
freeswitch_perl.h:22: error: ISO C++ forbids declaration of
âPerlInterpreterâ with no type
freeswitch_perl.h:22: error: expected â;â before â*â token
freeswitch_perl.h:23: error: ISO C++ forbids declaration of
âPerlInterpreterâ with no type
freeswitch_perl.h:23: error: expected â;â before â*â token
freeswitch_perl.h:26: error: ISO C++ forbids declaration of âSVâ with no
type
freeswitch_perl.h:26: error: expected â;â before â*â token
freeswitch_perl.h:39: error: âSVâ has not been declared
freeswitch_perl.h:49: error: âPerlInterpreterâ has not been declared
In file included from freeswitch_perl.cpp:3:
mod_perl_extra.h:3: error: variable or field âmod_perl_conjure_eventâ
declared void
mod_perl_extra.h:3: error: âPerlInterpreterâ was not declared in this scope
mod_perl_extra.h:3: error: âmy_perlâ was not declared in this scope
mod_perl_extra.h:3: error: expected primary-expression before â*â token
mod_perl_extra.h:3: error: âeventâ was not declared in this scope
mod_perl_extra.h:3: error: expected primary-expression before âconstâ
mod_perl_extra.h:4: error: variable or field âmod_perl_conjure_streamâ
declared void
mod_perl_extra.h:4: error: âPerlInterpreterâ was not declared in this scope
mod_perl_extra.h:4: error: âmy_perlâ was not declared in this scope
mod_perl_extra.h:4: error: expected primary-expression before â*â token
mod_perl_extra.h:4: error: âstreamâ was not declared in this scope
mod_perl_extra.h:4: error: expected primary-expression before âconstâ
freeswitch_perl.cpp:5: error: âSTRLENâ does not name a type
freeswitch_perl.cpp: In constructor âPERL::Session::Session()â:
freeswitch_perl.cpp:13: error: âmy_perlâ was not declared in this scope
freeswitch_perl.cpp: In constructor âPERL::Session::Session(char*,
CoreSession*)â:
freeswitch_perl.cpp:18: error: âmy_perlâ was not declared in this scope
freeswitch_perl.cpp: In constructor
âPERL::Session::Session(switch_core_session_t*)â:
freeswitch_perl.cpp:34: error: âmy_perlâ was not declared in this scope
freeswitch_perl.cpp: At global scope:
freeswitch_perl.cpp:88: error: variable or field âsetPERLâ declared void
freeswitch_perl.cpp:88: error: âPerlInterpreterâ was not declared in this
scope
freeswitch_perl.cpp:88: error: âpiâ was not declared in this scope
freeswitch_perl.cpp:94: error: variable or field âsetMEâ declared void
freeswitch_perl.cpp:94: error: âSVâ was not declared in this scope
freeswitch_perl.cpp:94: error: âpâ was not declared in this scope
make[4]: *** [freeswitch_perl.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [mod_perl-all] Error 1
make[1]: *** [mod_perl] Error 2
make: *** [mod_perl] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120229/3d392388/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list