[Mono-list] Re: Adding gtk# and others to gac

Matt Nuzum matt@followers.net
Mon, 29 Nov 2004 22:01:03 -0500


On Mon, 29 Nov 2004 20:33:35 -0500, Matt Nuzum <matt.followers@gmail.com> wrote:
> Hello, just did a semi-successful source install of mono, gtk#, gecko#
> and related.  In trying to run Gtk#  programs I get this:
> WARNING **: Could not fin d assembly gtk-sharp, references from ...
> 
> My question is how do I add gtk# to the gac? The readme in the gtk#
> source makes no mention and I think that's where I've gone wrong.
> Interestingly enough, Monodevelop works, and I was under the
> impression it was a Gtk# application.
> 

Hmmm.... doing this:
export MONO_GAC_PREFIX=/usr/

Allows me to run my programs.  So, apparently I installed mono twice,
once with -prefix=/usr/local and once, later with --prefix=/usr.  I
installed all of my libraries with --prefix=/usr

I did
cd /usr/local
for i in `find ./ | grep -i mono`
do
rm -rf $i
done

and it fixed the problem. Also I cleaned up extra stuff from
/ur/local/lib and /usr/local/bin.  Fortunately, this was a very clean
system with practically nothing in those folders.

Just a note for the archives. I hope no one else does this the way
I've done it. But, you live and you learn...
-- 
Matthew Nuzum <matt@followers.net>
www.followers.net - Makers of "Elite Content Management System"
View samples of Elite CMS in action by visiting
http://www.followers.net/portfolio/