Subject: Re: Installing Amaya
To: Johnny Lam <email@example.com>
From: Johnny Lam <firstname.lastname@example.org>
Date: 10/04/2001 16:42:23
On Thu, Oct 04, 2001 at 04:21:55PM -0700, Johnny Lam wrote:
> On Thu, Oct 04, 2001 at 03:00:27PM -0500, Frederick Bruckman wrote:
> > On Thu, 4 Oct 2001, Todd Gruhn's account wrote:
> > > I decided I would install Amaya an see what thats like. IT TRIED TO DOWNLOAD
> > > OPENMOTIF! The stupid thing is about 14MB -- I don't need another MOTIF CLONE.
> > > I am already running LessTif. Can the Amaya install procedure be told to check
> > > for preinstalled copies of Mootif and LessTif, and then use that?
> > Yes. Look in pkgsrc/mk/bsd.pkg.defaults.mk (mk.conf.example for older
> > pkgsrc) for "MOTIF_TYPE".
> Hmm...when I was doing testing, I checked that if LessTif was installed,
> then MOTIF_TYPE would default to using LessTif, and the same for OpenMotif.
> Only when neither are installed does it pick the default Motif distribution
> (OpenMotif). It seems to be broken since I initially check in
> motif.buildlink.mk. I'll try to fix this ASAP.
I just did the following:
cd /usr/pkgsrc/x11/lesstif && make install
cd /usr/pkgsrc/www/amaya && make show-var VARNAME=MOTIF_TYPE
The result was "lesstif", since lesstif was found to be installed. This
assumes your lesstif installation was via pkgsrc. If you installed lesstif
in /usr/local or some other private tree, then you'll have to set MOTIFBASE
to point to that location. Otherwise, the autodetection works as advertised
-- Johnny Lam <email@example.com>