[Mono-dev] Re: r58871 - trunk/mono/mono/metadata

Janne Rantala janne.rantala at gmail.com
Wed Apr 5 17:00:45 EDT 2006


Ok, more stupid questions follow :) Since I'm trying to run embed Mono
samples, those project files use glib from Vsdependencies package, I'm I
right? Those files are old as version 2.0.4.19, is there updated
Vsdependencies or does it have to be done manually?

Or I'm I completely lost with this? Since I'm not that familiar with Mono
environment yet these questions may be obvious to you but they certainly
ain't that to me :)

Thanks,

Janne

2006/4/5, Jonathan S. Chambers <Jonathan.Chambers at ansys.com>:
>
> I'm updating my glib/etc. to those found here, as Zoltan indicates mine
> was too old:
>
> http://www.mono-project.com/Compiling_Mono#Windows_Compilation
>
> Thanks,
> Jonathan
>
> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com
> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Robert
> Jordan
> Sent: Wednesday, April 05, 2006 8:01 AM
> To: mono-devel-list at lists.ximian.com
> Subject: [Mono-dev] Re: r58871 - trunk/mono/mono/metadata
>
> Hey,
>
> VC doesn't have setenv and unsetenv. For a change you may provide
> yourself a patch that uses Win32's SetEnvironmentVariable(),
> something like that
>
> #if defined (_MSC_VER)
> #define setenv(a, b, c) SetEnvironmentVariable (a, b)
> #define unsetenv(a) SetEnvironmentVariable (a, NULL)
> #else
> ....
>
>
> Robert
>
> Janne Rantala wrote:
> > Hi guys!
> >
> > I may have same situation with my VS2005, what kind of updates you
> did?
> >
> > Cheers,
> >
> > Janne
> >
> > 2006/4/4, Jonathan S. Chambers <Jonathan.Chambers at ansys.com>:
> >> Yes, I am. I will upgrade.
> >>
> >> Thanks.
> >>
> >> -----Original Message-----
> >> From: Zoltan Varga [mailto:vargaz at gmail.com]
> >> Sent: Tuesday, April 04, 2006 3:43 PM
> >> To: Jonathan S. Chambers
> >> Cc: Robert Jordan; mono-devel-list at lists.ximian.com
> >> Subject: Re: [Mono-dev] Re: r58871 - trunk/mono/mono/metadata
> >>
> >>                               Hi,
> >>
> >> You might be using a glib version older than 2.4.0, which was
> >> released more than
> >> two years ago.
> >>
> >>                       Zoltan
> >>
> >> On 4/4/06, Jonathan S. Chambers <Jonathan.Chambers at ansys.com> wrote:
> >>> This causes me trouble building in VS. It doesn't find setenv or
> >>> unsetenv. Should I be using something else like
> SetEnvironmentVariable
> >>> on Windows, or do I just have something wrong?
> >>>
> >>> Thanks,
> >>> Jonathan
> >>>
> >>> -----Original Message-----
> >>> From: mono-devel-list-bounces at lists.ximian.com
> >>> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of
> Zoltan
> >>> Varga
> >>> Sent: Tuesday, April 04, 2006 2:48 PM
> >>> To: Robert Jordan
> >>> Cc: mono-devel-list at lists.ximian.com
> >>> Subject: Re: [Mono-dev] Re: r58871 - trunk/mono/mono/metadata
> >>>
> >>> Yes.
> >>>
> >>>       Zoltan
> >>>
> >>> On 4/4/06, Robert Jordan <robertj at gmx.net> wrote:
> >>>> Hey,
> >>>>
> >>>> May I backport this?
> >>>>
> >>>> Robert
> >>>>
> >>>>> Author: miguel
> >>>>> Date: 2006-03-31 19:14:16 -0500 (Fri, 31 Mar 2006)
> >>>>> New Revision: 58871
> >>>>>
> >>>>> Modified:
> >>>>>    trunk/mono/mono/metadata/ChangeLog
> >>>>>    trunk/mono/mono/metadata/icall.c
> >>>>> Log:
> >>>>> 2006-03-31  Miguel de Icaza  <miguel at novell.com>
> >>>>>
> >>>>>       * icall.c
> >>>>>
> >> (ves_icall_System_Environment_InternalSetEnvironmentVariable):
> >>> Fix
> >>>>>       build on pre glib 2.4 systems.
> >>>>>
> >>>>> Modified: trunk/mono/mono/metadata/ChangeLog
> >>>>>
> >> ===================================================================
> >>>>> --- trunk/mono/mono/metadata/ChangeLog        2006-03-31 23:25:18
> >>> UTC (rev 58870)
> >>>>> +++ trunk/mono/mono/metadata/ChangeLog        2006-04-01 00:14:16
> >>> UTC (rev 58871)
> >>>>> @@ -1,3 +1,9 @@
> >>>>> +2006-03-31  Miguel de Icaza  <miguel at novell.com>
> >>>>> +
> >>>>> +     * icall.c
> >>>>> +
> >> (ves_icall_System_Environment_InternalSetEnvironmentVariable):
> >>> Fix
> >>>>> +     build on pre glib 2.4 systems.
> >>>>> +
> >>>>>  2006-03-31  Zoltan Varga  <vargaz at gmail.com>
> >>>>>
> >>>>>       * icall.c
> >>> (ves_icall_System_Environment_InternalSetEnvironmentVariable): New
> >>> icall.
> >>>>> Modified: trunk/mono/mono/metadata/icall.c
> >>>>>
> >> ===================================================================
> >>>>> --- trunk/mono/mono/metadata/icall.c  2006-03-31 23:25:18 UTC (rev
> >>> 58870)
> >>>>> +++ trunk/mono/mono/metadata/icall.c  2006-04-01 00:14:16 UTC (rev
> >>> 58871)
> >>>>> @@ -5542,6 +5542,14 @@
> >>>>>       return names;
> >>>>>  }
> >>>>>
> >>>>> +/*
> >>>>> + * If your platform lacks setenv/unsetenv, you must upgrade your
> >>> glib.
> >>>>> + */
> >>>>> +#if !GLIB_CHECK_VERSION(2,4,0)
> >>>>> +#define g_setenv(a,b,c)   setenv(a,b,c)
> >>>>> +#define g_unsetenv(a,b,c) unsetenv(a,b,c)
> >>>>> +#endif
> >>>>> +
> >>>>>  static void
> >>>>>  ves_icall_System_Environment_InternalSetEnvironmentVariable
> >>> (MonoString *name, MonoString *value)
> >>>>>  {
> >>>>>
> >>>>> _______________________________________________
> >>>>> Mono-patches maillist  -  Mono-patches at lists.ximian.com
> >>>>> http://lists.ximian.com/mailman/listinfo/mono-patches
> >>>>>
> >>>> _______________________________________________
> >>>> Mono-devel-list mailing list
> >>>> Mono-devel-list at lists.ximian.com
> >>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >>>>
> >>> _______________________________________________
> >>> Mono-devel-list mailing list
> >>> Mono-devel-list at lists.ximian.com
> >>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >>>
> >>>
> >>>
> >>
> >> _______________________________________________
> >> Mono-devel-list mailing list
> >> Mono-devel-list at lists.ximian.com
> >> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >>
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060406/e140019b/attachment.html 


More information about the Mono-devel-list mailing list