Re: Building mozilla on (Was: ) Solaris 9



Hi,

> And I can't get that lizard to work, compiling with Forte 6 (60 days
> trial :)

---BEGIN---
Well, I'm using this combination of variables in Makefile:
GARNAME = mozilla
GARVERSION = 1.7
CATEGORIES = bootstrap
DISTFILES = $(GARNAME)-source-$(GARVERSION).tar.bz2
 
MASTER_SITES =
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/$(GARNAME)$(GARVERSION)/src/
# this patch does not work since od 1.7
#####PATCHFILES = embedded-focus.patch
LIBDEPS = platform/gtk+ platform/libIDL
 
DESCRIPTION = misc
define BLURB
 #FIXME: blurb goes here
endef
 
WORKSRC = $(WORKDIR)/mozilla
 
CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile
 
LIBIDL_CONFIG=$(prefix)/bin/libIDL-config-2
export LIBIDL_CONFIG
 
export MOZ_ENABLE_XFT=1
 
# addedd mailnews
# does not compile with LDAP, if openldap is compiled with GCC and
Mozilla with Forte

CONFIGURE_ARGS = $(DIRPATHS) --enable-default-toolkit=gtk2
--with-gtk-prefix=$(prefix) --with-glib-prefix=$(prefix)
--enable-x11-shm --enable-mailnews --disable-freetype2 --enable-xft
--enable-crypto --disable-jsd --disable-xinerama --enable-composer
--enable-mathml --disable-tests --disable-debug --enable-optimize
--disable-dtd-debug --disable-pedantic --with-system-zlib
--with-system-jpeg --with-system-png --disable-ldap --with-xprint
                                                                                                                                                         include ../category.mk
                                                                                                                                                         CPPFLAGS := -I$(DESTDIR)$(includedir) -I$(DESTDIR)/usr/X11R6/include -I/usr/local/include -I/usr/openwin/include -L/usr/openwin/lib -L/usr/local/lib -I/opt/sfw/cups/include -L/opt/sfw/cups/lib
CFLAGS := -I$(DESTDIR)$(includedir) -I$(DESTDIR)/usr/X11R6/include
-L$(DESTDIR)$(libdir) -L$(DESTDIR)/usr/X11R6/lib -I/usr/local/include
-L/usr/local/lib -I/opt/sfw/cups/include -L/opt/sfw/cups/lib
-I/usr/openwin/include -L/usr/openwin/lib
LDFLAGS := -L$(DESTDIR)$(libdir) -L$(DESTDIR)/usr/X11R6/lib
-L/usr/local/lib -L/opt/sfw/cups/lib
CC := /opt/SUNWspro/bin/cc
CXX := /opt/SUNWspro/bin/CC
CFLAGS += -xO3 -xlinkopt=0 -xtarget=ultra2 -xvis=yes
CPPFLAGS += -xO3 -xlinkopt=0 -xtarget=ultra2 -xvis=yes
CXXFLAGS := $(CFLAGS)
export CFLAGS
export CPPFLAGS
export CXXFLAGS
                                                                                                                                                         pre-install:
        @echo "Fixing broken NSS header installation..."
        @mkdir -p $(includedir)/$(GARNAME)-$(GARVERSION)/nss/
        @cp -f $(WORKSRC)/dist/public/nss/*.h
$(includedir)/$(GARNAME)-$(GARVERSION)/nss/
        @mkdir -p $(includedir)/$(GARNAME)-$(GARVERSION)/seccmd/
        @cp -f $(WORKSRC)/dist/public/seccmd/*.h
$(includedir)/$(GARNAME)-$(GARVERSION)/seccmd/
---END
                                                                                                                                                         Try these settings, they should work (except the ldap support in mozilla).

Regards,
Ivan
-- 
  Ing. Ivan Noris
  System engineer, Business Global Systems, a.s.
  info & public key: http://www.bgs.sk/people/noris
  __________________________________________________________________
  "Semper cautus - semper paratus - semper idem Vix."




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]