Martin and Dave
Perhaps I am digging myself a deeper hole then. However XAPPLRESDIR is set correctly viz
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??
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?
Perhaps I should remove all fink and X11 etc and start over?
John
On 16/10/2004, at 3:11 PM, Martin Costabel wrote:
R John Sandeman wrote:
Martin
I have looked up /sw/etc/app-defaults and the Fig and Fig-color files are in that directory. I have moved them to /etc/X11/app-defaults and done a symbolic link to the //sw/etc/app-defaults location as per all those files.
This has now cured the problem and with the ~/.Xresources file I can see the "help" html files etc.
So everthung now seems OK. Thanks very much for the assistance. Looking at the xfig.log file it looks as though the install script did put them into /sw/etc/app-defaults directly?
Yes, and by purpose: Fink avoids, if at all possible, to change anything outside of /sw. If you have, as you affirmed, the evironment variable XAPPLRESDIR set to /sw/etc/app-defaults, then actually /etc/X11/app-defaults is *not* searched for config files, *only* /sw/etc/app-defaults is.
Therefore there have to be symlinks inside /sw/etc/app-defaults pointing to the things in /etc/X11/app-defaults that were installed there outside of Fink. But the files installed by Fink will go into /sw/etc/app-defaults. If your xfig doesn't see them there, then there is still something wrong with the environment from which you start it.
-- 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
------------------------------------------------------- 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
