From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rocky Newsgroups: gmane.emacs.help Subject: Re: debugging bash script in emacs using bashdb Date: Fri, 15 Jun 2012 14:22:19 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <31959141.post@talk.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1339796419 11893 80.91.229.3 (15 Jun 2012 21:40:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2012 21:40:19 +0000 (UTC) Cc: rocky@gnu.org, help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 15 23:40:18 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SfeFc-0000se-Si for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jun 2012 23:40:17 +0200 Original-Received: from localhost ([::1]:40656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfeFc-0007c4-Lu for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jun 2012 17:40:16 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 73 Original-NNTP-Posting-Host: 71.183.236.17 Original-X-Trace: posting.google.com 1339796201 30776 127.0.0.1 (15 Jun 2012 21:36:41 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 15 Jun 2012 21:36:41 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=71.183.236.17; posting-account=jKjGDQoAAABKN2iauJtD3DV5oMZpXuQo User-Agent: G2/1.0 Original-Xref: usenet.stanford.edu gnu.emacs.help:192859 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85258 Archived-At: I have updated that install script to also install test-simple now. I'm so= rry for the breakage.=20 The longer story is that I've been converting tests that validate emacs-dbg= r 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 any= one other than myself might be using it let alone installing it for the fir= st time. By the way, I think test-simple is cool. My epiphany on this came from a li= ttle talk I gave http://rocky.github.com/NYC-Lisp-Elisp-talk where I realiz= ed that needed too many slide to describe how to write tests.=20 On Friday, June 15, 2012 3:49:59 PM UTC-4, zackp wrote: > Hi, >=20 > I just tried to install the dbgr package again using the following bash s= cript posted on git hub: >=20 > #!/bin/bash > for pkg in emacs-{test-unit,load-relative,loc-changes,dbgr} ; do=20 > echo Trying to install ${pkg}... > git clone http://github.com/rocky/${pkg}.git > (cd $pkg && \ > sh ./autogen.sh && ./configure && make && make check && sudo mak= e install > ) > done >=20 > At the end, I got: >=20 > make -C ../../test check > make[3]: Entering directory `/root/emacs-dbgr/test' > (cd ../test && /usr/bin/emacs --batch --no-site-file --no-splash --load t= est-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 >=20 > > > say but I just tells me "cannot open load file". > > >=20 > > > Can anybody tell me how I debug bash scripts using emacs? > > > either with the emacs-dbgr library or anything else > >=20 > >=20 > > I think I found the problem (which was introduced recently) and it shou= ld be=20 > > fixed now. So try again. Thanks. >=20 > I am using GNU Emacs 23.2.1 in Ubuntu 11.04 64bit. >=20 > 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. >=20 > In emacs, as myself (regular user, not 'root'), I also encountered the "c= annot open load file" error too. >=20 > I would appreciate any help. >=20 > Regards, >=20 > Zack