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

Victor Stinner victor.stinner at gmail.com
Tue Oct 10 17:03:18 EDT 2017


2017-10-10 21:49 GMT+02:00 Richard Hinerfeld <rhinerfeldnyc at gmail.com>:
> 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"], ...)


More information about the Python-Dev mailing list