ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] freescale ltib config problem


From: Hamilton Vera
Subject: Re: [Ltib] freescale ltib config problem
Date: Fri, 27 Nov 2009 17:26:55 -0200

Try the how-tos at www.imxdev.org, they fit like a glove

http://www.imxdev.org/wiki/index.php?title=All_Boards_LTIB


On Wed, Nov 25, 2009 at 11:52 AM, Ing. Giorgio Marinangeli
<address@hidden> wrote:
> Thanks Yunlong and Stuart for your suggestions,
>
>
>> Which version of LTIB is this (the name of the ISO)?
>
> I downloaded the TLIB directly freescale web site ad tarball archive.
> It should be a special issue for freescale iMx processor.
>
> I found the solution for the problem explained on my previous E-Mail.
>
> I used this commands to rebuild rpm database:
>
> su -
> rm -rf /var/lib/rpm/*__db
> rpm --rebuilddb
>
> also i need to change the install scrip provided with this TLIB
> freescale version.
>
>
>
> Thank.
> Giorgio
>
>
>
>
>
>
> Il giorno mer, 25/11/2009 alle 08.51 +0000, Stuart Hughes ha scritto:
>> Hi Giorgio,
>>
>> Which version of LTIB is this (the name of the ISO)?  It may be an issue
>> with an older version.  The current version on Savannah CVS is known to
>> work with Ubuntu 9.10 provided you have rpm correctly installed on the host.
>>
>> The actual failure looks as though the rpm database for the host has not
>> been initialised and/or you don't have sudo permissions.  First make
>> sure you have sudo permissions (without password) enabled for rpm as
>> should be prompted for when you first run ltib.  Then you could try
>> running 'sudo rpm --initdb' (warning this may destroy your host rpm
>> database, but on Ubunutu this probably doesn't matter for you).  If you
>> do that, remove /tmp/rpm* and re-try.
>>
>> Maybe Freescale can help with this specific version of LTIB.
>>
>> Regards, Stuart
>>
>> Ing. Giorgio Marinangeli wrote:
>> > Hi,
>> >
>> > I am very new to LTIB.
>> >
>> > I tried to install and configure ltib [freescale vesion] on my host PC
>> > with Ubuntu 9.10.
>> >
>> > When I try to build for the first time ltib using
>> > ./ltib - m config command ( I follow the freescale documentation )
>> > I always get an error and the compile process stopped.
>> >
>> >
>> > This is the error decribed on host_config.log file:
>> >
>> >
>> > [..]
>> >
>> > librt.so.1(GLIBC_2.1) libz.so.1 perl(Archive::Tar) perl(CGI)
>> > perl(Data::Dumper) perl(File::Basename) perl(File::Copy)
>> > perl(File::stat) perl(Getopt::Long) perl(POSIX) perl(Specfile)
>> > perl(Sys::Hostname) perl(lib) perl(strict) perl(vars)
>> > Checking for unpackaged
>> > file(s): /usr/lib/rpm/check-files 
>> > /tmp/rpm-giorgio/BUILDROOT/rpm-fs-4.0.4-1.i386
>> > Wrote: /tmp/rpm-giorgio/RPMS/i686/rpm-fs-4.0.4-1.i686.rpm
>> > Executing(%clean): /bin/sh -e /home/giorgio/ltib/ltib/tmp/rpm-tmp.tSBxjx
>> > + umask 022
>> > + cd /tmp/rpm-giorgio/BUILD
>> > + cd rpm-4.0.4
>> > + rm -rf /tmp/rpm-giorgio/BUILDROOT/rpm-fs-4.0.4-1.i386
>> > + exit 0
>> > Executing(--clean): /bin/sh
>> > -e /home/giorgio/ltib/ltib/tmp/rpm-tmp.L6hEI0
>> > + umask 022
>> > + cd /tmp/rpm-giorgio/BUILD
>> > + rm -rf rpm-4.0.4
>> > + exit 0
>> > Build time for rpm-fs: 339 seconds
>> >
>> > error: cannot open Name index using db3 - No such file or directory (2)
>> > error: cannot open Name index using db3 - No such file or directory (2)
>> > sudo rpm --root / --dbpath /tmp/rpm-giorgio/rpmdb -e --allmatches
>> > --nodeps --define '_tmppath /home/giorgio/ltib/ltib/tmp' rpm-fs
>> > 2>/dev/null
>> > sudo rpm --root / --dbpath /tmp/rpm-giorgio/rpmdb --ignorearch -ivh
>> > --force --nodeps --excludedocs --define
>> > '_tmppath /home/giorgio/ltib/ltib/tmp' 
>> > /tmp/rpm-giorgio/RPMS/i686/rpm-fs-4.0.4-1.i686.rpm
>> > rpm: please use alien to install rpm packages on Debian, if you are
>> > really sure use --force-debian switch. See README.Debian for more
>> > details.
>> > sudo /opt/freescale/ltib/usr/bin/rpm --root /
>> > --dbpath /opt/freescale/ltib/var/lib/rpm -Uv --justdb --notriggers
>> > --noscripts --nodeps /tmp/rpm-giorgio/RPMS/i686/rpm-fs-4.0.4-1.i686.rpm
>> > sudo: /opt/freescale/ltib/usr/bin/rpm: command not found
>> > mkdir: cannot create directory `/opt/freescale': Permission denied
>> >
>> > Cannot create the download directory:
>> >  /opt/freescale/pkgs
>> >
>> > Either change to a global directory you have write permissions to,
>> > or create it as root.  Please set the permissions to 777
>> >
>> > traceback:
>> > main::check_dirs:2469
>> > main::host_checks:1426
>> > main:542
>> >
>> >
>> > Any suggestion?
>> >
>> > Best Regards
>> >
>> > Giorgio
>> >
>> >
>> >
>> > _______________________________________________
>> > LTIB home page: http://ltib.org
>> >
>> > Ltib mailing list
>> > address@hidden
>> > http://lists.nongnu.org/mailman/listinfo/ltib
>> >
>>
>
>
>
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
>



-- 
Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[])
http://hvera.wordpress.com




reply via email to

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