well, I dont tested all, but at least error above was fixed by using build
script from https://github.com/cobbal/python-for-iphone and patch from
http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html
--
http://mail.python.org/mailman/listinfo/python-list
ドミトリ ステパヌシキン angelja...@gmail.com added the comment:
actually I changed all, that was needed to build Python static library for iOS
device(BTW it doesn't work for simulator, I got configure errors, I can't(or
have no time if u want) to resolve), but not much changes.
Want to see working
ドミトリ ステパヌシキン angelja...@gmail.com added the comment:
I embedded 2.7.2 static in iOS test app, and, at least print something is
worked.
Now I *sigh* need to make it compile and work on iPhone Simulator.
I'll try hard, and upload working script, if I'll can fix this mess.
--
ドミトリ ステパヌシキン angelja...@gmail.com added the comment:
fixed it for build BIG FAT binary. attached.
--
Added file: http://bugs.python.org/file25672/iOS-build272.sh
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14866
Ronald Oussoren ronaldousso...@mac.com added the comment:
Thanks for posting a working script. I was mostly interested in this because
I'll likely need this functionality myself in the near future ;-)
--
___
Python tracker rep...@bugs.python.org
On 5/20/2012 11:33 PM, angelja...@gmail.com wrote:
I'm trying to embed a part of python (core+some modules) in my iOS application
for internal scripting.
I have not read that anyone has run under iOS yet ;-). Good luck.
I started from compiling original unmodified Python source. Tried both
ドミトリ ステパヌシキン angelja...@gmail.com added the comment:
I tried look as deep as I can. The result from 3.2.3 port: it fails in
Python/getargs.c:convertsimple():line 709, error signed integer is less than
minimum. It parses some parameters, and we have an error on last, 5th
parameter. I really
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Most of the time, embedding python in this way requires precise control over
PYTHONPATH and PYTHONHOME. Did you try to modify them?
Something like this worked for me:
putenv(PYTHONPATH=/path/to/python-3.2.3/Lib);
ドミトリ ステパヌシキン angelja...@gmail.com added the comment:
thank You for answer. my problem was finally solved by using build script from
https://github.com/cobbal/python-for-iphone and patch from
http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html
--
Changes by Amaury Forgeot d'Arc amaur...@gmail.com:
--
resolution: - works for me
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14866
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
The build script you mentioned seems to be for python 2.6, did you have to
change anything beyond the version numbers to get it to build python 3.2 as
well?
--
___
Python tracker
Hello!
I'm trying to embed a part of python (core+some modules) in my iOS application
for internal scripting. I started from compiling original unmodified Python
source. Tried both 2.7.3 and 3.x latest source code. As I found no easy way to
configure it, just tried to run configure from Mac OS
: normal
status: open
title: 2.x,3.x iOS static build: Fatal Python error: exceptions bootstrapping
error.
type: crash
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14866
Changes by ドミトリ ステパヌシキン angelja...@gmail.com:
--
versions: -Python 3.1, Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14866
___
Changes by ドミトリ ステパヌシキン angelja...@gmail.com:
Added file: http://bugs.python.org/file25657/config.c
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14866
___
ドミトリ ステパヌシキン angelja...@gmail.com added the comment:
Call stack:
#00x300cba1c in __pthread_kill ()
#10x362e43ba in pthread_kill ()
#20x362dcbfe in abort ()
#30x00127d96 in Py_FatalError at
Changes by ドミトリ ステパヌシキン angelja...@gmail.com:
Added file: http://bugs.python.org/file25656/pyconfig.h
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14866
___
Changes by ドミトリ ステパヌシキン angelja...@gmail.com:
Added file: http://bugs.python.org/file25658/Python-3.2.3.tar.bz2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14866
___
18 matches
Mail list logo