unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: zackp <zack.perry@sbcglobal.net>
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 12:49:59 -0700 (PDT)	[thread overview]
Message-ID: <cc92e708-6be7-4374-908a-4d17bf1450f1@googlegroups.com> (raw)
In-Reply-To: <mailman.738.1309439719.785.help-gnu-emacs@gnu.org>

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 19:49 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 [this message]
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
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=cc92e708-6be7-4374-908a-4d17bf1450f1@googlegroups.com \
    --to=zack.perry@sbcglobal.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rocky@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).