unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: rocky <rocky@gnu.org>
To: help-gnu-emacs@gnu.org
Cc: rocky@gnu.org, help-gnu-emacs@gnu.org
Subject: Re: debugging bash script in emacs using bashdb
Date: Fri, 15 Jun 2012 14:22:19 -0700 (PDT)	[thread overview]
Message-ID: <f81c0c5b-0e4d-4778-9fa4-bb35d7d711d3@googlegroups.com> (raw)
In-Reply-To: <mailman.2896.1339792385.855.help-gnu-emacs@gnu.org>

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



  parent reply	other threads:[~2012-06-15 21:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-29 23:22 debugging bash script in emacs using bashdb fiftyeight
2011-06-30  6:41 ` Andreas Röhler
2011-06-30 11:08   ` Peter Dyballa
2011-06-30 13:08 ` rocky
     [not found] ` <mailman.738.1309439719.785.help-gnu-emacs@gnu.org>
2012-06-15 19:49   ` zackp
2012-06-15 20:04     ` zack.perry
2012-06-15 21:18     ` Rocky Bernstein
     [not found]   ` <mailman.2896.1339792385.855.help-gnu-emacs@gnu.org>
2012-06-15 21:22     ` rocky [this message]
2012-06-16 18:42       ` zackp
     [not found] ` <mailman.706.1309416118.785.help-gnu-emacs@gnu.org>
2012-06-15 21:28   ` rocky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f81c0c5b-0e4d-4778-9fa4-bb35d7d711d3@googlegroups.com \
    --to=rocky@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).