R John Sandeman wrote:
R-John-Sandemans-Computer:~ rjsand$ $XAPPLRESDIR -bash: /sw/etc/app-defaults/: is a directory
Also my ~/.xinitrc file starts as follows
#!/bin/sh . /sw/bin/init.sh
Despite the above, xfig did not search /sw/etc/app-defaults although it did install the two Fig files there.; but it did see them when I switched them to /etc/X11/app-defaults with the symlink from the other.. The xfig error message was that - I did not have an up to date or installed app-defaults ---, and I should use "make install" to put the files in an app-defaults directory.
Does It looks as though something in the xfig start up is overriding the XAPPLRESDIR setting??
Did you say *how* you are starting xfig? Do you type "xfig" at the command prompt of the bash shell in which you have the XAPPLRESDIR environment variable? In this case, I am out of ideas.
Or do you start xfig by typing it into an xterm window, where you might have a different environment?
Or do you start it from the X11 "Applications" menu, in which case you have yet another environment?
I noticed when trying to export from xfig that it cannot find fig2dev, although it is in /sw/bin and I can run it from the command line, so is this also tied up with some "path" type issues?
This happens typically when xfig is started without decent environment.
What you can do to diagnose this further is: Start your xfig and then run
ps exww | grep xfig | grep -v grep
This will show you the complete environment in which xfig is running.
Perhaps I should remove all fink and X11 etc and start over?
Please don't. We have spent so much time on this, we should try to go to the end so that others can learn from it, too.
-- Martin
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
