Simon Geard wrote:
> On Sun, 2008-11-02 at 19:53 -0700, Dennis J Perkins wrote:
>> I've discovered that libgtkembemoz.so is not being built by Firefox 3.
>> Yelp and monodevelop both want it.  Does anyone know how to get it built
>> and installed?
>>
> 
> As of 3.0, a straight Firefox build is just that - a build of Firefox,
> not of any of the development infrastructure that other applications
> like Yelp need. Instead, you need to build xul-runner (which the other
> applications can build against), then build Firefox against that as
> well.
> 
> Try the following routine, which I more or less grabbed from some
> Slackware build scripts I found online. Note that you don't actually
> need a separate xul-runner tarball - the code is already present in the
> Firefox download, and just needs to be built the right way.
> 
> Note - I've assumed you're building against a separately installed copy
> of NSS/NSPR. I'm also assuming you're using Firefox 3.0.3 - if not, the
> xul-runner path passed to configure might be a little different.
> 
> 
> For xul-runner:
> 
> # Needed to make things using XUL find NSPR.
> echo "Requires: nspr" >> xulrunner/installer/libxul-embedding.pc.in
> 
> ./configure --prefix=/usr --silent \
>     --enable-application=xulrunner \
>     --enable-system-cairo \
>     --enable-system-lcms \
>     --enable-strip \
>     --enable-jemalloc \
>     --enable-safe-browsing \
>     --enable-webservices \
>     --disable-pedantic \
>     --disable-long-long-warning \
>     --disable-debug \
>     --disable-tests \
>     --disable-gnomevfs \
>     --disable-javaxpcom \
>     --disable-mochitest \
>     --disable-installer \
>     --disable-crashreporter \
>     --disable-updater \
>     --with-system-png \
>     --with-system-zlib \
>     --with-system-jpeg \
>     --with-system-bz2 \
>     --with-system-nss \
>     --with-system-nspr
> make
> make install
> 
> 

Are you all using any other patches for xulrunner or nss/nspr (beyond 
the updated pkgconfig additions)?  I've been googling for a bit and all 
I can find is on Gentoo lists with mention of an as-needed patch for 
nss, but I don't find it in Portage pages. What version of GCC?

[EMAIL PROTECTED] mozilla]# head -n 35 ../logs/278-xulrunner-1.9.0.3
{
echo "## $(basename $PWD)"
llog -p
time {
echo "Requires: nspr" >> xulrunner/installer/libxul-embedding.pc.in &&
sed -i "s/^    enum$/& xptinfo_enum_1/" \
     xpcom/reflect/xptinfo/public/xptinfo.h &&
./configure \
     --disable-crashreporter \
     --disable-debug \
     --disable-gnomevfs \
     --disable-installer \
     --disable-javaxpcom \
     --disable-long-long-warning \
     --disable-mochitest \
     --disable-pedantic \
     --disable-tests \
     --disable-updater \
     --enable-application=xulrunner \
     --enable-jemalloc \
     --enable-safe-browsing \
     --enable-strip \
     --enable-svg \
     --enable-system-cairo \
     --enable-system-lcms \
     --enable-webservices \
     --prefix=/usr \
     --with-system-bz2 \
     --with-system-jpeg \
     --with-system-nss \
     --with-system-nspr \
     --with-system-png \
     --with-system-zlib \
     --silent
make &&
[EMAIL PROTECTED] mozilla]#

Gives the following error after 56 minutes.

c++ -I/opt/X11/include -fno-rtti -fno-exceptions -Wall -Wconversion 
-Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy 
-Wno-non-virtual-dtor -Wcast-align -Wno-long-long -fno-strict-aliasing 
-fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks 
-fno-reorder-functions  -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so -o 
libxul.so  nsStaticXULComponents.o nsUnicharUtils.o 
nsCompressedCharMap.o nsBidiUtils.o nsRDFResource.o     -lpthread 
-Wl,-rpath-link,../../dist/bin  -Wl,--whole-archive 
../../embedding/browser/gtk/src/libgtkembedmoz.a 
../../toolkit/xre/libxulapp_s.a 
../../staticlib/components/libxpconnect.a 
../../staticlib/components/libnecko.a 
../../staticlib/components/libuconv.a 
../../staticlib/components/libi18n.a 
../../staticlib/components/libchardet.a 
../../staticlib/components/libjar50.a 
../../staticlib/components/libpref.a 
../../staticlib/components/libcaps.a 
../../staticlib/components/libhtmlpars.a 
../../staticlib/components/libimglib2.a 
../../staticlib/components/libgklayout.a 
../../staticlib/components/libdocshell.a 
../../staticlib/components/libembedcomponents.a 
../../staticlib/components/libwebbrwsr.a 
../../staticlib/components/libnsappshell.a 
../../staticlib/components/libtxmgr.a 
../../staticlib/components/libchrome.a 
../../staticlib/components/libcommandlines.a 
../../staticlib/components/libtoolkitcomps.a 
../../staticlib/components/libpipboot.a 
../../staticlib/components/libpipnss.a 
../../staticlib/components/libxmlextras.a 
../../staticlib/components/libgkplugin.a 
../../staticlib/components/libmozfind.a 
../../staticlib/components/libappcomps.a 
../../staticlib/components/libunixproxy.a 
../../staticlib/components/libxpinstall.a 
../../staticlib/components/libjsd.a 
../../staticlib/components/libautoconfig.a 
../../staticlib/components/libwebsrvcs.a 
../../staticlib/components/libauth.a 
../../staticlib/components/libcookie.a 
../../staticlib/components/libpermissions.a 
../../staticlib/components/libuniversalchardet.a 
../../staticlib/components/libcomposer.a 
../../staticlib/components/librdf.a 
../../staticlib/components/libwindowds.a 
../../staticlib/components/libintlapp.a 
../../staticlib/components/libfileview.a 
../../staticlib/components/libstoragecomps.a 
../../staticlib/components/libplaces.a 
../../staticlib/components/libtkautocomplete.a 
../../staticlib/components/libsatchel.a 
../../staticlib/components/libpippki.a 
../../staticlib/components/libucvmath.a 
../../staticlib/components/libwidget_gtk2.a 
../../staticlib/components/libsystem-pref.a 
../../staticlib/components/libgkgfxthebes.a 
../../staticlib/components/liboji.a 
../../staticlib/components/libaccessibility.a 
../../staticlib/components/libremoteservice.a 
../../staticlib/components/libspellchecker.a 
../../staticlib/components/libzipwriter.a 
../../staticlib/libxpcom_core.a ../../staticlib/libucvutil_s.a 
../../staticlib/libgkgfx.a ../../staticlib/libgfxshared_s.a 
../../staticlib/libmozreg_s.a ../../staticlib/libmorkreader_s.a 
../../staticlib/libgtkxtbin.a ../../staticlib/libgfxpsshar.a 
../../staticlib/libthebes.a ../../staticlib/libjsj.a 
-Wl,--no-whole-archive -L../../dist/lib -lsqlite3 -L../../dist/bin 
-L../../dist/lib  -L../../dist/bin -L../../dist/lib -ljpeg  -lpng 
-llcms   -L../../dist/bin -lmozjs -Wl,-rpath-link,/usr/lib -L/usr/lib 
-lssl3 -lsmime3 -lnss3 -lcrmf  -lz  -lpangocairo-1.0 -lcairo 
-lpangoft2-1.0 -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 
-lgmodule-2.0 -lglib-2.0   -lcairo -lfreetype -lz -lfontconfig 
-L/opt/X11/lib -L/opt/X11/lib -lXrender -lcairo -lX11   -L/usr/lib 
-lplds4 -lplc4 -lnspr4 -lpthread -ldl -L/opt/X11/lib -lX11 
-L/opt/X11/lib -lXft -lXrender -lfontconfig -lfreetype -lz -lX11 
-lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lz 
-lfontconfig -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 
-lcairo -lgmodule-2.0 -lgobject-2.0 -lglib-2.0   -lXt -lgthread-2.0 
-lfreetype -lz -ldl -lm
../../staticlib/components/libpipnss.a(nsCertOverrideService.o): In 
function `GetCertFingerprintByDottedOidString(nsIX509Cert*, nsCString 
const&, nsCString&)':
nsCertOverrideService.cpp:(.text+0x46d): undefined reference to 
`SEC_StringToOID'
../../staticlib/components/libpipnss.a(nsIdentityChecking.o): In 
function `nsNSSComponent::IdentityInfoInit()':
nsIdentityChecking.cpp:(.text+0x99d): undefined reference to 
`SEC_StringToOID'
/usr/lib/libcrmf.a(crmfenc.o): In function `CRMF_EncodeCertReqMessages':
crmfenc.c:(.text+0x46): undefined reference to `SEC_ASN1Encode_Util'
/usr/lib/libcrmf.a(crmfenc.o): In function `CRMF_EncodeCertRequest':
crmfenc.c:(.text+0x90): undefined reference to `SEC_ASN1Encode_Util'

...and so on for another 100 lines or so regarding /usr/lib/libcrmf.a. 
If anyone has any ideas, they'd be much appreciated.

[EMAIL PROTECTED] mozilla]# grep libcrmf.a /var/log/llog/*
/var/log/llog/nss-3.12.llog:/usr/lib/libcrmf.a
[EMAIL PROTECTED] mozilla]#


-- DJ Lucas


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to