[MonoDevelop] multiple monos installed, MonoDevelop can't see all gacs

Michael Hutchinson m.j.hutchinson at gmail.com
Tue Nov 24 19:28:58 EST 2009


Yep, it's a known limitation that PKG_CONFIG_PATH and MONO_GAC_PREFIX
can't be set in MD for parallel Monos.

On Tue, Nov 24, 2009 at 2:39 PM, A.M. Abdelaziz <AMAMH3 at gmail.com> wrote:
>
> how did u get that info?
> changing PKG_CONFIG_PATH doesn't affect monodevelop in anyway, try it urself
> I don't think I was clear in my first post although I tried as hard as
> possible, I'll explain again:
>
> - change default .NET runtime in MonoDevelop to "Mono Trunk" which has the
> prefix /usr/local, now under "Packages" tab when editing references
> MonoDevelop can't see the packs installed from rpms which are installed with
> the prefix /usr but does see the packages installed from source which have
> the prefix /usr/local
>
> - change the default .NET runtime in MonoDevelop to "Mono 141701 (/usr)"
> which has the prefix /usr, now under "Packages" tab when editing references
> MonoDevelop can't see the packs installed from svn sources which have the
> prefix /usr/local but does see the packages installed from rpm which have
> the prefix /usr
>
> anyway, for my specific situation, I wanted monodevelop to see gtk-sharp
> which is installed from rpms and be able to use it with my own mono that's
> compiled from svn source "Trunk", I wanted so because I thought compiling
> gtk-sharp from source takes a lot of time beacause of its dependencies, it
> turns out that I was idiot, compiling gtk-sharp doesn't need dependencies
> because they were already installed when I installed gtk-sharp from rpms and
> my mono (in /usr/local) can use these dependencies so I just got gtk-sharp
> from svn sources, compiled and installed and now I have MonoDevelop using
> trunk mono and gtk-sharp
>
> what's very confusing is that MonoDevelop can see the wnck-sharp package
> which is installed from rpms in /usr although I'm selecting "Trunk" mono
> (/usr/local) as the default .NET runtime, why can MonoDevelop see this
> package and not see others, I dont' know, and I checked /usr/lib/mono/gac
> and it does contain wnck-sharp and checked /usr/local/lib/mono/gac and it
> DOESN'T contain wnck-sharp AND running /usr/local/bin/gacutil -l doesn't
> list wnck-sharp just like it doesn't list all other packages that are
> installed from rpms to /usr
>
> shit, I think I wasted a lot of ur time if u read all that, I just wanted to
> be very clear and make the issue very detailed.
>
>
> Lluis Sanchez Gual wrote:
>>
>> MonoDevelop doesn't look for assemblies in any GAC. Assemblies are
>> located through pkgconfig. You have to set your PKG_CONFIG_PATH env var
>> and include all your prefixes.
>>
>> El ds 21 de 11 de 2009 a les 07:04 -0800, en/na A.M. Abdelaziz va
>> escriure:
>>> I'm using openSUSE 11.2 x86, GNOME
>>> I have:
>>> mono from rpm svn installed (prefix=/usr)
>>> mono compiled and installed from latest svn (prefix=/usr/local)
>>> MonoDevelop compiled and installed from latest svn, using trunk mono (the
>>> one in /usr/local) as the default .NET runtime
>>>
>>> Gtk-sharp and some others are installed to /usr , because I used rpm
>>> packs,
>>> compiling from source takes a lot of time
>>>
>>> I made my mono (the one in /usr/local, that's compiled from source) able
>>> to
>>> see it by setting:
>>> MONO_GAC_PREFIX=/usr/local:/usr
>>> in /etc/profile.local
>>>
>>> my problem is:
>>> in MonoDevelop, I can''t see gtk and others under the "packages" tab when
>>> editing references, so I have to add it manually from the ".NET
>>> assemblies"
>>> tab.
>>> MonoDevelop can see gtk and others when using mono under /usr as the
>>> default
>>> runtime, but not the packages installed from source (as they reside in
>>> /usr/local)
>>>
>>> in short:
>>> is there anyway to make MonoDevelop see all the packages in all GACs and
>>> not
>>> only the one associated with the current default mono runtime ?
>>>
>>>
>>> additional info:
>>> running "echo $MONO_GAC_PREFIX" in the terminal (either as root or user)
>>> gives the right value
>>> I tried "MONO_GAC_PREFIX=/usr monodevelop", no luck,
>>> tried setting gac prefix to just "/usr" in the profile.local file, no
>>> luck
>>> nothing in ~/.config/MonoDevelop/log
>>
>>
>> _______________________________________________
>> Monodevelop-list mailing list
>> Monodevelop-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>
>>
>
> --
> View this message in context: http://old.nabble.com/multiple-monos-installed%2C-MonoDevelop-can%27t-see-all-gacs-tp26450261p26499962.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>



-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list