Hello! I have been trying to get Sugar going on my Ubuntu AMD64 Edgy machine for about a week now. Previous problems (glib 2.13, etc) had been resolved, but I've been stuck at a Mozilla error for a while now. If this is a problem with my setup, a pointer to more information or maybe a Mozilla bug would be appreciated. Here's the error: c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so -o libxul.so nsStaticXULComponents.o -Wl,--whole-archive ../../dist/lib/libxpcom_core.a ../../dist/lib/libxpcom_compat.a ../../dist/lib/libunicharutil_s.a ../../dist/lib/libucvutil_s.a ../../dist/lib/libgkgfx.a ../../dist/lib/libgfxshared_s.a ../../dist/lib/libxulapp_s.a ../../dist/lib/libgtkxtbin.a ../../dist/lib/libgfxpsshar.a ../../dist/lib/libjsj.a ../../dist/lib/components/libxpcom_compat_c.a ../../dist/lib/components/libxpconnect.a ../../dist/lib/components/libnecko.a ../../dist/lib/components/libuconv.a ../../dist/lib/components/libi18n.a ../../dist/lib/components/libjar50.a ../../dist/lib/components/libpref.a ../../dist/lib/components/libcaps.a ../../dist/lib/components/librdf.a ../../dist/lib/components/libhtmlpars.a ../../dist/lib/components/libimglib2.a ../../dist/lib/components/libgkplugin.a ../../dist/lib/components/libgklayout.a ../../dist/lib/components/libdocshell.a ../../dist/lib/components/libembedcomponents.a ../../dist/lib/components/libwebbrwsr.a ../../dist/lib/components/libeditor.a ../../dist/lib/components/libnsappshell.a ../../dist/lib/components/libtxmgr.a ../../dist/lib/components/libcomposer.a ../../dist/lib/components/libchrome.a ../../dist/lib/components/libmozfind.a ../../dist/lib/components/libappcomps.a ../../dist/lib/components/libcommandlines.a ../../dist/lib/components/libtoolkitcomps.a ../../dist/lib/components/libxpinstall.a ../../dist/lib/components/libjsd.a ../../dist/lib/components/libmork.a ../../dist/lib/components/libucvmath.a ../../dist/lib/components/libwidget_gtk2.a ../../dist/lib/components/libnecko2.a ../../dist/lib/components/libgfxps.a ../../dist/lib/components/libgfx_gtk.a ../../dist/lib/components/liboji.a ../../dist/lib/components/libaccessibility.a ../../dist/lib/components/libremoteservice.a -Wl,--no-whole-archive -Wl,-rpath-link,../../dist/bin -L../../dist/bin -L../../dist/lib -L../../dist/lib -lmozjpeg -L../../dist/lib -lmozpng -L../../dist/bin -lmozjs -lz -L../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lX11 -lXft -lfontconfig -L/home/ryan/srctrees/sugar-jhbuild/build/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lXt -lmozcairo -lmozlibpixman -lXrender -lX11 -lfontconfig -lfreetype -ldl -lm /usr/bin/ld: ../../dist/lib/libxpcom_core.a(nsCOMPtr.o): relocation R_X86_64_PC32 against `nsGetServiceByContractIDWithError::operator()(nsID const&, void**) const' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libxul.so] Error 1
make[2]: Leaving directory `/home/ryan/srctrees/sugar-jhbuild/source/mozilla/toolkit/library'
make[1]: *** [tier_50] Error 2
make[1]: Leaving directory `/home/ryan/srctrees/sugar-jhbuild/source/mozilla'
make: *** [default] Error 2
*** error during stage build of mozilla: Error running make   *** [22/39]


Thanks for any help you can provide!

Ryan

--
Ryan Pavlik
AbiWord Win32 Platform Maintainer, Art Lead: www.abisource.com
AbiWord Community Outreach Project: www.cleardefinition.com/oss/abi/blog/

"Optimism is the father that leads to achievement."
-- Helen Keller

"The folder structure in a modern Linux distribution such as Ubuntu
was largely inspired by the original UNIX foundations that were
created by men with large beards and sensible jumpers."
-- Jono Bacon, The Ubuntu Guide

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

Reply via email to