[Python-Dev] Python3.5.4 Compiled on Linux gives the following error messgae

2017-10-10 Thread Richard Hinerfeld
richard@debian:~/Python-3.5.4$ ./python -m test -v test_gdb
== CPython 3.5.4 (default, Oct 10 2017, 00:27:44) [GCC 4.7.2]
==   Linux-3.2.0-4-686-pae-i686-with-debian-7.11 little-endian
==   hash algorithm: siphash24 32bit
==   /home/richard/Python-3.5.4/build/test_python_5566
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0,
optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0,
ignore_environment=0, verbose=0, bytes_warning=0, quiet=0,
hash_randomization=1, isolated=0)
0:00:00 load avg: 0.10 [1/1] test_gdb
test_gdb skipped -- gdb not built with embedded python support
1 test skipped:
test_gdb

Please note I have downloaded a new version of GDB and compiled it with
the config option --with-python.
I then installed it on my system.
I get the same error

Thank You
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Python3.5.4 Compiled on Linux gives the following error messgae

2017-10-10 Thread Victor Stinner
Hi,

2017-10-10 21:49 GMT+02:00 Richard Hinerfeld :
> test_gdb skipped -- gdb not built with embedded python support
> (...)
> Please note I have downloaded a new version of GDB and compiled it with
> the config option --with-python.
> I then installed it on my system.

Python looks for "gdb" program in the PATH. Did you include the path
where you installed the more recent and complete gdb in the PATH
environment variable?

Short extract of test_gdb.py:

proc = subprocess.Popen(["gdb", "-nx", "--version"], ...)

Victor
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com