[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ltib] "./ltib" from new m5474 BSP fails on RHEL 4, looking for "wget" v
From: |
Robert P. J. Day |
Subject: |
[Ltib] "./ltib" from new m5474 BSP fails on RHEL 4, looking for "wget" version |
Date: |
Sun, 24 Aug 2008 11:38:57 -0400 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.1.6) |
hi, i'm trying to install the latest ltib from the 20080811 BSP ISO
on an RHEL 4 system, and i'm getting the following (actually, quite
predictable) error:
==========
ltib cannot be run because one or more of the host packages needed
to run it are either missing or out of date.
Please install/upgrade these packages and then re-try.
Package Minimum ver Installed info
------- ----------- ---------------
wget 0 not installed
Died at ./ltib.orig line 1241.
traceback:
main::host_checks:1241
main:489
==========
wget is, in fact, installed but because this is RHEL 4, the rpm
version of wget is a bit funky:
$ rpm -q wget
wget-1.10.2-0.40E
$
note the trailing "E" on the package name, which i'm *guessing* is
the problem. i'm not sure how ltib does its version checking -- i
perused the code briefly and i can see this in the ltib perl script:
# check the most basic host services are available
sub check_basic_deps
{
my @failed = ();
foreach my $dep ( split(/\n/, $cf->{pre_install_deps}) ) {
next if $dep =~ m,^\s*$,;
next if $dep =~ m,^\s*#,;
$dep =~ s,^\s*,,;
my ($pkg, $min) = split(/\s+/, $dep);
my ($ver, $info) = get_ver($pkg);
warn "pkg=$pkg, min=$min, got: $ver, $info\n" if $verbose;
... etc etc ...
in any event, i didn't follow through any further since i figured
others probably know this code intimately. i also realize that RHEL
is not officially supported but fixing this issue would seem to be a
fairly simple thing to do, no? thoughts?
rday
- [Ltib] "./ltib" from new m5474 BSP fails on RHEL 4, looking for "wget" version,
Robert P. J. Day <=