> On Nov 18, 2016, at 05:04, Mike Wilkes <mike.wil...@hotmail.com> wrote:
> 
> After your fix of fig2dev I updated octave, and afterward could now install 
> xfig without any problem.  I then updated XQuartz to 2.7.11 this morning, and 
> it seems to be playing nicely with nedit and gv.  However, your link to 
> xfig.info <http://xfig.info/> seems to be broken.  

It wasn’t supposed to be a link.  My mailer was trying to be “helpful”.  

> I did find an xfig.info <http://xfig.info/> file under 
> /sw/fink/10.9-libcxx/local/main/finkinfo, and copied it to 
> /sw/fink/dists/local/main/finkinfo, but I imagine that is not the correct one.

Those are the same directory.  dists is a symlink to 10.9-libcxx.

> I also copied from the same directory ( 
> /sw/fink/10.9-libcxx/local/main/finkinfo ) the libxaw3dxft* files to 
> /sw/fink/dists/local/main/finkinfo .  So now I have
> 
> MacBook-Pro:~ Mike$ ls -al /sw/fink/dists/local/main/finkinfo
> total 48
> drwxr-xr-x  6 root  wheel   204 Nov 18 07:06 .
> drwxr-xr-x  4 root  wheel   136 Oct 10  2015 ..
> -rw-r--r--  1 root  wheel  8194 Nov 18 07:06 libxaw3dxft-api-tokens.patch
> -rw-r--r--  1 root  wheel  3507 Nov 18 07:06 libxaw3dxft.info 
> <http://libxaw3dxft.info/>
> -rw-r--r--  1 root  wheel   452 Nov 18 07:06 libxaw3dxft.patch
> -rw-r--r--  1 root  wheel  1848 Nov 18 07:00 xfig.info <http://xfig.info/>
> MacBook-Pro:~ Mike$ 
> 
> When I try to start xfig, however I get
> 
> MacBook-Pro:~ Mike$ xfig
> Warning: translation table syntax error: Unknown event type :   EnterWindow
> Warning: ... found while parsing '<EnterWindow>:
> highlight() '
> Warning: String to TranslationTable conversion encountered errors
> Warning: translation table syntax error: Unknown event type :   EnterWindow
> Warning: ... found while parsing '<EnterWindow>: highlight()'
> Warning: String to TranslationTable conversion encountered errors
> Warning: No type converter registered for 'String' to 'Relief' conversion.
> Error: Couldn't find per display information
> MacBook-Pro:~ Mike$ 
> 
> Is it the wrong x <http://xfig.info/>fig <http://xfig.info/>.info 
> <http://xfig.info/> file here?
> 
> 

You might be.  Check the following:

1)  Check whether you have installed the most current versions of the packages. 
 You should get something like the following:

$ fink list -t xfig libxaw3dxft
Information about 9954 packages read in 2 seconds.
 i      libxaw3dxft     1.6.2-6.2       Athena widget set with 3D look
 i      libxaw3dxft-shlibs      1.6.2-6.2       Athena widget set with 3D look
 i      xfig    3.2.6-1.2       Menu-driven tool to create graphical objects

If those aren’t up to date, update them.  If you don’t show the -6.2 and -1.2 
revisions for libxaw3dxft and xfig, respectively, download the .info files from 
my experimental area 
(https://github.com/akhansen/Fink-experimental/tree/master/libXt) again and put 
them in /sw/fink/dists/local/main/finkinfo 

2)  Verify that /sw/lib/libXaw3d.8.dylib has the right library linkage:

$ otool -L /sw/lib/libXaw3d.8.dylib
/sw/lib/libXaw3d.8.dylib:
        /sw/lib/libXaw3d.8.dylib (compatibility version 9.0.0, current version 
9.1.0)
        /opt/X11/lib/libXmu.6.dylib (compatibility version 9.0.0, current 
version 9.0.0)
        /opt/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current 
version 7.0.0)
        /opt/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current 
version 10.0.0)
        /opt/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current 
version 11.0.0)
        /sw/lib/xft2/lib/libXft.2.dylib (compatibility version 5.0.0, current 
version 5.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1238.0.0)

3) Verify that xfig has the right library linkage:

otool  -L /sw/bin/xfig
/sw/bin/xfig:
        /sw/lib/libXaw3d.8.dylib (compatibility version 9.0.0, current version 
9.1.0)
        /opt/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current 
version 7.0.0)
        /opt/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current 
version 10.0.0)
        /opt/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current 
version 16.0.0)
        /sw/lib/libjpeg.9.dylib (compatibility version 12.0.0, current version 
12.0.0)
        /sw/lib/libpng16.16.dylib (compatibility version 42.0.0, current 
version 42.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1238.0.0)


-- 
Alexander Hansen, Ph.D.
Fink User Liaison

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