[Mono-osx] mono no longer able to install /usr/bin/mono
scotty1024
scotty1024 at me.com
Sat Jun 20 22:22:04 UTC 2015
I don't know how far back this goes but apparently at least Yosemite and El
Capitan.
I installed a mono app written by M3D for controlling their Micro 3D
printer. It has a native code launcher for the main .app for Finder to
launch. It then attempts to bring up /usr/bin/mono. But that's where things
didn't work: there is no /usr/bin/mono after install mono.
I then attempted to manually create a symlink and copy the mono
Framework/bin/mono to /usr/bin.
$ pwd
/usr/bin
$ sudo ln -s /Library/Frameworks/Mono.framework/Versions/Current/bin/mono
mono
ln: mono: Operation not permitted
$ sudo cp -p /Library/Frameworks/Mono.framework/Versions/Current/bin/mono .
cp: ./mono: Operation not permitted
All the other mono binaries are missing from /usr/bin as well.
Apparently Apple is protecting /usr/bin?
I submit this as evidence:
lrwxr-xr-x 1 root wheel 76 Jun 8 20:33 pythonw2.7 ->
../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/pythonw2.7
lrwxr-xr-x 1 root wheel 76 Jun 8 20:33 pythonw2.6 ->
../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/pythonw2.6
lrwxr-xr-x 1 root wheel 82 Jun 8 20:33 python2.7-config ->
../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config
lrwxr-xr-x 1 root wheel 75 Jun 8 20:33 python2.7 ->
../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
lrwxr-xr-x 1 root wheel 82 Jun 8 20:33 python2.6-config ->
../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6-config
lrwxr-xr-x 1 root wheel 75 Jun 8 20:33 python2.6 ->
../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
lrwxr-xr-x 1 root wheel 74 Jun 8 20:33 pydoc2.7 ->
../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/pydoc2.7
lrwxr-xr-x 1 root wheel 74 Jun 8 20:33 pydoc2.6 ->
../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/pydoc2.6
lrwxr-xr-x 1 root wheel 80 Jun 8 20:33 policytool ->
/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/policytool
The Apple supplied Python commands in /usr/bin all point to /System/Library
not /Library.
Our of the box the current instructions for testing mono after installation
don't work as mcs isn't in /usr/bin.
--
View this message in context: http://mono.1490590.n4.nabble.com/mono-no-longer-able-to-install-usr-bin-mono-tp4666234.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx
mailing list