<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<span id="ms-rterangepaste-start"></span>Dear all,<br>
<br>
I sent the following email some days ago (see below).<br>
Now I think I have the solution:<br>
sudo apt-get install python-dev<br>
        It downloaded<br>
libpython-dev<br>
                        The following NEW packages will be installed:<br>
                        libpython-dev python-dev<br>
                        <br>
                        As you can see, compilation of the cross-compiler has successed:<br>
installing: sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1 -> /home/agostino/development/rtems/4.12<br>
        installing: sparc-rtems4.12-gcc-6-20160124-newlib-2.3.0.20160104-x86_64-linux-gnu-1 -> /home/agostino/development/rtems/4.12<br>
        installing: sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1 -> /home/agostino/development/rtems/4.12<br>
        installing: rtems-tools-HEAD-1 -> /home/agostino/development/rtems/4.12<br>
        cleaning: expat-2.1.0-x86_64-linux-gnu-1<br>
        cleaning: sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1<br>
        cleaning: sparc-rtems4.12-gcc-6-20160124-newlib-2.3.0.20160104-x86_64-linux-gnu-1<br>
        cleaning: sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1<br>
        cleaning: rtems-tools-HEAD-1<br>
        Build Set: Time 0:58:26.189077<br>
        <br>
Best regards,<br>
Agostino<br>
<br>
Dear all,<br>
<br>
I have a problem while compiling RTEMS cross-compiler. I am using Elementary OS 64 bit (based on Ubuntu).<br>
<br>
These are the command I use:<br>
<br>
sudo apt-get build-dep binutils gcc g++ gdb unzip git python2.7-dev<br>
export PATH=$HOME/development/rtems/4.11/bin:$PATH<br>
cd<br>
mkdir -p development/rtems/src<br>
cd development/rtems/src<br>
 git clone git://git.rtems.org/rtems-source-builder.git<br>
cd rtems-source-builder<br>
source-builder/sb-check (answer is that Environment is ok)<br>
cd rtems<br>
../source-builder/sb-set-builder --log=l-sparc.txt --prefix=$HOME/development/rtems/4.11 4.11/rtems-sparc 3<br>
<br>
At this point the program makes me wait 30 minutes, and then....Build failed!<br>
I checked the error log file and this is the result:<br>
<br>
checking for XML_StopParser... yes<br>
checking whether to use python... yes<br>
checking for python... /usr/bin/python<br>
checking for python2.7... no<br>
configure: error: python is missing or unusable<br>
make[1]: *** [configure-gdb] Error 1<br>
make[1]: Leaving directory `/home/agostino/development/rtems/rsb/rtems-source-builder/rtems/build/sparc-rtems4.11-gdb-7.9-x86_64-linux-gnu-1/build'<br>
make: *** [all] Error 2<br>
shell cmd failed: /bin/sh -ex /home/agostino/development/rtems/rsb/rtems-source-builder/rtems/build/sparc-rtems4.11-gdb-7.9-x86_64-linux-gnu-1/doit<br>
error: building sparc-rtems4.11-gdb-7.9-x86_64-linux-gnu-1<br>
<br>
But if I repeat<br>
sudo apt-get install python2.7-dev<br>
result is<br>
Reading package lists... Done<br>
Building dependency tree       <br>
Reading state information... Done<br>
python2.7-dev is already the newest version.<br>
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.<br>
<br>
In fact:<br>
  python --version<br>
Result:<br>
  Python 2.7.6<br>
<br>
So could you please help me? I have already googled and found a topic like this. But there the answer was simply to check the official page, which is what I did...<br>
<br>
Thank you for your help.<br>
Best regards,<br>
Agostino<span id="ms-rterangepaste-end"></span>
<p><br>
</p>
</div>
</body>
</html>