The key error message is:
install: /usr/local/include/geos/algorithm/locate/IndexedPointInAreaLocator.h: Permission denied
By default, on OS X (and most other Unix-y systems), you need administrator privileges to create files in /usr/local
and its subsdirectories. Try running the make install with sudo
:
sudo make install