ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] LTIB installation problem


From: Stuart Hughes
Subject: Re: [Ltib] LTIB installation problem
Date: Tue, 06 Apr 2010 09:52:34 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Shila,

Double check that in your bin/Ltibutils.pm it looks exactly like this
(around line 574):

    'ncurses-devel'  => sub { -f '/usr/include/ncurses.h' },
    'rpm-build'      => sub { `rpmbuild --version 2>/dev/null` },
    sudo             => 'sudo -V 2>/dev/null',

If not, please try correcting.

If it does look like this then I don't understand why ltib is
complaining that it's not being installed.  In this case you have 2 options:

1/ Try to debug and find out why an error is returned.  You could do
this by removing 2>/dev/null from the 'rpm-build' line and then look at
the output when you run

2/ If all else fails, comment out the line (~97) in ltib:

            rpm-build       0

Regards, Stuart


Shila Haque wrote:
> Hi Stuart,
> 
> I run (outside LTIB) the command rpmbuild --version and got the
> following:
> 
> RPM version 4.7.2
> 
> I checked that rpm-build is already installed and also checked the
> version before.
> 
> address@hidden ltib-p2020ds-20091119]$ rpm -q rpm-build
> rpm-build-4.7.2-1.fc12.i686
> 
> Thanks,
> 
> Shila
> 
> -----Original Message-----
> From: Stuart Hughes [mailto:address@hidden 
> Sent: Saturday, April 03, 2010 5:14 AM
> To: Shila Haque
> Subject: Re: [Ltib] LTIB installation problem
> 
> My apologies, I just re-checked.  The command you need to run is:
> 
> rpmbuild --version
> 
> Please run this at the command line and report back.
> 
> Stuart Hughes wrote:
>> Hi Shila,
>>
>> The command you need to run (outside LTIB) is rpm --version, please
> run
>> this and report back.
>>
>> Also, please can you keep messages on the public mailing list.
>>
>> Regards, Stuart
>>
>> Shila Haque wrote:
>>> Hi Stuart,
>>>
>>> Thanks for your reply. I installed 'perl-libwww-perl' and my first
>>> problem is solved. Thanks a lot for your help.
>>>
>>> I am still hanging at the second problem about 'rpm-build'. I checked
>>> bin/Ltibutils.pm and found the 'rpm --version 2' at line 574. I think
>>> this version is the same as the current test for rpm-build in the
>>> Savannah CVS.
>>> I also could not run the command "rpm-build --version". And for your
>>> information, I am trying to install "ltib-p2020ds-20091119" for
> P2020DS.
>>> Please help me to solve the following error:
>>>
>>> address@hidden ltib-p2020ds-20091119]$ ./ltib
>>>
>>> ltib cannot be run because one or more of the host packages needed to
>>> run it
>>> are either missing or out of date or not in ltib's standard path.
>>> Please
>>> install/upgrade these packages on your host.  If you have your own
>>> utilities
>>> in non-standard paths, please add an entry into the .ltibrc file for
>>> example:
>>>
>>> %path_std
>>> /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/my/own/exes
>>>
>>> Package                Minimum ver   Installed info
>>> -------                -----------   ---------------
>>> rpm-build              0             not installed
>>>
>>> Died at ./ltib line 1397.
>>> traceback:
>>>  main::host_checks:1397
>>>   main:542
>>>
>>>
>>> Started: Fri Apr  2 10:28:49 2010
>>> Ended:   Fri Apr  2 10:28:51 2010
>>> Elapsed: 2 seconds
>>>
>>>
>>> Build Failed
>>>
>>> Exiting on error or interrupt
>>>
>>>
>>> Thanks,
>>>
>>> Shila
>>>
>>> -----Original Message-----
>>> From: Stuart Hughes [mailto:address@hidden 
>>> Sent: Wednesday, March 31, 2010 8:31 AM
>>> To: Shila Haque
>>> Cc: address@hidden
>>> Subject: Re: [Ltib] LTIB installation problem
>>>
>>> Hi Shila,
>>>
>>> The answer is in 2 parts.  The first is the warning you're getting.
>>> LTIB is complaining as your host does not have the Perl modules
> needed.
>>>  You'll need to install HTTP::Request::Common and LWP::UserAgent
>>>
>>> On Debian/Ubuntu these are in the package libwww-perl to install
> them:
>>> $ sudo apt-get install libwww-perl
>>>
>>> On Fedora/Redhat they're in the package: perl-libwww-perl to install
>>> them (as root):
>>> # yum install perl-libwww-perl
>>>
>>> The second complaint about rpm-build not being installed maybe a
>>> function of the BSP you have or something in FC12 (although I'm
> pretty
>>> sure I've installed on that platform).
>>>
>>> The current test for rpm-build (in the public Savannah LTIB) is:
>>> rpmbuild --version  can you check in your version that it is the
> same.
>>> You will find this in bin/Ltibutils.pm around line 574.
>>>
>>> If that looks okay, can you run the command: rpm-build --version and
>>> sent the output to the list.
>>>
>>> Regards, Stuart
>>>
>>> Shila Haque wrote:
>>>> Hi,
>>>>
>>>>  
>>>>
>>>> I am getting following error when running ltib:
>>>>
>>>> address@hidden ltib-p2020ds-20091119]$ ./ltib
>>>> Don't have HTTP::Request::Common
>>>> Don't have LWP::UserAgent
>>>> Cannot test proxies, or remote file availability without both
>>>> HTTP::Request::Common and LWP::UserAgent
>>>>
>>>> ltib cannot be run because one or more of the host packages needed
> to
>>> run it
>>>> are either missing or out of date or not in ltib's standard path.
>>> Please
>>>> install/upgrade these packages on your host. If you have your own
>>> utilities
>>>> in non-standard paths, please add an entry into the .ltibrc file for
>>>> example:
>>>>
>>>> %path_std
>>>>
> /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/my/own/exes
>>>> Package Minimum ver Installed info
>>>> ------- ----------- ---------------
>>>> rpm-build 0 not installed
>>>>
>>>> Died at ./ltib line 1397.
>>>> traceback:
>>>> main::host_checks:1397
>>>> main:542
>>>>
>>>>
>>>> Started: Tue Mar 30 13:57:41 2010
>>>> Ended: Tue Mar 30 13:57:42 2010
>>>> Elapsed: 1 seconds
>>>>
>>>>
>>>> Build Failed
>>>>
>>>> Exiting on error or interrupt
>>>>
>>>>  
>>>>
>>>>  
>>>>
>>>> I checked that rpm-build is already installed.
>>>>
>>>> address@hidden ltib-p2020ds-20091119]$ rpm -q rpm-build
>>>> rpm-build-4.7.2-1.fc12.i686
>>>>
>>>> Can you please help me about that?
>>>>
>>>>  
>>>>
>>>> Thanks,
>>>>
>>>>  
>>>>
>>>> Shila
>>>>
> 
> 
> _______________________________________________
> LTIB home page: http://ltib.org
> 
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
> 




reply via email to

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