On Tuesday 08 July 2008 07:14:25 am Carlo Marcelo Arenas Belon wrote:
> On Mon, Jul 07, 2008 at 09:10:37AM -0400, Jarod Wilson wrote:
> > On Monday 07 July 2008 04:46:05 am Carlo Marcelo Arenas Belon wrote:
> > > On Wed, Jul 02, 2008 at 09:27:02AM -0400, Jarod Wilson wrote:
> > > > On Wednesday 02 July 2008 07:36:41 am Carlo Marcelo Arenas Belon 
wrote:
> > > > > The following proposed patch for stable 3.1, replaces the configure
> > > > > routine that tried to guess the libdir directory by assuming biarch
> > > > > rules from fedora linux (breaking all amd64 BSD and x64 Solaris)
> > > > > and overriding the libdir parameter passed at configure time
> > > > > (breaking fedora linux ppc64).
> > > > >
> > > > > Contains changes from r1452, r1467, r1468, r1475 and r1487
> > > >
> > > > At a glance, yeah, this looks like it should indeed finally Do The
> > > > Right Thing(tm) on all Linux architectures for both 32-bit and
> > > > 64-bit.
> > >
> > > It didn't, I found it was broken in an ia64 SuSE Enterprise Server 10
> > > server.
> >
> > D'oh. How so?
>
> It would use an unexpanded "libdir" variable to replace all the libdir
> entries in the configuration and code (the embedded gmond configuration),
> so if no configuration was available and --libdir wasn't used it will end
> up trying to load all modules from a directory named literally :
>
>   ${exec_prefix}/lib

Oh, ew, ouch.

> > > A fix has been committed to trunk already, but it is so interlinked
> > > with another patch to remove the need to hardcode libdir in the
> > > configurations from Brad that it might as well require it (or both
> > > patches together) backported as a solution.
> >
> > Never mind, I can just take a look at trunk and spin up one of my own
> > ia64 boxes...
>
> It should had been broken in alpha as well (if you still have one of those
> and the host I guessed is right)

No alphas here. Well, there are some collecting dust somewhere in the lab, I 
believe... But no Fedora or Red Hat Enterprise Linux on Alpha for a while 
now, so they don't get much love... My ia64 Fedora build (with --libdir 
explicitly passed in) looks perfectly sane, haven't got around to poking at 
things beyond a simple rpmbuild of the rawhide packages though.

> please use the alternative proposed patch instead, which is IMHO the only
> safe way to ensure this patch doesn't break something else.

Okay, sounds good.

-- 
Jarod Wilson
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to