<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 1/8/2015 3:52 PM, Mr. Andrei Chichak
wrote:<br>
</div>
<blockquote
cite="mid:92637D69-B1ED-4484-9508-C8951B39E14A@chichak.ca"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">I’m
installing the head of RTEMS onto a Mac OSX 10.10.1 (Yosemite)
box.</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;"><br>
</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">I
use the following script to grab the latest copy of
source-builder and get stuff set up for ARM:</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;"><br>
</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;"> cd</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">
mkdir -p development/rtems/src</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">
cd development/rtems/src</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">
git clone <a moz-do-not-send="true"
href="git://git.rtems.org/rtems-source-builder.git">git://git.rtems.org/rtems-source-builder.git</a></div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">
cd rtems-source-builder</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">
source-builder/sb-check</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">
source-builder/sb-check</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">
cd rtems</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">
../source-builder/sb-set-builder --list-bsets</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">
../source-builder/sb-set-builder —log=l-arm.txt
—prefix=$HOME/development/rtems/4.11 4.11/rtems-arm</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;"><br>
</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">(verbose,
and meant for puny humans, but it got the job done on my laptop)</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;"><br>
</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">After
about an hour the build bombs on not finding a reasonable
version of python2.7. (log fragment at bottom)</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;"><br>
</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">
<div style="margin: 0px;">uws105675usr:~ andreichichak$ python
-V</div>
<div style="margin: 0px;">Python 2.7.9</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;">uws105675usr:~ andreichichak$
python2.7 -V</div>
<div style="margin: 0px;">Python 2.7.9</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;">
<div style="margin: 0px;">uws105675usr:~ andreichichak$ which
python</div>
<div style="margin: 0px;">/Library/Frameworks/Python.framework/Versions/2.7/bin/python</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;">uws105675usr:~ andreichichak$ which
python2.7</div>
<div style="margin: 0px;">/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;">I’m not sure what the problem could
be. I tried installing python 2.7.[2 4 5 7 9] and all bomb
with the same result.</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;">I installed the latest Xcode and
command line tools and got macports up to date (for xz and
cvs).</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;">Any ideas, or at least does anyone
have a command that I can issue that can fail in less than
an hour?</div>
<div style="margin: 0px;"><br>
</div>
</div>
</div>
</blockquote>
I think the gdb probe to find Python 2.7 development libraries is
failing.<br>
There should be a config.log in the directory of the failure. See
what <br>
it failed about specifically. You may just be missing something to
install<br>
on your host.<br>
<br>
Chris will be awake soon and may have more insight on the Mac and
RSB. :)<br>
<blockquote
cite="mid:92637D69-B1ED-4484-9508-C8951B39E14A@chichak.ca"
type="cite">
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">
<div style="margin: 0px;">
<div style="margin: 0px;">Thanks,</div>
<div style="margin: 0px;">Andrei</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;">Final l-arm.txt fragment :</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;"><br>
</div>
</div>
</div>
<div style="margin: 0px; font-size: 10px; font-family: Monaco;">
<div style="margin: 0px;">=== configuring in build-gnulib
(/Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems4.11-gdb-7.8.1-1/build/gdb/build-gnulib)</div>
<div style="margin: 0px;">configure: running /bin/sh
../../../gdb-7.8.1/gdb/gnulib/configure
--disable-option-checking
'--prefix=/Users/andreichichak/development/rtems/4.11'
'--with-system-zlib' '--verbose' '--disable-nls'
'--without-included-gettext' '--disable-win32-registry'
'--disable-werror' '--enable-sim' '--without-zlib'
'--with-expat' '--with-python'
'--bindir=/Users/andreichichak/development/rtems/4.11/bin'
'--exec-prefix=/Users/andreichichak/development/rtems/4.11'
'--includedir=/Users/andreichichak/development/rtems/4.11/include'
'--libdir=/Users/andreichichak/development/rtems/4.11/lib'
'--mandir=/Users/andreichichak/development/rtems/4.11/share/man'
'--infodir=/Users/andreichichak/development/rtems/4.11/share/info'
'--program-transform-name=s&^&arm-rtems4.11-&'
'--build=x86_64-apple-darwin14.0.0'
'--host=x86_64-apple-darwin14.0.0' '--target=arm-rtems4.11'
'build_alias=x86_64-apple-darwin14.0.0'
'host_alias=x86_64-apple-darwin14.0.0'
'target_alias=arm-rtems4.11' 'CC=/usr/bin/cc -O2 -pipe
-fbracket-depth=1024
-I/Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/tmp/sb-andreichichak/4.11/rtems-arm/Users/andreichichak/development/rtems/4.11/include'
'CFLAGS=-g -O2' 'LDFLAGS= -Wl,-no_pie
-L/Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/tmp/sb-andreichichak/4.11/rtems-arm/Users/andreichichak/development/rtems/4.11/lib'
'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y'
--cache-file=./config.cache
--srcdir=../../../gdb-7.8.1/gdb/gnulib</div>
<div style="margin: 0px;">configure: creating cache
./config.cache</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;">dot dot dot</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;">checking for shared library run path
origin… done</div>
<div style="margin: 0px;">checking for libexpat... yes</div>
<div style="margin: 0px;">checking how to link with libexpat...
-L/Users/andreichichak/development/rtems/4.11/lib -lexpat</div>
<div style="margin: 0px;">checking for XML_StopParser... yes</div>
<div style="margin: 0px;">checking whether to use python... yes</div>
<div style="margin: 0px;">checking for python...
/Library/Frameworks/Python.framework/Versions/2.7/bin/python</div>
<div style="margin: 0px;">checking for python2.7... no</div>
<div style="margin: 0px;">configure: error: python is missing or
unusable</div>
<div style="margin: 0px;">make[1]: *** [configure-gdb] Error 1</div>
<div style="margin: 0px;">make: *** [all] Error 2</div>
<div style="margin: 0px;">shell cmd failed: /bin/sh -ex
/Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems4.11-gdb-7.8.1-1/doit</div>
<div style="margin: 0px;">error: building
arm-rtems4.11-gdb-7.8.1-1</div>
<div style="margin: 0px;"> See error report:
rsb-report-arm-rtems4.11-gdb-7.8.1-1.txt</div>
<div style="margin: 0px;">Build Set: Time 1:00:56.329867</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;">Final
rsb-report-arm-rtems4.11-gdb-7.8.1-1.txt fragment:</div>
<div style="margin: 0px;"><br>
</div>
<div style="margin: 0px;">
<div style="margin: 0px;">checking for XML_StopParser... yes</div>
<div style="margin: 0px;">checking whether to use python...
yes</div>
<div style="margin: 0px;">checking for python...
/Library/Frameworks/Python.framework/Versions/2.7/bin/python</div>
<div style="margin: 0px;">checking for python2.7... no</div>
<div style="margin: 0px;">configure: error: python is missing
or unusable</div>
<div style="margin: 0px;">make[1]: *** [configure-gdb] Error 1</div>
<div style="margin: 0px;">make: *** [all] Error 2</div>
<div style="margin: 0px;">shell cmd failed: /bin/sh -ex
/Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems4.11-gdb-7.8.1-1/doit</div>
</div>
<div style="margin: 0px; min-height: 14px;"><br>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Joel Sherrill, Ph.D. Director of Research & Development
<a class="moz-txt-link-abbreviated" href="mailto:joel.sherrill@OARcorp.com">joel.sherrill@OARcorp.com</a> On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985</pre>
</body>
</html>