Install httpd module: Operation Not Permitted

(Robert Oschwald) #1

While composing a httpd module Formula, make install fails as I receive a “Operation Not Permitted” error while trying to install the module:

install: /usr/local/lib/httpd/modules/ Operation not permitted

If performing “make install” from the tmp build dir, make install works.

Do I need to specify anything special in the Formula to be able to install?

(Mike McQuaid) #2

You cannot install modules into the Cellar of other formulae or /usr/local/lib directly (the latter can be done in post_install).

(Robert Oschwald) #3

Ok, so I install in my own lib dir then?

(Mike McQuaid) #4

Yep, that’s the right place.