building minimo Re: PyGTK- installation?

arne anka openmoko at ginguppin.de
Sun Aug 3 22:58:16 CEST 2008


> since i switched to an 64bit t61 recently it gave me another package to
> test -- minimo does not compile anymore ... (gripes about cannot "access
> nsBuildID.h: Invalid argument", whatever that means -- the file is there)


just for the records (since this problem came up a while ago already):
minimo does not compile out of the box w/ amd64 -- the oe bugtracker [1]  
has an still open ticket about that from 2006-09-06 ...
at least there's one step in the right direction in comment #21, add

export HOST_CC = "${BUILD_CC}"
export HOST_CXX = "${BUILD_CXX}"
export HOST_CFLAGS = "${BUILD_CFLAGS}"

to the existing bb recipe. (the next make update will fail because  
mokomakefile or oe fails to either respect or simply overwrite the recipe,  
for what reason ever).
this will immediately make you hit another snag:

In file included from js/jsarena.c:49:
js/jsbit.h:173: error: size of array 'js_static_assert_line_173' is  
negative
make[1]: *** [js/jsarena.o] Error 1
make: *** [src] Error 2

go to jsbit.h line 173 and kill one long from [2]
JS_STATIC_ASSERT(sizeof(unsigned long long) == sizeof(JSUword));

i am no c genius but i suppose minimo/firefox defines "unsigned long long"  
in some incompatible way -- i sincerely hope "unsigned long" is still long  
enough (can somebody shed some light?)
anyway, after this minimo builds even on amd64.

[1] http://bugs.openembedded.org/show_bug.cgi?id=1391
[2] http://forum.developers.facebook.com/viewtopic.php?id=15902&p=1





More information about the community mailing list