help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging bash script in emacs using bashdb


From: zackp
Subject: Re: debugging bash script in emacs using bashdb
Date: Fri, 15 Jun 2012 12:49:59 -0700 (PDT)
User-agent: G2/1.0

Hi,

I just tried to install the dbgr package again using the following bash script 
posted on git hub:

#!/bin/bash
for pkg in emacs-{test-unit,load-relative,loc-changes,dbgr} ; do 
     echo Trying to install ${pkg}...
     git clone http://github.com/rocky/${pkg}.git
     (cd $pkg && \
         sh ./autogen.sh && ./configure && make && make check && sudo make 
install
     )
done

At the end, I got:

make -C ../../test check
make[3]: Entering directory `/root/emacs-dbgr/test'
(cd ../test && /usr/bin/emacs --batch --no-site-file --no-splash --load 
test-bp.el)
Cannot open load file: test-simple
make[3]: *** [test-bp.run] Error 255
make[3]: Leaving directory `/root/emacs-dbgr/test'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/root/emacs-dbgr/dbgr/debugger'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/emacs-dbgr/dbgr'
make: *** [check-recursive] Error 1

> > say but I just tells me "cannot open load file".
> > 
> > Can anybody tell me how I debug bash scripts using emacs?
> > either with the emacs-dbgr library or anything else
> 
> 
> I think I found the problem (which was introduced recently) and it should be 
> fixed now. So try again. Thanks.

I am using GNU Emacs 23.2.1 in Ubuntu 11.04 64bit.

root@nb1:~# emacs --version
GNU Emacs 23.2.1
Copyright (C) 2010 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

In emacs, as myself (regular user, not 'root'), I also encountered the "cannot 
open load file" error too.

I would appreciate any help.

Regards,

Zack


reply via email to

[Prev in Thread] Current Thread [Next in Thread]