Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 5595  / 2 Years ago, thu, may 12, 2022, 7:12:48

ddd script.bsh does not open the script. It shows an our glass and if I want to close ddd, it says "bash is busy"...



I found an old message, but it didn't help.
https://lists.gnu.org/archive/html/ddd/2008-10/msg00006.html



I couldn't find ddd-3.3.12-test6.tar.gz, therefore I am using the ddd version from ubuntu repository. Also bashdb is already installed. Used apt-get install ddd bashdb.



Anyone able to use ddd for bash on Precise?


More From » bash

 Answers
0

I was able to get ddd and bashdb to play nice on Ubuntu 12.04 today:




  1. Remove the repo-supplied ddd:



    sudo apt-get remove ddd

  2. Fetch ddd v3.3.9 and install from source, e. g.:



    sudo apt-get build-dep ddd
    sudo apt-get install libmotif-dev
    wget http://ftp.gnu.org/gnu/ddd/ddd-3.3.9.tar.gz
    tar xvf ddd-3.3.9.tar.gz
    cd ddd-3.3.9
    ./configure
    make
    sudo make install


    Note: I had to make a single patch to the source code to get the build to work -- in ddd/strclass.C, we needed a #include <stdio.h>; at the top to define EOF.


  3. Make sure bashdb is installed:



    sudo apt-get install bashdb

  4. Launch with:



    ddd --debugger /usr/bin/bashdb -- {script name} {parameters}



Could not live without ddd + Bash.



Optional: gpg verification:



Search for sign on https://www.gnu.org/software/ddd/ will redirect to https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=ddd




  1. Download ddd-keyring.gpg.


  2. Import it into your key chain:



    gpg --import ddd-keyring.gpg

  3. Verify the signature:



    wget http://ftp.gnu.org/gnu/ddd/ddd-3.3.9.tar.gz.sig
    gpg --verify


[#37229] Friday, May 13, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
corsee

Total Points: 479
Total Questions: 122
Total Answers: 106

Location: Barbados
Member since Sat, May 9, 2020
4 Years ago
;