I managed to workaround the build problmes + startup crash.
This is what I submitted as bug # 77135


I ran into 3 build problems in trying to build the browser + psm2 on
Solaris 8 Sparc.

The build steps I am using are
1) cvs co mozilla/client.mk
2) cd mozilla
3) gmake -f client.mk checkout
4) gmake -f client.mk checkout BUILD_MODULES=psm2
5) configure
6) gmake
7) configure --enable-modules=psm2
8) gmake BUILD_MODULES=psm2

Problem 1:

I am using gcc for both the browser and psm build. In step 8) the make
gets from coreconf/SunOS.5.mk

ifdef NS_USE_GCC
CC = gcc
OS_CFLAGS += -Wall -Wno-format
CCC = g++
CCC += -Wall -Wno-format
ASFLAGS += -x assembler-with-cpp
ifdef NO_MDUPDATE
OS_CFLAGS += $(NOMD_OS_CFLAGS)
else
OS_CFLAGS += $(NOMD_OS_CFLAGS) -MDupdate $(DEPENDENCIES)
endif

NO_MDUPDATE is never set from configure, so the MDupdate flag gets
added to the compiles which gives a gcc error in the build.
I worked around this by forcing the first option in the ifdef.


Problem 2:

The step 8 gmake fails with

../../config/nsinstall: cannot access ../../dist/SunOS5.8_sparc_OPT.OBJ/
lib/libnssckbi.so: No such file or directory


I worked around this with

ln -s SunOS5.8_OPT.OBJ SunOS5.8_sparc_OPT.OBJ


Problem 3:

With the two above work arounds the build succeeds. However, when
executing mozilla I get a seg fault in CERT_LockDB ()

Tracing shows that failure is actually induced by nss_Init silently
failing and never calling CERT_SetDefaultCertDB. The failure is
because it is unable to load libfreebl_hybrid_3.so.

I worked around this by adding

mozilla/security/nss/lib/freebl/SunOS5.8_OPT.OBJ

to the LD_LIBRARY_PATH



-- 
Ken Mandelberg      | [EMAIL PROTECTED]          
Emory University    | 
Dept of Math and CS | Phone: Voice (404) 727-7963 
Atlanta, GA 30322   |        FAX 727-5611



Reply via email to