[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Build failed on rpm-fs
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] Build failed on rpm-fs |
Date: |
Thu, 29 Jul 2010 21:46:56 +0100 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080707) |
Hi Jan,
The latest LTIB from Savannah CVS has a fix in it that uses force-debian
and works fine on the latest Ubuntus. Note LTIB installs it's own
rpm-4.0.4, but it does need the host's rpm to bootstrap this.
So, to resolve, get the latests from Savannah, or pick-up the patch that
resolved this here:
http://cvs.savannah.gnu.org/viewvc/ltib/ltib?root=ltib&r1=1.56&r2=1.57
Regards, Stuart
Jan Wilmans wrote:
> Gentlemen,
>
> The problem with Ubuntu is that it comes with rpm v4.7.2 which
> requires --force-debian in order to install anything.
> A (relatively new, since 4.7.0-8) feature of rpm directs you to use
> alien to install rpm packages on Ubuntu!
>
> 1) one of the first things ./ltib does is download rpm-4.0.4, which I
> think is a good idea, but somehow I don't think ./ltib is using this
> version later on.
>
> 2) I've tried to manually install rpm-4.0.4, but I've had no luck
> doing so (configure: error: ./configure failed for db3)
>
> This is probably because Ubuntu also comes with db4 instead of db3
> (consulting
> http://www.faqs.org/docs/Linux-HOWTO/RPM-for-Unix-HOWTO.html#ss2.2)
>
> configuring in db3
> running /bin/sh ./configure --cache-file=.././config.cache --srcdir=.
> configure: error: cannot find sources in .
> mv: cannot stat `Makefile': No such file or directory
> cat: Makefile.orig: No such file or directory
> mv: cannot stat `db.h': No such file or directory
> cat: db.h.orig: No such file or directory
> make: *** No rule to make target `listobjs'. Stop.
> configure: error: ./configure failed for db3
>
> even after manually installing:
> http://archive.ubuntu.com/ubuntu/pool/main/d/db3/db3_3.2.9.orig.tar.gz
> (./configure, make, make install seems to work fine)
>
> running /bin/sh ./configure --cache-file=.././config.cache --srcdir=.
> configure: error: cannot find sources in .
> make: *** No rule to make target `listobjs'. Stop.
> configure: error: ./configure failed for db3
>
> It still failed....
>
> 3) Then I've tried to patch ./ltib by adding --force-debian to various
> $cmd lines and managed to get it to install up to the point that the
> configure menus allowed me to select packages, and configure the
> kernel (menu-config style). _but_ it still fails when compiling the
> actual kernel.
>
> Eventually I gave up on my Ubuntu machine (for now), I've now moved to
> my windowsXP machine, installed Fedora 13 in virtualbox and here
> ./ltib was more or less working out-of-the-box. No problems installing
> at all. (I have heard there can be CR/LF issues, but I have not
> encountered any in this configuration. I suspect you will be fine as
> long as you download and extract any tar.gz archives inside
> virtualbox. (dont use winzip or other win32 aware archivers).
>
> To make this long story short: Ubuntu 10.4 + TLIB still has some
> issues that need to be sorted out.
> I think the best way to start would be to move to rpm-4.7
> compatibility, _but_ I suspect there are some other issues also,
> I'm willing help testing, but I'm out of ideas how to proceed at this stage.
>
> (on Ubuntu anyway) meanwhile, I'll continue my work on the Fedora 13
> and wait for a good Ubuntu solution.
>
> Greetings,
>
> Jan Wilmans
>
>
> On 29 July 2010 18:21, Peter Barada <address@hidden> wrote:
>> On Fri, 2010-07-30 at 00:02 +0800, casper iway wrote:
>>
>> Hi,
>>
>> Why can't i get LTIB to work on my ubuntun running in Virtual Box.. I always
>> got an error of 'rpm-fs' when running './ltib'.
>> Please look at the attach log file.. Hope someone could help me figure out
>> about the problem.
>> I only got this problem on my computer(ubuntu 32bit running in virtual box),
>> but at my work i get LTIB running fine with the same setup(ubuntu 32bit
>> running in virtual box).
>>
>> Try removing both rpm-4.0.4.tar.gz and rpm-4.0.4.tar.gz.md5 and try again -
>> if it gets past that, then where did you're original package set come from
>> (a .iso?)? If so, then possibly your .iso is broken (maybe it has CRLF
>> endings instead of LF endings as Linux expects).
>>
>> Thanks
>> Casper
>>
>> _______________________________________________
>> 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
>>
>>
>
>
>