Reputation: 73
I am getting the below error while building openldap in OS 2.6.32-71.el6.x86_64.
perl_back.h:21:20: error: EXTERN.h: No such file or directory
perl_back.h:22:18: error: perl.h: No such file or directory
In file included from search.c:18:
perl_back.h:21:20: error: EXTERN.h: No such file or directory
perl_back.h:22:18: error: perl.h: No such file or directory
In file included from bind.c:18:
perl_back.h:21:20: error: EXTERN.h: No such file or directory
perl_back.h:22:18: error: perl.h: No such file or directory
In file included from init.c:18:
perl_back.h:21:20: error: EXTERN.h: No such file or directory
perl_back.h:22:18: error: perl.h: No such file or directory
In file included from close.c:18:
I have Perl installed on the system when checked with command # rpm -qa |grep -i perl
.
Upvotes: 1
Views: 1371
Reputation: 481
You should try this command:
yum -y install perl-devel perl-ExtUtils-Embed
Upvotes: 2