[6478] in SIPB bug reports
Re: XFig problem
daemon@ATHENA.MIT.EDU (Salvatore Valente)
Fri Sep 12 16:40:16 1997
Date: Fri, 12 Sep 1997 16:39:40 -0400
To: bug-sipb@MIT.EDU
Cc: amu@MIT.EDU
In-Reply-To: "[6477] in SIPB bug reports"
From: Salvatore Valente <svalente@MIT.EDU>
More info about the xfig problem:
1. xfig doesn't actually need -lresolv at all, since it doesn't use
hesiod. It was linked with -lresolv because of these lines in the
Imakefile:
XCOMM This fixes a bug in the Athena xmkmf templates.
#if defined(SunArchitecture)
CC = gcc
PREPROCESSCMD = ${CC} -E
EXTRA_LIBRARIES = -lsocket -lresolv -lnsl
#endif
For 8.0, the EXTRA_LIBRAIES line should have been "-lsocket -lnsl".
For 8.1, the whole thing is unnecessary. I just commented out the
section and rebuilt on an 8.1 system which gave me an executable that
seems to work with 8.0 and 8.1.
2. Apparently, Aaron added /mit/sipb/share/X11/%T/%N%C to the start of
the xfig XFILESEARCHPATH. I'd guess that the %C is supposed to allow
it to use the Fig-Color Xresources. A note should be sent to bug-sipb
about this cool new feature. (I'm not familiar with %C. Should it
get the color resources automatically, or do I have to specify some
command line option or environment variable to use it?)
3. The Xaw3d library was recently installed in the sipb locker. Just
for kicks, I linked xfig (on Solaris) with that library and installed
it as xfig3d. This is a temporary hack. Try it out. If people seem
to like it, I'll reinstall xfig for all platforms using the Xaw3d
library, and if not, I'll just erase the Sun xfig3d program.
(Frankly, I think it looks stupid. Maybe it would look better with
color resources...?)
-Sal.