[issue29541] Python3 error while building on Alt-F

2017-02-13 Thread Honza Skýpala

Honza Skýpala added the comment:

1. What's the result of ```./python -E```?

Python 3.6.0 (default, Feb 13 2017, 08:16:44)
[GCC 4.5.4 20120202 (prerelease)] on linux
Type "help", "copyright", "credits" or "license" for more information.

2. Does `import crypt` run fine in ./python?

No, gives the error
./python: can't resolve symbol 'crypt'

3. Are there pre-installed Python on Alt-F? Uninstall them first may help

No, there is no python preinstalled (no python3, not even python2)

4. Is there a symbol called crypt in `nm ./python`?

No, `nm ./python | grep crypt` gives no results

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29541>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29541] Python3 error while building on Alt-F

2017-02-13 Thread Honza Skýpala

Honza Skýpala added the comment:

Hi Chi Hsuan Yen, thanks for trying to help, unfortunately no change, still 
getting the same error.

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29541>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29541] Python3 error while building on Alt-F

2017-02-12 Thread Honza Skýpala

New submission from Honza Skýpala:

While trying to build Python 3.6.0 on emmbedded Linux device — D-Link DNS-320L 
running Alt-F firmware (Linux 3.18.28 #1 Fri Jun 17 14:44:39 WEST 2016 armv5tel 
GNU/Linux), it fails with

./python: can't resolve symbol 'crypt'
make: *** [sharedmods] Error 1

I can see the python executable is compiled fine in the source directory, if I 
try to run it, then it does work, including some quick tests (calculations, 
os.getcwd, random.randint -- works fine). 

I can also see that compiling the crypt modules did not report any errors and 
the .o file is present on the disk. I guess it is some kind of linking error?

Attaching the log from the build.

--
components: Build
files: build.log
messages: 287666
nosy: Honza Skýpala
priority: normal
severity: normal
status: open
title: Python3 error while building on Alt-F
type: compile error
versions: Python 3.6
Added file: http://bugs.python.org/file46636/build.log

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29541>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com