[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] Re: [Evms-devel] glib version conflicts in EVMS
From:       Alan Robertson <alanr () unix ! sh>
Date:       2004-11-08 23:14:31
Message-ID: 418FFDD7.3090807 () unix ! sh
[Download RAW message or body]

Guochun Shi wrote:
> At 03:51 PM 11/8/2004 -0600, you wrote:
> 
> 
> 
> 
> 
>>Guochun Shi <gshi@ncsa.uiuc.edu> wrote on 11/08/2004 03:17:20 PM:
>>
>>
>>>Hi, Kevin,
>>>
>>>LinuxHA has changed it's glib version from glib1 to glib2 in it's
>>>CVS head. The change from glib1 to glib2 is not trivial.
>>>Since EVMS uses glib1 thus there is some conflicts for the ha plugin
>>>-- ha plugin needs to link with a linuxHA library which uses glib2
>>>and ha plugin itself is using glib1. It won't even compile. Is there
>>>any plan for EVMS to use glib2?
>>>
>>>linuxHA 1.2.3 and before uses glib1, later versions including 2.0
>>>will use glib2.
>>>
>>>thanks
>>>-Guochun
>>
>>Hi, Guochun.
>>
>>Converting to glib2 is not in the plan for all of EVMS.  glib is only used
>>by those UIs and plug-ins that find it useful.  I think in this case it may
>>be sufficient to just convert the ha plug-in to use glib2.  It won't be
>>trivial.  I'm guessing that the code will have to have #ifdefs so that it
>>builds with the correct glib based on what version of Linux-HA is
>>installed.  Yuck.
> 
> 
> That looks good, 
> or we can say certain version of EVMS only works with certain version of linuxHA
> so we don't have to code lots of #ifdefs


We looked at #ifdefing it and it was a big mess.  They completely revamped 
certain parts of their API - in a highly nontrivial way.

-- 
     Alan Robertson <alanr@unix.sh>

"Openness is the foundation and preservative of friendship...  Let me claim 
from you at all times your undisguised opinions." - William Wilberforce
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic