mail-archives/mono-osx/2010-May/002911.html

100 строки
3.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] Environment variables not set up properly
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Environment%20variables%20not%20set%20up%20properly&In-Reply-To=1272754990808-2122429.post%40n4.nabble.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="002910.html">
<LINK REL="Next" HREF="002912.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] Environment variables not set up properly</H1>
<B>bmahf</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Environment%20variables%20not%20set%20up%20properly&In-Reply-To=1272754990808-2122429.post%40n4.nabble.com"
TITLE="[Mono-osx] Environment variables not set up properly">bmahf at hotmail.com
</A><BR>
<I>Sun May 2 12:50:57 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="002910.html">[Mono-osx] Environment variables not set up properly
</A></li>
<LI>Next message: <A HREF="002912.html">[Mono-osx] Environment variables not set up properly
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2911">[ date ]</a>
<a href="thread.html#2911">[ thread ]</a>
<a href="subject.html#2911">[ subject ]</a>
<a href="author.html#2911">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
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: <A HREF="http://mono.1490590.n4.nabble.com/Environment-variables-not-set-up-properly-tp2122429p2122993.html">http://mono.1490590.n4.nabble.com/Environment-variables-not-set-up-properly-tp2122429p2122993.html</A>
Sent from the Mono - OSX mailing list archive at Nabble.com.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="002910.html">[Mono-osx] Environment variables not set up properly
</A></li>
<LI>Next message: <A HREF="002912.html">[Mono-osx] Environment variables not set up properly
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2911">[ date ]</a>
<a href="thread.html#2911">[ thread ]</a>
<a href="subject.html#2911">[ subject ]</a>
<a href="author.html#2911">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>