![]() All the files resided in /Volumes/osxapps/Library/Frameworks/amework/.įurthermore, a lot of what was in /Volumes/osxapps/Library/Frameworks/amework/ including Commands were not folders but symbolic links that didn't work because they expected the folders to be in root. It added /Library/Frameworks/amework/Versions/Current/Commands to $PATH but everything in /Library/Frameworks/amework/ was just empty directories. I installed it to /Volumes/osxapps/ instead of root, but the installation still expected everything to be in root. ![]() ( Commands is a symbolic link to bin, but it still may not work) More in-depth: I recently installed mono from MonoFramework-MDK-4.8.0.pkg. It will automatically add /Library/Frameworks/amework/Versions/Current/Commands to $PATH, but I don't know if you will need to add /Library/Frameworks/amework/Versions/Current/bin/ by hand or if everything just works. Quick Summary: Atm, the mono framework installer only works correctly if you install it to root. The GM release has already disabled the NVRAM workaround, so this answer should get you what you need moving forward. Note: Previous answers around the Internet about this problem give you instructions for modifying NVRAM settings, but Apple stated that the NVRAM method would stop working with El Capitan's public release. Those typically need to install files into /usr/include and /usr/lib, which are also now restricted. I ran into a problem with the same root cause while trying to get pear/pecl modules and macports/homebrew apps installed. When you're done, it is highly recommended that you re-enable SIP by following the same steps, but using csrutil enable in step 3. Use this command: csrutil disable Reboot and run the command that worked prior to El Capitan. Reboot into recovery mode (reboot and hold down Cmd-R). If you run the command ls -lO /System/Library/LaunchDaemons you'll see that the directories and files under there are now marked as 'restricted.' You can disable rootless mode like this. ![]() El Capitan now protects certain system directories in 'rootless' mode (a.k.a. TLS: normal SIGSEGV: altstack Notification: kqueue Architecture: x86 Disabled: none Misc: softdebug LLVM: yes(3.6.0svn-mono-master/8b1520c) GC: sgen. Since I use I defined MONOHOME in /.zshrc and adjusted PATH accordingly: export MONOHOME=/Library/Frameworks/amework/Home export PATH=$MONOHOME/bin:$PATH With that mono is available: $ mono -version Mono JIT compiler version 4.6.2 (mono-4.6.0-branch/08fd525 Thu Nov 10 20:28:) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. Password: installer: Package name is Mono Framework installer: Installing at base path / installer: The install was successful. Package installers may write to any location options such as -appdir are ignored. $ brew cask info mono-mdk mono-mdk: 4.6.2.7 Not installed From: Name Mono Artifacts MonoFramework-MDK-4.6.2.7. (pkg) ➜ kafunk git:(master) brew cask install mono-mdk Downloading # 100,0% Verifying checksum for Cask mono-mdk Running installer for mono-mdk your password may be necessary. GC: sgen I first used brew cask to install Mono Framework and had to add /Library/Frameworks/amework/Home/bin to PATH environment variable. TLS: normal SIGSEGV: altstack Notification: kqueue Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. Looks like it's much nicer: $ type mono mono is /usr/local/bin/mono $ mono -version Mono JIT compiler version 4.6.2 (Stable 4.6.2.7/08fd525 Tue Nov 22 22:05:) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. $ brew cask uninstall mono-mdk And installed it using brew install mono and removed all the configuration changes in /.zshrc. After the first installation of Mono Framework using brew cask I found out that brew itself offers Mono (!) I uninstalled Mono first. You will use the current version (when update the version it isn't necessary to change the variable PATH) Another option ( best option) is to include a new line at the end of the file /etc/paths with the content: /Library/Frameworks/amework/Versions/Current/bin In this case, the path will be available for all users on the system. You don't modify the previous order of PATH (It's very important!!). It is better to use the next export: export PATH=$PATH:/Library/Frameworks/amework/Versions/Current/bin/. ![]() To install it, I ran uninstallMono.sh as root to ensure we didn't have any leftover cruft, then ran MonoFramework-MDK-4.0.4.1. I'm trying to get a Mono install running on a mac (OS X version 10.10.5), and while the install states that it's completed successfully, I'm not able to call mono from the terminal. Mono 5.16.0.179 Free Download For Mac Pro.Mono 5.16.0.179 Free Download For Mac Download.Free Download Mono for Windows - Develop and run.NET client or server applications and launch binaries created with Visual Studio without compiling.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |