From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: zackp Newsgroups: gmane.emacs.help Subject: Re: debugging bash script in emacs using bashdb Date: Fri, 15 Jun 2012 12:49:59 -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 X-Trace: dough.gmane.org 1339789815 27843 80.91.229.3 (15 Jun 2012 19:50:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2012 19:50:15 +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 21:50:14 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 1SfcX6-0008N5-B6 for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jun 2012 21:50:12 +0200 Original-Received: from localhost ([::1]:48516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfcX6-00086f-7H for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jun 2012 15:50:12 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 53 Original-NNTP-Posting-Host: 108.216.152.159 Original-X-Trace: posting.google.com 1339789800 29808 127.0.0.1 (15 Jun 2012 19:50:00 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 15 Jun 2012 19:50:00 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=108.216.152.159; posting-account=_limrwoAAAAqv1fYHeQlckgJkMZ5otxg User-Agent: G2/1.0 Original-Xref: usenet.stanford.edu gnu.emacs.help:192853 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:85254 Archived-At: 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