[SR-Users] "EXTERN.h: No such file or directory" error when compiling Kamailio 5.5 on Centos 7

AL RSM alirsm at zoho.com
Fri Oct 22 20:19:48 CEST 2021


Hi,



While trying to install Kamailio 5.5 on Centos 7 I am getting the following error. Perl is already installed. I verified "EXTERN.h" does not exist on the VM.



# make include_modules="tm app_perl" cfg

# make prefix=/ all


....

....


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.

CC (gcc) [M app_perl.so]                perlfunc.o

In file included from perlfunc.c:40:0:

app_perl_mod.h:37:20: fatal error: EXTERN.h: No such file or directory

#include <EXTERN.h>

                    ^

compilation terminated.

make[2]: *** [perlfunc.o] Error 1

make[1]: *** [modules] Error 1

make[1]: Leaving directory `/usr/src/kamailio/src'





Your help would be much appreciated.



Thanks,

AL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211022/7064b0b7/attachment.htm>


More information about the sr-users mailing list