Python2.7-dev and cross-compiler
Agostino Mascitti
agostino.mascitti at student.univaq.it
Mon Feb 29 21:58:00 UTC 2016
Dear all,
I sent the following email some days ago (see below).
Now I think I have the solution:
sudo apt-get install python-dev
It downloaded
libpython-dev
The following NEW packages will be installed:
libpython-dev python-dev
As you can see, compilation of the cross-compiler has successed:
installing: sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1 -> /home/agostino/development/rtems/4.12
installing: sparc-rtems4.12-gcc-6-20160124-newlib-2.3.0.20160104-x86_64-linux-gnu-1 -> /home/agostino/development/rtems/4.12
installing: sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1 -> /home/agostino/development/rtems/4.12
installing: rtems-tools-HEAD-1 -> /home/agostino/development/rtems/4.12
cleaning: expat-2.1.0-x86_64-linux-gnu-1
cleaning: sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1
cleaning: sparc-rtems4.12-gcc-6-20160124-newlib-2.3.0.20160104-x86_64-linux-gnu-1
cleaning: sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1
cleaning: rtems-tools-HEAD-1
Build Set: Time 0:58:26.189077
Best regards,
Agostino
Dear all,
I have a problem while compiling RTEMS cross-compiler. I am using Elementary OS 64 bit (based on Ubuntu).
These are the command I use:
sudo apt-get build-dep binutils gcc g++ gdb unzip git python2.7-dev
export PATH=$HOME/development/rtems/4.11/bin:$PATH
cd
mkdir -p development/rtems/src
cd development/rtems/src
git clone git://git.rtems.org/rtems-source-builder.git
cd rtems-source-builder
source-builder/sb-check (answer is that Environment is ok)
cd rtems
../source-builder/sb-set-builder --log=l-sparc.txt --prefix=$HOME/development/rtems/4.11 4.11/rtems-sparc 3
At this point the program makes me wait 30 minutes, and then....Build failed!
I checked the error log file and this is the result:
checking for XML_StopParser... yes
checking whether to use python... yes
checking for python... /usr/bin/python
checking for python2.7... no
configure: error: python is missing or unusable
make[1]: *** [configure-gdb] Error 1
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'
make: *** [all] Error 2
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
error: building sparc-rtems4.11-gdb-7.9-x86_64-linux-gnu-1
But if I repeat
sudo apt-get install python2.7-dev
result is
Reading package lists... Done
Building dependency tree
Reading state information... Done
python2.7-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
In fact:
python --version
Result:
Python 2.7.6
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...
Thank you for your help.
Best regards,
Agostino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160229/5ba7ac4e/attachment.html>
More information about the users
mailing list