[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: debugging bash script in emacs using bashdb
From: |
rocky |
Subject: |
Re: debugging bash script in emacs using bashdb |
Date: |
Fri, 15 Jun 2012 14:22:19 -0700 (PDT) |
User-agent: |
G2/1.0 |
I have updated that install script to also install test-simple now. I'm sorry
for the breakage.
The longer story is that I've been converting tests that validate emacs-dbgr to
use a much simpler test framework. I'm in the middle of converting the tests.
As I rarely get feedback on emacs-dbgr I tend to lose site that anyone other
than myself might be using it let alone installing it for the first time.
By the way, I think test-simple is cool. My epiphany on this came from a little
talk I gave http://rocky.github.com/NYC-Lisp-Elisp-talk where I realized that
needed too many slide to describe how to write tests.
On Friday, June 15, 2012 3:49:59 PM UTC-4, zackp wrote:
> 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