How to setup Overo build environment on Mac OS X 10.5.5

Crossley, Malcolm (GE EntSol, Intelligent Platforms) Malcolm.Crossley2 at gefanuc.com
Wed Dec 3 14:12:31 UTC 2008


Hi,

 

You need to set the variable - BUILD_ARCH. 

This variable is defined in <OE_INSTALL>/conf/bitbake.conf.

 

I hope that helps

 

Malcolm Crossley

 

 

________________________________

From: openembedded-users-bounces at openembedded.org
[mailto:openembedded-users-bounces at openembedded.org] On Behalf Of Elvis
Dowson
Sent: 03 December 2008 13:39
To: OpenEmbedded Users
Subject: How to setup Overo build environment on Mac OS X 10.5.5

 

Hi,

        I followed the instructions given here gumstix developer site -
Setting up a build environment ,
<http://www.gumstix.net/Software/view/Software-Overo/Setting-up-a-build-
environment/111.html> to setup the build environment using OpenEmbedded.

 

In terms of package dependecies, I just ran into 3 missing packages: 

 

a. md5sum, for which I resolved by creating an alias in the /sbin
directory by typing ln -s md5 md5sum

b. gawk, which I resolved by downloading gawk-3.1.6.tar.gz and running
the ./configure command, then doing a make -j 2 and sudo make install.

c. help2man, which I resolved by downloading help2man-1.35.1.tar and
running ./configure --enable-nls=no and doing a make and install.

 

Now when I run the bitbake omap3-console-image command, it progresses
for sometime and stops at the following point with a lot of errors:

 

elvis-dowsons-macbook-pro:gawk-3.1.6 elvis$ bitbake omap3-console-image

NOTE: Psyco JIT Compiler (http://psyco.sf.net <http://psyco.sf.net/> )
not available. Install it to increase performance.

NOTE: Handling BitBake files: | (3416/6265) [54 %]ERROR: Information not
available for target 'i386-darwin'

 

My Mac Book is an Intel Core 2 Duo system, and valid targets are i386
and x86_64.

 

Question 01: How can I change this so that bitbake uses i386 as the
target architecture, rather than i386-darwin?

 

Best regards,

 

Elvis Dowson

 

 

elvis-dowsons-macbook-pro:gawk-3.1.6 elvis$ bitbake omap3-console-image

NOTE: Psyco JIT Compiler (http://psyco.sf.net <http://psyco.sf.net/> )
not available. Install it to increase performance.

NOTE: Handling BitBake files: | (3416/6265) [54 %]ERROR: Information not
available for target 'i386-darwin'

NOTE: <type 'exceptions.TypeError'>:argument of type 'NoneType' is not
iterable while evaluating:

${@siteinfo_get_endianess(d)}

NOTE: <type 'exceptions.TypeError'>:argument of type 'NoneType' is not
iterable while evaluating:

${@base_conditional('SITEINFO_ENDIANESS', 'le', '-DL_ENDIAN',
'-DB_ENDIAN', d)}     -DTERMIO -fexpensive-optimizations
-frename-registers -fomit-frame-pointer -O2 -Wall

NOTE: <type 'exceptions.TypeError'>:argument of type 'NoneType' is not
iterable while evaluating:

${@'${CFLAG}'.replace('-O2', '')}

ERROR: argument of type 'NoneType' is not iterable while parsing
/Users/elvis/Tool/overo-oe/org.openembedded.dev/packages/openssl/openssl
-native_0.9.7g.bb

ERROR: Information not available for target 'i386-darwin'

NOTE: <type 'exceptions.TypeError'>:argument of type 'NoneType' is not
iterable while evaluating:

${@siteinfo_get_endianess(d)}

NOTE: <type 'exceptions.TypeError'>:argument of type 'NoneType' is not
iterable while evaluating:

${@base_conditional('SITEINFO_ENDIANESS', 'le', '-DL_ENDIAN',
'-DB_ENDIAN', d)}     -DTERMIO -fexpensive-optimizations
-frename-registers -fomit-frame-pointer -O2 -Wall

NOTE: <type 'exceptions.TypeError'>:argument of type 'NoneType' is not
iterable while evaluating:

${@'${CFLAG}'.replace('-O2', '')}

ERROR: argument of type 'NoneType' is not iterable while parsing
/Users/elvis/Tool/overo-oe/org.openembedded.dev/packages/openssl/openssl
-native_0.9.7m.bb

ERROR: Information not available for target 'i386-darwin'

NOTE: <type 'exceptions.TypeError'>:argument of type 'NoneType' is not
iterable while evaluating:

${@siteinfo_get_endianess(d)}

NOTE: <type 'exceptions.TypeError'>:argument of type 'NoneType' is not
iterable while evaluating:

${@base_conditional('SITEINFO_ENDIANESS', 'le', '-DL_ENDIAN',
'-DB_ENDIAN', d)}     -DTERMIO -fexpensive-optimizations
-frename-registers -fomit-frame-pointer -O2 -Wall

NOTE: <type 'exceptions.TypeError'>:argument of type 'NoneType' is not
iterable while evaluating:

${@'${CFLAG}'.replace('-O2', '')}

ERROR: argument of type 'NoneType' is not iterable while parsing
/Users/elvis/Tool/overo-oe/org.openembedded.dev/packages/openssl/openssl
-native_0.9.8g.bb

NOTE: Handling BitBake files: \ (6264/6265) [99 %]ERROR: opening
/Users/elvis/Tool/overo-oe/user.collection/packages/*/*.bb: [Errno 2] No
such file or directory:
'/Users/elvis/Tool/overo-oe/user.collection/packages/*/*.bb'

 

NOTE: Parsing finished. 0 cached, 5989 parsed, 272 skipped, 0 masked.

ERROR: Parsing errors found, exiting...

elvis-dowsons-macbook-pro:gawk-3.1.6 elvis$ 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20081203/7451ebbc/attachment-0002.html>


More information about the Openembedded-users mailing list