From owner-freebsd-mozilla Fri Apr 9 14:41: 3 1999 Delivered-To: freebsd-mozilla@freebsd.org Received: from shale.csir.co.za (shale.csir.co.za [146.64.46.5]) by hub.freebsd.org (Postfix) with ESMTP id B1355163EB for ; Fri, 9 Apr 1999 14:40:23 -0700 (PDT) (envelope-from reg@shale.csir.co.za) Received: (from reg@localhost) by shale.csir.co.za (8.9.3/8.9.3) id RAA06662; Fri, 9 Apr 1999 17:02:12 +0200 (SAT) (envelope-from reg) Date: Fri, 9 Apr 1999 17:02:12 +0200 From: Jeremy Lea To: Christopher Masto Cc: freebsd-mozilla@FreeBSD.ORG Subject: Re: current state of the mozilla project on freebsd... (port) Message-ID: <19990409170212.B6250@shale.csir.co.za> References: <199904080403.VAA14546@usr05.primenet.com> <19990408105937.M1798@shale.csir.co.za> <19990409000641.A17136@netmonger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990409000641.A17136@netmonger.net>; from Christopher Masto on Fri, Apr 09, 1999 at 12:06:41AM -0400 Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, On Fri, Apr 09, 1999 at 12:06:41AM -0400, Christopher Masto wrote: > Really? I've never been able to compile it. Every couple of weeks I > get the urge and the thing's a flaming mess, I get pissed off, and > delete it. Last time it was internal compiler errors in GCC. Now > I've got an EGCS system and willing to try again. > > I'm very suprised to hear that Mozilla works on FreeBSD. This list > has been completely dead for as long as I can remember. I know of > noone who has successfully built Mozilla on FreeBSD, let alone run it. > Please share with us the incantations required. Even a binary would > be nice. I compile with the attached script, but there are two tinderboxes which build it around the clock on 3.1-REALEASE (with egcs) and 4.0-CURRENT/alpha. You need glib, ORBit and GTK+ from the ports. You also need autoconf if you change configure.in. I have one or two or 20 patches which I use, but they shouldn't affect the main build, except that there are references to glib-config, which need to be changed to glib12-config. Regards, -Jeremy -- | "I could be anything I wanted to, but one things true --+-- Never gonna be as big as Jesus, never gonna hold the world in my hand | Never gonna be as big as Jesus, never gonna build a promised land | But that's, that's all right, OK with me..." -Audio Adrenaline #!/bin/sh # export MOZILLA_CLIENT=1 export MOZ_MEDIUM=1 export NO_MDUPDATE=1 # export BUILD_OPT=1 # export USE_PTHREADS=1 MYMOZDIR=/usr/home/mozilla/mozilla export MYMOZDIR cd $MYMOZDIR MYOBJDIR=obj-`./build/autoconf/config.guess` export MYOBJDIR cd $MYMOZDIR/nsprpub gmake DIST=$MYMOZDIR/$MYOBJDIR/dist clobber_all cd $MYMOZDIR/nsprpub/pr/tests gmake DIST=$MYMOZDIR/$MYOBJDIR/dist clobber_all cd ../../.. rm -r $MYOBJDIR/dist rm -r $MYOBJDIR rm configure for entry in $(find . -name "*.orig" ! -path "./db/*"); do \ mv ${entry} ${entry%.orig}; \ done cd .. cvs co -A -P SeaMonkeyAll cd mozilla cat ../patches/patch-* | patch LD_LIBRARY_PATH=$MYMOZDIR/$MYOBJDIR/dist/bin export LD_LIBRARY_PATH autoconf -l build/autoconf mkdir -p $MYOBJDIR/dist cd $MYMOZDIR/nsprpub gmake DIST=$MYMOZDIR/$MYOBJDIR/dist cd pr/tests gmake DIST=$MYMOZDIR/$MYOBJDIR/dist cd ../../.. cp ../preferences.js $MYMOZDIR/$MYOBJDIR/dist/bin/preferences.js cp ../preferences.js $MYMOZDIR/$MYOBJDIR/dist/bin/prefs.js unset MOZILLA_CLIENT unset MOZ_MEDIUM unset NO_MDUPDATE unset BUILD_OPT unset USE_PTHREADS cd $MYMOZDIR/$MYOBJDIR CC="cc" CXX="c++" \ CFLAGS="-O -pipe -march=pentium" GTK_CONFIG="/usr/X11R6/bin/gtk12-config" \ ../configure --enable-toolkit=gtk --enable-debug --disable-xterm-updates \ --with-nspr="$MYMOZDIR/$MYOBJDIR/dist" --with-jpeg=/usr/local --with-png=/usr/local \ --enable-editor --enable-mail-news --enable-oji --enable-tests gmake --- intl/unicharutil/tools/Makefile.in.orig Tue Mar 23 22:16:49 1999 +++ intl/unicharutil/tools/Makefile.in Tue Mar 23 22:17:25 1999 @@ -31,10 +31,10 @@ include $(topsrcdir)/config/config.mk # XXX replace with proper configure test for glib -CFLAGS += $(shell glib-config --cflags) +CFLAGS += $(shell glib12-config --cflags) # XXX need configure test -EX_LIBS = $(shell glib-config --libs) +EX_LIBS = $(shell glib12-config --libs) PROGS = $(OBJDIR)/ucgendat --- xpcom/tools/xpidl/Makefile.in.orig Tue Mar 23 22:38:48 1999 +++ xpcom/tools/xpidl/Makefile.in Tue Mar 23 22:39:25 1999 @@ -36,13 +36,13 @@ include $(topsrcdir)/config/config.mk # XXX replace with proper configure test for glib -CFLAGS += $(shell glib-config --cflags) +CFLAGS += $(shell glib12-config --cflags) # seperate out to get dependancies right LIBXPT=$(DIST)/lib/libxpt.a # XXX need configure test -EX_LIBS = -lIDL -L$(DIST)/bin $(LIBXPT) $(NSPR_LIBS) $(shell glib-config --libs) +EX_LIBS = -lIDL -L$(DIST)/bin $(LIBXPT) $(NSPR_LIBS) $(shell glib12-config --libs) PROGS = $(OBJDIR)/xpidl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message