[sword-devel] Operation not permitted error while installing on Mac OS X

Greg Hellings greg.hellings at gmail.com
Mon Jan 20 12:03:17 MST 2020


On Mon, Jan 20, 2020 at 12:52 PM Troy A. Griffitts <scribe at crosswire.org>
wrote:

> Hi Maxwell,
>
> Have a look in the folder: sword/bindings/objc/ and see the README
>

If you're not looking for ObjC, you could also use the homebrew project to
install libsword. That will install it to the root of your homebrew folder
instead of the global /usr/ install directories.

--Greg

> I realize you might not care about Objective C, but there is an XCode
> project in there which will bulid a universal libsword which you can likely
> use for whatever your needs.  It might be easier than trying to get the
> autotools or cmake system working on MacOS.
>
> Regarding the error you show below, it looks like you are doing everything
> correctly, MacOS just isn't happy letting you install to /usr/lib/ even
> though you have used 'sudo'.  I don't pretend to know how permissions work
> on MacOS, but I also would have though sudo should have given you
> permission to install where ever you wanted.
>
> Please let us know if you are still stuck and maybe more specifically what
> you hope to do with a built libsword and we might have more suggestions.
>
> Blessings,
>
> Troy
>
>
> On 1/9/20 4:50 PM, Maxwell Murunga wrote:
>
> Hi, after successfully compiling SWORD, I got a problem while trying to
> install SWORD:
> Steps to reproduce:
>
> sudo make install && sudo make install_config
>
> Password:
> What happened:
>
> Making install in lib
>
>  .././install-sh -c -d '/usr/lib'
>
>  /bin/sh ../libtool   --mode=install /usr/bin/install -c   libsword.la
> '/usr/lib'
>
> libtool: install: /usr/bin/install -c .libs/libsword-1.8.1.dylib
> /usr/lib/libsword-1.8.1.dylib
>
> install: /usr/lib/libsword-1.8.1.dylib: Operation not permitted
>
> make[2]: *** [install-libLTLIBRARIES] Error 71
>
> make[1]: *** [install-am] Error 2
>
> make: *** [install-recursive] Error 1
>
>
> Environment
>
>    - macOS Mojave 10.14.6.
>    -
>
> Thanks for helping out, God bless!!
>
>
> ~~Maxwell
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.orghttp://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20200120/b99b34d3/attachment.html>


More information about the sword-devel mailing list