I am using freepbx version 14 , asterisk is version 14 and I am using this command
rpmbuild -ba asterisk14.spec
it shows this error
checking for xml2-config… /bin/xml2-config
configure: *** The Asterisk menuselect tool requires the ‘libxml2’ development package.
configure: *** Please install the ‘libxml2’ development package.
error: Bad exit status from /var/tmp/rpm-tmp.pJuKlB (%build)
and I already gave libxml-devel installed
[root@localhost SPECS]# yum install libxml2*
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
Package libxml2-2.9.1-6.el7_2.3.x86_64 already installed and latest version
Package libxml2-devel-2.9.1-6.el7_2.3.x86_64 already installed and latest version
Package libxml2-python-2.9.1-6.el7_2.3.x86_64 already installed and latest version
Package libxml2-static-2.9.1-6.el7_2.3.x86_64 already installed and latest version
any idea why I get this error?