The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback


Solaris Build

[Sat Feb 20: a recent mail i sent out.]
Solaris 2.6 gives me trouble building glib/gtk straight out of
the gnome cvs server, I am having problems getting past the
autogen.sh pre-configure stage.  The tar.gz files ship with
configure, and this seems to work for both egcs and Workshop 4.1,
so I recommend downloading glib & gtk+ 1.1.16 from

  ftp://ftp.gimp.org/pub/gtk/v1.1/

I have needed to update Solaris on a few tools, you can get them from:

  ftp://gatekeeper.dec.com/pub/GNU/

news://news.mozilla.org/netscape.public.mozilla.unix discusses 
build/unix problems, there is also mozilla.builds which discusses
all platforms (Mac, Win32 as well).  Most of the developers that can
help out with Solaris problems are reading these two newsgroups.
Many of us are also on irc://irc.mozilla.org/#mozilla if you do the
chat thing.

I spent some time during the last two days and resurrected the
Workshop 4.1 build, since we've started out with egcs/Linux, more
complicated C++ is possible and ! of course that means there's
more complicated code in the tree now and older compilers are
not faring so well.  Workshop 4.1 managed to do Ok once we figured
out some explicit/implicit problem with one of the header files
that was breaking half of the files in the tree.  Here's a copy of
my /usr/local/bin directory for what I needed to build everything from
scratch with Workshop 4.1:

  a2p*            gawk*           m4*             rcs2log*
  aclocal*        gawk-3.0.3*     make*           rcsclean*
  autoconf*       glib-config*    merge*          rcsdiff*
  autoheader*     gmake@          perl*           rcsmerge*
  automake*       gtk-config*     perl5.00502*    rlog*
  autoreconf*     h2ph*           perlbug*        s2p*
  autoscan*       h2xs*           perlcc*         splain*
  autoupdate*     ident*          perldoc*        tclsh8.0*
  awk@            ifnames*        pl2pm*          tkirc*
  c2ph*           igawk*          pod2html*       wish@
  ci*             irc@            pod2latex*      wish8.0*
  co*             irc-4.4*        pod2man*        wserv*
  cvs*            ircbug*         pod2text*
  cvsbug*         ircflush*       pstruct*
  find2perl*      ircio*          rcs*

  (tcl/tk/irc is for tkirc, not needed for the build)

I built glib/gtk+ from the 1.1.16 tar files, and mozilla & nspr out of cvs
with configure per the instructions at

  http://www.mozilla.org/build/unix.html

which translated to the following for me:

  [nspr]
  gmake -C nsprpub DIST=/usr/local/nspr NSDISTMODE=copy NS_USE_GCC= \
  MOZILLA_CLIENT=1 NO_MDUPDATE=1 NS_USE_NATIVE=1 USE_PTHREADS=1 export

  [mozilla]
  ./configure --enable-debug --enable-tests --disable-build-nspr \
  --with-pthreads --enable-editor --with-nspr=/usr/local/nspr

Note I have not yet linked the Workshop build.  The Solaris/egcs
build works in a similar manner, same configure, nspr build looks
like this:

  gmake -C nsprpub DIST=/usr/local/nspr NSDISTMODE=copy NS_USE_GCC=1
  MOZILLA_CLIENT=1 NO_MDUPDATE=1 NS_USE_NATIVE= USE_PTHREADS=1 export


Chris McAfee
Last modified: Sat Feb 20 03:37:55 PST 1999



Copyright © 1998 The Mozilla Organization.