Hi,

I've just finished installing OOo-2.0.2 with a system-installed
firefox (version 1.0.7).
It hasn't been a smooth sailing, so I thought I'd share my experience,
and perhaps get some insight from anyone who's already done it
(perhaps in a better way).
Is there progress on the subject beyond what's on the mailing list and
on the developments BLFS?

Aside from not using the provided Mozilla, I stuck to the gist of the
current development BLFS, including the provided patches.
My configuration was as follows:
                               ./configure --prefix=/usr \
                                       --enable-libart --enable-libsn \
                                       --disable-fontooo --without-fonts \
                                       --with-system-zlib
--with-system-python \
                                       --with-system-stdlibs
--with-system-freetype \
                                       --with-system-jpeg --with-system-xml \
                                       --with-system-expat
--with-jdk-home=/usr/j2sdk \
                                       --with-system-curl
--with-system-mozilla \
                                       --with-firefox \
                                       --with-package-format=native
--disable-binfilter \
                                       --with-dict=ENGB,ENUS'

The first error I encountered was during configuration, as it failed
to find Mozilla's nspr package. While 'mozilla-nspr' does not exist,
'firefox-nspr' does, so I changed the 'configure' file accordingly (to
use '$moz_flavour' instead of 'mozilla'). Then 'set_soenv' complained
for not having a propoer '@MOZ_PLUGIN_CFLAGS' so I set it
appropriately in 'configure' (see the attached patch for both changes
- OOo-2.0.2-firefox_nspr-1.patch)

The next error was during the building of 'libxmlsec': a crypto
library was not found. Again, a search for mozilla's packages was to
blame. My solution was to set the nss and nspr paths variables to
those of firefox, and not mozilla (see attached
'OOo-2.0.2-xmlsec_firefox-1.patch').

Finally, some variables that marked the include-paths of mozilla
headers had to be changed to include-paths of firefox-headers in
'OOo-2.0.2/extensions/source/plugin/{base,unx}/makefile.mk' (see
attached 'OOo-2.0.2-plugin_base_includes-1.patch',
'OOo-2.0.2-plugin_unx_includes-1.patch').

Alon

Attachment: OOo-2.0.2-mozflavour_nspr-1.patch
Description: Binary data

Attachment: OOo-2.0.2-xmlsec_firefox-1.patch
Description: Binary data

Attachment: OOo-2.0.2-plugin_unx_includes-1.patch
Description: Binary data

Attachment: OOo-2.0.2-plugin_base_includes-1.patch
Description: Binary data

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

Reply via email to