Hi,

attaching a one-liner that lets me build sugar against system firefox,
thus allowing to jhbuild-skip mozilla.

- Rob

On 1/30/07, Erik Blankinship <[EMAIL PROTECTED]> wrote:
Running both
./sugar-jhbuild build meta-sugar-base
and
./sugar-jhbuild build-base

give me the following error on fc6:
../../dist/lib/components/libnecko.a: member
../../dist/lib/components/libnecko.a(nsSocketTransport2.o)
in archive is not an object
collect2: ld returned 1 exit status
gmake[3]: *** [libxul.so] Error 1
gmake[3]: Leaving directory
`/root/sugars/sugar-jhbuild/source/mozilla/toolkit/library'
gmake[2]: *** [libs_tier_toolkit] Error 2
gmake[2]: Leaving directory
`/root/sugars/sugar-jhbuild/source/mozilla'
gmake[1]: *** [tier_toolkit] Error 2
gmake[1]: Leaving directory
`/root/sugars/sugar-jhbuild/source/mozilla'
make: *** [default] Error 2
*** error during stage build of mozilla: ########## Error running make   ***
[27/29]

And, not surprisingly, this is the error we get when we try to build:

[EMAIL PROTECTED] sugar-jhbuild]# ./sugar-jhbuild build
Checking dependencies...
 Missing dependencies:

    xulrunner/firefox 1.8/1.9

Any suggestions?  Thanks!  Erik

_______________________________________________
Sugar mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/sugar



diff --git a/config.py b/config.py
index 7fa3bbd..55c7a8c 100644
--- a/config.py
+++ b/config.py
@@ -34,7 +34,7 @@ class Config(jhbuild.config.Config):
         self.tarballdir = self.checkoutroot
 
         path = os.path.join(self.prefix, 'lib', '%s-dev' % _XULRUNNER)
-        self.module_autogenargs['sugar'] = '--with-libxul-sdk=%s' % path
+#        self.module_autogenargs['sugar'] = '--with-libxul-sdk=%s' % path
 
     def _add_moduleset(self, set):
         set_path = os.path.join(self._base_dir, 'build-scripts', set)
_______________________________________________
Sugar mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/sugar

Reply via email to