[Mono-osx] Environment variables not set up properly

bmahf bmahf at hotmail.com
Sun May 2 12:50:57 EDT 2010


So MonoDevelop seems to work fine now, but as I said command line is not, so
I just totally uninstalled my mono installation using a script I found
online:

-----------------------------------------------------------------------------------------------------------
#!/bin/sh -x

#This script removes Mono from an OS X System.  It must be run as root

rm -r /Library/Frameworks/Mono.framework

rm -r /Library/Receipts/MonoFramework-*

for dir in /usr/bin /usr/share/man/man1 /usr/share/man/man3
/usr/share/man/man5; do
   (cd ${dir};
    for i in `ls -al | grep /Library/Frameworks/Mono.framework/ | awk
'{print $9}'`; do
      rm ${i}
    done);
done
-----------------------------------------------------------------------------------------------------------

and then after installing MacPorts I used the port install mono to install
mono.  Turns out that since I have an intel chip in my macbook pro, this
wasn't a walk in the park, but I eventually got it going.  Mono is now
installed, but there is no frameword folder in /Library/Frameworks, so no
MonoDevelop doesn't work.  Ayeeee!!!

I am just wondering why mono would install as a framework when installed
from a downloaded dmg file, but not when installed using the port command. 
Any ideas?  One of these days I'll actually have both command line and
MonoDevelop working and I'll be happy at last.  :)

Bruce

-- 
View this message in context: http://mono.1490590.n4.nabble.com/Environment-variables-not-set-up-properly-tp2122429p2122993.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list