New submission from Benny K J:
When cross compiling Python for ARM many of the extension modules are not build
However when compiling for the native platform the extension modules are
properly build.
Cross Compilation Steps
===
CONFIG_SITE=config.site CC=arm-linux
Changes by Benny K J :
--
type: -> compile error
___
Python tracker
<http://bugs.python.org/issue28444>
___
___
Python-bugs-list mailing list
Unsubscrib
Benny K J added the comment:
Thank you for the response.
I'm not too sure how to set the root directory for arm headers and libraries in
the configure command line.
So I've tried the below, but still not all of the extensions modules was not
build (e.g math, socket, selec
Benny K J added the comment:
Could you please tell me if the decision to make the extension modules like
math, socket, select etc taken in the configure step or is it left to the
Makefile.
Also could you please give me some hints on where to look for on how this
decision is made (e.g file
Benny K J added the comment:
Thank you for your response.
Please note that I haven't touched the Modules/Setup.local or Modules/Setup or
the global variable `disabled_module_list` in setup.py
However I'm noticing that the math is commented in the Modules/Setup on both
cross co
Benny K J added the comment:
Attaching the modules/set-up for natively building on x86_64
--
Added file: http://bugs.python.org/file45100/setup_x86_x86
___
Python tracker
<http://bugs.python.org/issue28
Benny K J added the comment:
Thank you for the response.
Yes I've downloaded the XZ compressed source from python.org
Based on your comment I've double checked the MD5 with
https://www.python.org/downloads/release/python-352/
benny@whachamacallit:~/Downloads$ md5sum Python-3.
Benny K J added the comment:
please let me know if there is any additional steps I need to follow when
building from the source downloaded from python.org
--
___
Python tracker
<http://bugs.python.org/issue28
Benny K J added the comment:
Thank you for your response
Yes. There is a python 3.5 that is installed on the system (from apt-get)
benny@whachamacallit:~$ which python3
/usr/bin/python3
benny@whachamacallit:~$ python3
Python 3.5.2 (default, Sep 10 2016, 08:21:44)
[GCC 5.4.0 20160609] on
Benny K J added the comment:
To eliminate the issues introduced by the native python on the Ubuntu 16.04
host, I've set up a new Ubuntu Host with all the native python packages removed.
But now when I try to build the make fails saying:
arm-linux-gnueabihf-gcc -shared
-L/home/u
Benny K J added the comment:
@Xavier de Gaye : Thanks a lot for helping.
Unfortunately I didn't notice your last post (Date: 2016-10-15 11:13). Kindly
ignore my last quires on the native Python.
I'll follow your steps and report back the re
Benny K J added the comment:
Thank you for the support and the detailed explanation on why the native python
is necessary.
I'm now able to successfully compile all the extension modules on an Ubuntu
Machine where there isn't any Python packages installed.
I'll go ahead and com
Benny K J added the comment:
I've confirmed that the suggested steps works fine on Ubuntu 14.04 as well as
16.04 versions
standard procedure for cross-compilation:
* Configure the python source, for example update Modules/Setup.
* Build python natively out of the source tr
Benny K J added the comment:
Thank you for the response and really appreciate the quick patch.
The "removed_modules.patch" applied cleanly on the Python sources downloaded
from:
https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz
and worked SUCCESSFULLY on HOST:
Ubuntu
Changes by Benny K J :
Added file:
http://bugs.python.org/file45110/python_3_5_2_remove_modules.config.log
___
Python tracker
<http://bugs.python.org/issue28444>
___
___
Changes by Benny K J :
Added file:
http://bugs.python.org/file45112/python_3_6_0b2_remove_modules.config.log
___
Python tracker
<http://bugs.python.org/issue28
Benny K J added the comment:
The "removed_modules.patch" applied cleanly on the Python 3.6.0b2 sources
downloaded from:
https://www.python.org/ftp/python/3.6.0/Python-3.6.0b2.tar.xz
and worked SUCCESSFULLY
The environment is the same as in my last post
Attached please find the
17 matches
Mail list logo