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


Then for Firefox:

make distclean

./configure --prefix=/usr --silent \
    --enable-application=browser \
    --enable-system-cairo \
    --enable-system-lcms 
    --enable-official-branding \
    --enable-safe-browsing \
    --enable-webservices \
    --enable-strip \
    --enable-install-strip \
    --enable-jemalloc \
    --disable-pedantic \
    --disable-long-long-warning \
    --disable-debug \
    --disable-tests \
    --disable-javaxpcom \
    --disable-mochitest \
    --disable-installer \
    --disable-updater \
    --disable-crashreporter \
    --with-system-png \
    --with-system-zlib \
    --with-system-bz2 \
    --with-libxul-sdk=/usr/lib/xulrunner-devel-1.9.0.3 \
    --with-system-nss \
    --with-system-nspr
make
make install

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
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