I'm trying to install xapian from source on MACOS 10.12.6. I am able to build the source but unable to install it ,
the error is :
/bin/sh ../libtool --mode=install /usr/bin/install -c xapian.la
'/usr/lib/php/extensions/no-debug-non-zts-20131226'
libtool: install: /usr/bin/install -c .libs/xapian.so
/usr/lib/php/extensions/no-debug-non-zts-20131226/xapian.so
install: /usr/lib/php/extensions/no-debug-non-zts-20131226/xapian.so:
Operation not permitted
make[5]: *** [install-phpextLTLIBRARIES] Error 71
make[4]: *** [install-am] Error 2
I followed these steps in the xapian directory :
./bootstrap
./configure --without-perl --without-tcl --prefix='/usr/local'
make
sudo make install
Would be great if anyone could suggest how to resolve this error .