[Top][All Lists]
[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 15:57:21 +0100 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080707) |
Hi Shila,
I can't tell from your output what is wrong. I've not tried FC12 with
the latest LTIB and I don't have the version you are using.
Is that all the output? can you send me the actual host_config.log off
the list. I'm not sure I can help though as the version you have is not
the one I maintain.
Regards, Stuart
Shila Haque wrote:
> Hi Stuart,
>
> Thanks a lot for your reply.
>
> I checked again the bin/Ltibutils.pm and found it looks like the same as
> mention.
>
> Then I did the following:
> First, I removed the 2>/dev/null from the 'rpm-build' line and then run.
> But I got the same error as rpm-build 0 failed.
> Then I commented out the line " rpm-build 0" at line 94 in ltib and run
> and got the following error:
>
> address@hidden ltib-p2020ds-20091119]$ ./ltib
>
> Installing host support packages.
>
> This only needs to be done once per host, but may take up to
> an hour to complete ...
>
> If an error occurs, a log file with the full output may be found in:
> /home/hwtesting/ltib-p2020ds-20091119/host_config.log
>
> Exiting on error or interrupt
> Please see >> /home/hwtesting/ltib-p2020ds-20091119/host_config.log for
> details
> address@hidden ltib-p2020ds-20091119]$
>
>
>
> I checked the host_config.log and got the following:
>
>
>
> Processing platform: Host support packages
> ============================================
> using
> /home/hwtesting/ltib-p2020ds-20091119/config/platform/host/ltib.preconfi
> g
>
> Processing: fake-provides
> ===========================
> Build path taken because: no prebuilt rpm,
>
> rpmbuild --dbpath ///opt/freescale/ltib/var/lib/rpm --target i686
> --define '_unpackaged_files_terminate_build 0' --define '_target_cpu
> i686' --define '__strip strip' --define '_topdir
> /opt/freescale/ltib/usr/src/rpm' --define '_prefix
> /opt/freescale/ltib/usr' --define '_tmppath
> /home/hwtesting/ltib-p2020ds-20091119/tmp' --define '_rpmdir
> /opt/freescale/ltib/usr/src/rpm/RPMS' --define '_mandir
> /opt/freescale/ltib/usr/share/man' --define '_sysconfdir
> /opt/freescale/ltib/etc' --define '_localstatedir /var' -bb --clean
> --rmsource
> /home/hwtesting/ltib-p2020ds-20091119/dist/lfs-5.1/fake-provides/fake-pr
> ovides.spec
>
> Failed building fake-provides
> Died at ./ltib line 1380.
> traceback:
> main::build_host_rpms:1380
> main::host_checks:1435
> main:542
>
>
> Started: Tue Apr 6 09:10:15 2010
> Ended: Tue Apr 6 09:10:16 2010
> Elapsed: 1 seconds
>
> These packages failed to build:
> fake-provides
>
> Build Failed
>
>
> I really appreciated your help.
>
> Thanks,
>
> Shila
>
>
>
> -----Original Message-----
> From: Stuart Hughes [mailto:address@hidden
> Sent: Tuesday, April 06, 2010 3:53 AM
> To: Shila Haque
> Cc: address@hidden
> Subject: Re: [Ltib] LTIB installation problem
>
> 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
>>
>
- RE: [Ltib] LTIB installation problem, Shila Haque, 2010/04/05
- Re: [Ltib] LTIB installation problem, Stuart Hughes, 2010/04/06
- RE: [Ltib] LTIB installation problem, Shila Haque, 2010/04/06
- Re: [Ltib] LTIB installation problem,
Stuart Hughes <=
- RE: [Ltib] LTIB installation problem, Shila Haque, 2010/04/06
- FC12 install problem (was Re: [Ltib] LTIB installation problem), Stuart Hughes, 2010/04/06
- Re: FC12 install problem (was Re: [Ltib] LTIB installation problem), Stuart Hughes, 2010/04/07
- RE: FC12 install problem (was Re: [Ltib] LTIB installation problem), Shila Haque, 2010/04/08
- Re: FC12 install problem (was Re: [Ltib] LTIB installation problem), Stuart Hughes, 2010/04/09
- Message not available
- RE: FC12 install problem (was Re: [Ltib] LTIB installation problem), Shila Haque, 2010/04/09
- Message not available
- RE: FC12 install problem (was Re: [Ltib] LTIB installation problem), Shila Haque, 2010/04/09
- Message not available
- Re: FC12 install problem (was Re: [Ltib] LTIB installation problem), Stuart Hughes, 2010/04/09