R John Sandeman wrote:

Martin and Alex

On your advice I have opened an .xinitrc file in my home directory by copying over the xinitrc file from /xinit, The original problem still exists but I have now installed "xfig" from source. Everything went fine with the installation, and xfig opens and runs to a certain extent.
However it tells me on opening that I do not have an uptodate or existing "app-defaults" directory or file, so certain files which control colors etc and normally go into app-defaults, have not been installed. It tells me to do a "make install'' on these files. However I do not want to try anything that I am not cetain about in case I really upset the whole system.

The xfig package depends on the app-defaults package, so chances are that you have the Fink app-defaults package already installed. When you "source /sw/bin/init.sh" in your atartup scripts (for the shell and for X11 in the form of your ~/.xinitrc file), it sets the environment variable XAPPLRESDIR to /sw/etc/app-defaults in which directory you see among others the files Fig and Fig-color. This should be sufficient to stop xfig from complaining.


You should check if you are in the same situation.

I do have an app-defaults directory in /private/etc/X11, but not one in my home directory;- but also not an .Xresources , .Xservers etc, only Xauthority in the home directory. I am confused as I thought in installing packages using fink, all the necessary files and directories required are set up properly for Mac OS 10.3.5.

Fink sets up everything except your personal configuration in your home directory. For the latter, Fink usually gives you instructions. Read the Usage Notes by "fink describe xfig":


In my ~/.Xresources file I have the following lines concerning xfig:

Fig*customization: -color
Fig.browser: open %f
Fig.spellcheckcommand: ispell %f
Fig.pdfviewer: open -a "Adobe Reader" %f

--
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

Reply via email to