Unsolved Newbie question regarding multimediawidgets missing issue
-
@JonB said in Newbie question regarding multimediawidgets missing issue:
@MichRX7
That is old Python2. Linux ships withpython
command pointing to Python2, butpython3
command to point to Python3.I don't think you have to tell Qt Creator anything about Python. As I said, what you need to look at is what version of
gdb
you have/it is using. The implication of the error message is that it is thegdb
which is not good.See also e.g. http://sourceware.org/gdb/current/onlinedocs/gdb/Python.html. It says:
This feature is available only if GDB was configured using
--with-python
.Maybe your
gdb
is not built with that.I'm afraid this is all outside my experience.
So, how do I get the gdb "which is good"?
-
Do I download this Linux file from here, edit the versions inside and run it somehow to make a working gdb?
I'd really like to actually build something inside QT Creator, lol...
-
One way to check it gdb was built with python is to call
ldd $(which gdb)
. It will list the libraries gdb is linked against and you should have the python library if gdb was built against it including the version of Python. -
@MichRX7 What Linux distribution and version do you actually use?
-
@SGaist said in Newbie question regarding multimediawidgets missing issue:
ldd $(which gdb)
ldd $(which gdb)
linux-gate.so.1 (0xb7f38000)
libreadline.so.7 => /lib/i386-linux-gnu/libreadline.so.7 (0xb77e7000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb77c8000)
libtinfo.so.6 => /lib/i386-linux-gnu/libtinfo.so.6 (0xb779f000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb7799000)
libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb775e000)
libipt.so.2 => /lib/i386-linux-gnu/libipt.so.2 (0xb773d000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7637000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7459000)
/lib/ld-linux.so.2 (0xb7f3a000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7438000) -
@jsulm said in Newbie question regarding multimediawidgets missing issue:
@MichRX7 What Linux distribution and version do you actually use?
Debian GNU/Linux 10 (buster)
Running it on an old Dell Latitude D630 I found sitting in a box. :) -
Which version of gdb do you have ? I thought that the buster current version was built with python support.
-
@SGaist said in Newbie question regarding multimediawidgets missing issue:
Which version of gdb do you have ? I thought that the buster current version was built with python support.
gdb --version
GNU gdb (Debian 8.2.1-2+b3) 8.2.1 -
@MichRX7 This site tells me that GDB on that Debian version uses Python: https://packages.debian.org/buster/gdb
Are you sure you installed the default gdb package? -
@jsulm Unsure, on that box I installed QT and Creator direct from the download page. Unless I did something trying to follow the directions somewhere on how to cross-compile on a raspberry pi (unsuccessfully follow that is) I do not know.