lehe wrote: > Thanks, Chet! > > I installed bashdb through Synaptic Package Manager of my Ubuntu 8.10 and it > was installed into /usr/share/bashdb/, /usr/bin/, /usr/lib/ etc. Not sure > these could be found by bash. > > How to know if DEBUGGER_START_FILE is defined in pathnames.h and define it > this way if not?
Run $ strings /bin/bash | grep bashdb /usr/local/share/bashdb/bashdb-main.inc to see where the installed bash looks for the debugger start file. If you don't get any output, bash isn't built with debugger support. You have to rebuild bash yourself to change pathnames.h. Or you could just symlink /usr/share/bashdb to /usr/local/share/bashdb. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/