Hi, Giuseppe Scrivano <[EMAIL PROTECTED]> writes:
> after I do make install I get a bin/icecat symbolic link to the proper > shell script under lib/icecat-version/. Yes, building just the browser works fine. > I never tried to build libxul before and after use it for IceCat. If it > is causing troubles I will take a deeper look. > > How do you build it? First I build Xulrunner, with "--enable-application=xulrunner --enable-libxul --disable-javaxpcom" and a few other mostly irrelevant options. Then I build IceCat with "--enable-application=browser --with-libxul-sdk=/path/to/xulrunner". Note that I apply the attached patch to work around a defect in `configure' that would tell the linker to look for `libxpcom_core' while this library is actually part of `libxpcom'. Thanks, Ludo'.
XulRunner doesn't provide `libxpcom_core' separately (it's apparently included in `libxpcom.so'), so applications should not link against it. --- icecat-3.0.3-g1/configure 2008-09-29 20:13:26.000000000 +0200 +++ icecat-3.0.3-g1/configure 2008-11-13 00:38:28.000000000 +0100 @@ -5016,7 +5016,7 @@ MOZ_PNG_CFLAGS= MOZ_PNG_LIBS='$(call EXPAND_LIBNAME_PATH,mozpng,$(DEPTH)/modules/libimg/png)' MOZ_JS_LIBS='-L$(LIBXUL_DIST)/bin -lmozjs' -DYNAMIC_XPCOM_LIBS='-L$(LIBXUL_DIST)/bin -lxpcom -lxpcom_core' +DYNAMIC_XPCOM_LIBS='-L$(LIBXUL_DIST)/bin -lxpcom' MOZ_FIX_LINK_PATHS='-Wl,-rpath-link,$(LIBXUL_DIST)/bin' XPCOM_FROZEN_LDOPTS='-L$(LIBXUL_DIST)/bin -lxpcom' LIBXUL_LIBS='$(XPCOM_FROZEN_LDOPTS) -lxul'
-- http://gnuzilla.gnu.org
