• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Setting ddd environment variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting ddd environment variable


  • Subject: Setting ddd environment variable
  • From: Joe Koski <email@hidden>
  • Date: Mon, 23 May 2005 20:02:47 -0600

At the suggestion of a Linux user, I've built and installed ddd on my Mac
running OS X 10.3.9 with the intent of debugging g77 programs.

The entire build and install process went without any error messages or
problems. I'm using the lesstif libraries that I used to build geomview last
year. Indeed, ddd appears in /usr/local/bin.

When I try to use ddd, I get the message:

Joe-Koskis-Computer:~/Isis_Files/Dedicated_train_g77_debug jakoski$ ddd I3d
Error: No `Ddd' application defaults file
To resolve this problem, you can:
* set the XAPPLRESDIR environment variable to the location of the file
`Ddd', or
* set the DDD_HOME environment variable to the location of `ddd/Ddd', or
* install the `Ddd' file in the X application defaults directory, or
* recompile DDD with builtin app-defaults file;
  see the `--enable-builtin-app-defaults' option for details.

So I searched and found Ddd

Joe-Koskis-Computer:/usr jakoski$ find . -name Ddd -print
./local/share/ddd-3.3.11/ddd/Ddd

And added the line

export DDD_HOME=/usr/local/share/ddd-3.3.11/ddd/Ddd

First to both my .bashrc and then to .bash_profile. When I shut down and
restart X11 and export without arguments, I get the line

declare -x DDD_HOME="/usr/local/share/ddd-3.3.11/ddd/Ddd"

on the list. So far, so good.

When I go back to the program directory and type ddd I3d again, I still get
the same Error: No `Ddd' application defaults file, etc., etc.

I think I'm chasing my tail. I had the same results with the use of
XAPPLRESDIR.

Questions:

Am I declaring DDD_HOME correctly?

Where is the "X application defaults directory" located on a Mac?

Thanks for any help or suggestions.

Joe




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

  • Follow-Ups:
    • Re: Setting ddd environment variable
      • From: Joe Koski <email@hidden>
    • Re: Setting ddd environment variable
      • From: Greg Parker <email@hidden>
    • Re: Setting ddd environment variable
      • From: Sean Ahern <email@hidden>
    • Re: Setting ddd environment variable
      • From: Don MacQueen <email@hidden>
  • Prev by Date: Re: setting up default font size for xterm
  • Next by Date: Re: Run X11 apps from Applescript - works no longer in Tiger?
  • Previous by thread: putting X to sleep
  • Next by thread: Re: Setting ddd environment variable
  • Index(es):
    • Date
    • Thread