Subject: Re: Xfig requires an install message
To: None <Jon.Drews@gmail.com>
From: Havard Eidnes <he@netbsd.org>
List: tech-pkg
Date: 09/23/2005 11:20:41
> After installing Xfig, I got this warning message:
>
> "Either you have a very old app-defaults file installed (Fig),
> or there is none installed at all.
> You should install the correct version or you may lose some features.=
> This may be done with "make install" in the xfig source directory."
>
> I looked in the work directory and discovered that the environment va=
riable
> XAPPLRESDIR=3D/usr/pkg/lib/X11/app-defaults/
> had to be set. In the users account. After doing this, Xfig's colors
> showed up and the warning message went away.
You most probably installed the xpkgwedge package (which is more
or less default for X11-using packages), and it has a MESSAGE
file with the following contents (OK, I substituted for ${PREFIX} with
the default path):
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
$NetBSD: MESSAGE,v 1.3 2003/10/19 07:16:33 grant Exp $
NOTES:
* You MUST set the environment variable XAPPLRESDIR in /etc/profile and=
/etc/csh.login by hand in order to make pkgs built with xpkgwedge run=
properly, e.g.
XAPPLRESDIR=3D/usr/pkg/lib/X11/app-defaults
export XAPPLRESDIR
and
setenv XAPPLRESDIR /usr/pkg/lib/X11/app-defaults
respectively.
If any users set XAPPLRESDIR in their own environment, these settings=
will not work -- such users need to set XUSERFILESEARCHPATH (syntax
can be found in XtResolvePathname(3Xt)).
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
You probably did not see this one fly by, and consequently, the
variables above have not been set on a system-wide basis.
Hmm, I wonder if the above action could or should not be automated.
The probability of this MESSAGE going by unnoticed is way too high.
However, it still would not solve the problem for the user doing an
immediate test after installing, as he would need to log in to have
the variables set...
Regards,
- H=E5vard