On 1/16/14 9:54 AM, Thomas Schneider wrote:
> Alexander:
>
>> That leads me to think that Fink's xfig install is probably setting
>> things up properly, and that the extra 'Fig' file that Brian
>> suggested might be the problem.  A likely place would be in
>> /usr/X11/share/X11/app-defaults.
>
> I have that directory but there is no Fig file there.
>
>> Also, what do you get from
>> "printenv XAPPLRESDIR"?  I have /sw/etc/app-defaults/
>
> % printenv XAPPLRESDIR
> %
>
> I have /sw/etc/app-defaults/.  It contains a Fig file
> with the line:
> Fig.version:                    3.2.5b
>
> That's weird since
>
> % which xfig
> /sw/bin/xfig
>
>> If there's no extra 'Fig' lying around, then compare what you have with:
>>
>> $ ls -l /sw/etc/app-defaults/Fig
>> -rw-r--r--  1 root  admin  22724 Jan 15 14:40 /sw/etc/app-defaults/Fig
>> $ file /sw/etc/app-defaults/Fig
>> /sw/etc/app-defaults/Fig: ASCII text
>
> As far as I know I don't have an extre Fig.
>
>> If something's amiss your 'Fig' might be rotten.  In that case try
>> "fink reinstall xfig".
>
> % fink reinstall xfig
> Password:
> Information about 8929 packages read in 1 seconds.
> The following package will be reinstalled:
>   xfig
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i 
> /sw/fink/dists/stable/main/binary-darwin-x86_64/graphics/xfig_3.2.5b-3_darwin-x86_64.deb
> (Reading database ... 31809 files and directories currently installed.)
> Preparing to replace xfig 3.2.5b-3 (using 
> .../xfig_3.2.5b-3_darwin-x86_64.deb) ...
> Unpacking replacement xfig ...
> Setting up xfig (3.2.5b-3) ...
>
> Still get the message.
>
>> Then, if that fails, try "fink rebuild xfig".
>
> % fink rebuild xfig
> Information about 8929 packages read in 1 seconds.
> The following package will be rebuilt:
>   xfig
> Setting runtime build-lock...
> ...
> Unpacking replacement xfig ...
> Setting up xfig (3.2.5b-3) ...
>
> Updating the list of locally available binary packages.
> Scanning dists/stable/main/binary-darwin-x86_64
> Changed package: 
> dists/stable/main/binary-darwin-x86_64/graphics/xfig_3.2.5b-3_darwin-x86_64.deb
> %
>
> I still get the message ...
>
> Obviously fig doesn't know where to look but the file is in a sensible
> place.  I thin that it needs to be told the right thing at compile
> time.
>
>> In any case, we should update to the new version.
>
> COOL!!!!
>
> Tom
>
>    Thomas D. Schneider, Ph.D.
>    Senior Investigator
>    National Institutes of Health
>    National Cancer Institute
>    Center for Cancer Research
>    Gene Regulation and Chromosome Biology Laboratory
>    Molecular Information Theory Group
>    Frederick, Maryland  21702-1201
>    schne...@mail.nih.gov
>    http://schneider.ncifcrf.gov/ (current link)
>    http://alum.mit.edu/www/toms  (permanent link)
>

After a bit of checking, I found that we explicitly set xfig to look in 
the right place for its app-default file at compile time. The lookup can 
be overridden by environment variables and dot files, as Martin 
mentioned in his message, so I'd recommend checking on what he mentioned.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to