Building mozilla on (Was: ) Solaris 9



On Mon, 2004-10-04 at 14:49 +0200, Ivan Noris wrote:
> Will garnome work with Solaris 9?  I assume I would have to download the 
> GNU toolset.  Would there be dependencies on the X server?

[snip, snip]
If you need Epiphany/Galeon, you need mozilla also, the problem is, you
need to compile them with Forte compiler instead of GCC, or the java
applets won't work.


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

dbx gives

Reading libimpComm4xMail.so
*** Registering nsComm4xMailImportModule components (all right -- a generic module!)
Reading libmsgmdn.so
*** Registering nsMsgMdnModule components (all right -- a generic module!)
Reading libmailview.so
*** Registering nsMsgMailViewModule components (all right -- a generic module!)
Reading libbayesflt.so
*** Registering nsBayesianFilterModule components (all right -- a generic module!)
Reading libmsgsmime.so
*** Registering nsMsgSMIMEModule components (all right -- a generic module!)
Reading libxpical.so
*** Registering oeICalModule components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering succeeded
JS Component Loader: ERRORt 1 (l 1) signal SEGV (no mapping at the fault address) in strlen at 0xcfe9f6f4
0xcfe9f6f4: strlen+0x000c:      movl     (%eax),%edx
dbx: warning: can't find file "/tmp/garnome-work/mozilla/main.d/mozilla/js/src/xpconnect/src/mozJSComponentLoader.o"
dbx: warning: see `help finding-files'
Current function is js_ReportErrorAgain (optimized)
  674           onError(cx, cx->lastMessage, reportp);
(dbx) quit

Compiled with the following:

CONFIGURE_ARGS = $(DIRPATHS) --enable-default-toolkit=gtk2 --disable-glibtest --disable-gtktest --enable-calendar --enable-xft --enable-crypto --disable-jsd --enable-xinerama --disable-composer --disable-tests --disable-debug --enable-ldap --with-xprint --enable-xinerama --enable-x11-shm --enable-ctl --enable-postscript --without-system-nspr --without-system-zlib --without-system-jpeg --without-system-png --without-system-mng

include ../category.mk

CC=/opt/SUNWspro/bin/cc
CXX=/opt/SUNWspro/bin/CC
CFLAGS=-g -xO2 -xlibmil -xtarget=pentium3
CXXFLAGS=-g -xO2 -features=tmplife -xlibmil -xlibmopt -norunpath -xtarget=pentium3
LD=/usr/ccs/bin/ld
AS=/usr/ccs/bin/as
MOZILLA_OFFICIAL=1
BUILD_OFFICIAL=1
NS_USE_NATIVE=1

JJ_INCLUDES1 = -I/usr/local/include -I/opt/sfw/netpbm/include -I/opt/csw/include -I/opt/sfw/include
JJ_LIBS1 = -L/opt/gnu/gnu-gcc-3.4/lib -L/usr/local/lib -L/opt/sfw/netpbm/link -L/opt/csw/lib -L/opt/sfw/lib
JJ_LDLIBS = -R/opt/gnu/gnu-gcc-3.4/lib -R/usr/local/lib -R/opt/sfw/netpbm/link -R/opt/csw/lib -R/opt/sfw/lib $(JJ_LIBS1)

# allow us to link to libraries we installed
CFLAGS += -I$(DESTDIR)$(includedir) $(JJ_INCLUDES1) -I$(DESTDIR)/usr/X11R6/include -L$(DESTDIR)$(libdir) -L$(DESTDIR)/usr/X11R6/lib
$(JJ_LIBS1)
LDFLAGS += -R$(DESTDIR)$(libdir) -L$(DESTDIR)$(libdir) $(JJ_LDLIBS1) -R$(DESTDIR)/usr/X11R6/lib -L$(DESTDIR)/usr/X11R6/lib


Ideas??

Attachment: signature.asc
Description: This is a digitally signed message part



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