Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 1998 16:35:12 -0400
From:      Leo Papandreou <leo@talcom.net>
To:        questions@FreeBSD.ORG
Subject:   Re: mozilla+lesstif works
Message-ID:  <19980405163512.24668@supersex.com>

next in thread | raw e-mail | index | archive | help

I thought I'd share my experience building Mozilla with lesstif. 
I built it on a 2.2.6-STABLE/lesstif-current system, P100, 32MB. 

First thing is to make sure you have plenty of free disk space.
I've heard the debug build expands to 2 or 4 hundred MB. If you
dont have that kind of space handy gmake will eventually spit
back a weird error that doesnt necessarily have anything to do
with the actual sources. Do what I did and set BUILD_OPT=1 in your
environment. This will build without debugging info. All this is
documented in the README, incidentally.

lesstif
=======
I built lesstif-current instead of lesstif-0.83. I imagine 
mozilla is going to be responsible for daily diffs against the
lesstif code so I decided it would be best to bookmark lesstif.org
and start with a clean code base.

I downloaded the lesstif-0.83 port. In the Makefile I changed
DISTNAME to lesstif-current and added --enable-static to the
CONFIGURE_ARGS line. Mozilla will *not* build if it cannot find
libXm.a

patch-ai and PLIST need to be edited. One or two additional
manpages are built and need to be installed. Sorry, I did all
this in the spirit of random hackery without bothering to
make diffs. In any case, you can safely delete patch-ai and
ignore PLIST since it only affects the location and installation
of one or two man pages.

Nuke the files directory because obviously the MD5 signature
of lesstif-0.83 and lesstif-current will differ.

make 
make install

worked for me.

mozilla
=======
Set up your environment as documented in the README.

I used  eivind's port (URL somebody? This is so embarassing) and
applied the mozilla (not lesstif) patches found at

ftp://165.247.176.84/pub/mozilla/.

gmake

(The README documents gmake -k but gmake is probably a better idea
unless you tee the output somewhere else and dont mind uselessly
building beyond any errors.)

Runs better than I expected :-)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980405163512.24668>