python exception No module named gdb:

后端 未结 4 1524
半阙折子戏
半阙折子戏 2020-12-17 20:35

I\'ve just compiled gdb 7.8 from source in my home directory on a server machine running linux. I had previously been using gdb 7.6, and aside from

4条回答
  •  误落风尘
    2020-12-17 21:23

    I just ran into this and wanted to share what I found. During compilation, specifically the 'make install' step, I noticed this message:

    WARNING: `makeinfo' is missing on your system.  You should only need it if
             you modified a `.texi' or `.texinfo' file, or any other file
             indirectly affecting the aspect of the manual.  The spurious
             call might also be the consequence of using a buggy `make' (AIX,
             DU, IRIX).  You might want to install the `Texinfo' package or
             the `GNU make' package.  Grab either from any GNU archive site.
    

    It sounds as if it's OK that I don't have makeinfo, but in fact it led to the error that the OP asked about. After installing texinfo I then reran make install and ran gdb with no python error message.

提交回复
热议问题