Thank you. The problem was resolved by explicitly including the perl-ExtUtils-Embed package thanks again, spyros On Wed, Feb 29, 2012 at 8:35 PM, Patrick Lists < freeswitch-list@puzzled.xs4all.nl> wrote:
On 29-02-12 15:57, spyros papadopoulos wrote:
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
Did you see these ^^^^ 2 messages? They tell you that you are missing a required RPM. Hint: try the following command if you still have no idea:
yum provides "*/EXTERN.h"
Regards, Patrick
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org