ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] "./ltib" from new m5474 BSP fails on RHEL 4, looking for "wge


From: Stuart Hughes
Subject: Re: [Ltib] "./ltib" from new m5474 BSP fails on RHEL 4, looking for "wget" version
Date: Tue, 26 Aug 2008 11:07:34 +0100

On Tue, 2008-08-26 at 04:31 -0400, Robert P. J. Day wrote:
> Quoting Stuart Hughes <address@hidden>:
> 
> > Hi Robert,
> >
> > The versions for host dependency packages come from get_ver in
> > bin/Ltibutils.pm.  The default rule is to run:
> >
> > prog --version 2>/dev/null`
> > and then match out the version using:
> > my ($ver) = m,(\d+\.\d+(?:\.\d+)?),;
> >
> > Can you run this at the command line and send the output?
> >
> > In the case of wget LTIB is looking for any version.
> 
>    FYI, the test for "wget" in get_ver() returns with a "not  
> installed" error, so the check never even gets to the pattern match.   
> i haven't had time to look at it more closely than that.

That's strange.  It means that the output is not going to stdout or wget
is not in the normal path.  If you look at he code it runs (simplified):

    $_ = `wget --version 2>/dev/null`;
    if(! $_) {
        return (-1, 'not installed');
    }

Can you do: which wget.

Regards, Stuart









reply via email to

[Prev in Thread] Current Thread [Next in Thread]