[Freeswitch-users] mod perl prob - ExtUtils/Embed.pm
Patrick Lists
freeswitch-list at puzzled.xs4all.nl
Wed Feb 29 21:35:49 MSK 2012
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
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list