python help(gdb) doesn't work in my local build.

Michael Snyder msnyder@vmware.com
Fri Mar 11 21:03:00 GMT 2011


Tom Tromey wrote:
> Michael> It says:
> Michael> No such file or directory: '/usr/local/share/gdb/python/gdb'
> 
> Michael> 1) What do I do to tell it where to look locally?
> Michael> 2) What do I do to install this by hand?
> 
> I don't think that is enough information to know what is going on in
> your scenario, but I would hazard a guess that you did not `make
> install', but that the python module is still referring to the install
> path.

Correct -- I am running gdb from my build tree.

> 
> Maybe this is fixable.  Or you could make install.

How would you get it to work from your build tree?





More information about the Gdb mailing list