MokoMakefile - type "make openmoko-devel-image" and you're done.

Joe Friedrichsen pengi.films at gmail.com
Thu Feb 22 04:46:26 CET 2007


Hi everyone, I've run into a few problems as well.

On Mon Feb 19 17:12:52 CET 2007, jeff moe at blagblagblag.org wrote
>
> Rod Whitby wrote:
> > I have created "MokoMakefile" - a fully automated way of setting up an
> > OpenMoko development environment.
>
> I have gotten this to work after a few hurdles. Hints:
>
> =================================
> 404 error: http://ftp.mozilla.org/pub/mozilla.org/js/js-1.5.tar.gz
>
> You need to do the things in
> http://wiki.openmoko.org/wiki/Building_OpenMoko_from_scratch#OpenEmbedded_build:_fixes
>
> as MokoMakefile doesn't do them for you. In this case:
> wget http://ftp.mozilla.org/pub/mozilla.org/js/older-packages/js-1.5.tar.gz
> touch ../build/tmp/stamps/armv4t-linux/js-1.5-r0.do_fetch

You can also correct the URL in openembedded/packages/js/js_1.5.bb so
that it reads:

SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/older-packages/js-1.5.tar.g
z \
           file://jsautocfg.h"

I did the same thing for a samba fetch error.

However, one package I couldn't find how to fix was openmoko-dates
from o-hand.com. From a 'make openmoko-devel-image' trial:

NOTE: package openmoko-dates-0.1+svnnow: started
NOTE: package openmoko-dates-0.1+svnnow-200702220226: task do_fetch: started
NOTE: Fetch svn://svn.o-hand.com/repos/dates/branches/private;module=omoko;proto=https
svn: URL 'https://svn.o-hand.com/repos/dates/branches/private/omoko'
doesn't exist
NOTE: Task failed: Fetch failed: omoko
NOTE: package openmoko-dates-0.1+svnnow-200702220226: task do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package openmoko-dates-0.1+svnnow: failed
ERROR: Build of openmoko-devel-image failed
make: *** [openmoko-devel-image] Error 1

The repo is now at
https://svn.o-hand.com/repos/dates/branches/openmoko/ but I cannot
find the right .bb file to modify.

openembedded/packages/dates/dates_svn.bb uses
svn://svn.o-hand.com/repos/${PN};module=trunk;proto=http with $PN =
0.1+svn${SRCDATE} . grepping for "\.o-hand\." in openembedded/packages
didn't show any packages using o-hand and https. I think I'm looking
in the wrong place, but was wondering if I missed anything else.

Thanks,
Joe



More information about the openmoko-devel mailing list