Re: Building OpenMoko image for Magician

From: Luis Correia <luis.f.correia_at_gmail.com>
Date: Thu, 10 Jan 2008 21:41:59 +0000

Hi

On Jan 10, 2008 9:36 PM, pHilipp Zabel <philipp.zabel_at_gmail.com> wrote:
>
> On Jan 10, 2008 10:29 PM, Luis Correia <luis.f.correia_at_gmail.com> wrote:
> > Hi!
> >
> > On Jan 8, 2008 10:53 AM, pHilipp Zabel <philipp.zabel_at_gmail.com> wrote:
> >
> > > On Jan 8, 2008 11:32 AM, Luis Correia <luis.f.correia_at_gmail.com> wrote:
> > > > Hi!
> > > >
> > > > (new topic as requested)
> > >
> > > Thanks.
> > >
> > > > >The description you mention is ok to follow (except that I think the
> > > > stable branch has angstrom-2007.12 now).
> > > > >You can update DISTRO = "angstrom-2007.1" to angstrom-2008.1 and use
> > > > the org.openembedded.dev branch instead of
> > > > org.openembedded.angstrom-2007.12-stable to work on the bleeding edge.
> > > > >Instead of base-image / console-image / x11-image you can bitbake
> > > > openmoko-image.
> > > > >I don't know how the opie2/qtopia image is built.
> > > >
> > > > Good to hear.
> > > >
> > > > Honestly, i've omitted some details that I didn't found necessary. Now
> > > > I see how dumb I was.
> > >
> > > That was only sloppy, not dumb :)
> > >
> > > > I've already changed the DISTRO to "angstrom-2008.1".
> > >
> > > Ok.
> > >
> > > > Following some suggestions over PM by goxboxlive, i've added some
> > > > configs for ImageMagick and librsvg.
> > >
> > > Yes, ImageMagick and librsvg are needed on the host to build
> > > the QVGA version of the openmoko icon theme. If the OpenMoko
> > > guys can't or don't want to provide a proper QVGA icon theme, we'll
> > > have to add imagemagick-native and librsvg-native recipes to OE or
> > > maybe host it on our own.
> > >
> > > (see http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=197)
> > >
> > > > And finally last night i deleted all build content, and tried to
> > > > rebuild all over again from scratch. I've got now a build issue with
> > > > gcc, but no details now, i'll post again later on today.
> > >
> > > Yes, please do that. If it turns out to be a generic gcc build problem,
> > > we'll have to bring it up on the openembedded-devel mailing list.
> > >
> > > cheers
> > > Philipp
> > >
> >
> > found the culprit, libmpfr is needed in the host and no packages were
> > available via yum (running CentOS 5 here).
> >
> > After installing it from source, gcc-cross compiles successfully.
>
> Good job, is this documented somewhere? It doesn't seem to be a common
> problem as gcc depends on mpfr in Debian and other commonly used (by
> the OE developers) distros. But it would be good to know in case
> somebody stumbles upon this again.

I haven't got a clue, it was trial and error basicly.
It complained about mpfr and gmp for the 'fortran frontend'.

Since I already had gmp installed, I went for mpfr, failing to find
any precompiled RPM's for Fedora/RedHat based distros, i used the
source.

I don't have a clue on how bitbake works and how to prevent this, so
maybe a note somewhere would help fellow Fedora/RedHat chaps.

>
> > Now trying openmoko-image, wish me luck :)
>
> Wished.

so far, so good :)
Received on Thu Jan 10 2008 - 16:42:03 EST

This archive was generated by hypermail 2.2.0 : Thu Jan 10 2008 - 16:42:21 EST