Hi gang,

I'm trying to build OOo2 on my shiny new LFS (SVN 20051127).

This is the last major app I need to install.

The build fails during the ".bootstrap" phase and it looks to be something to do with libxslt...

This machine has a full LAMP (Linux, Apache, MySQL, PHP) and lots of associated libraries for PHP. All are recent versions.

Libxslt is 1.1.15, LibXML2 is 2.6.22, openssl is 0.9.7i.

Here is my OO configure line which completes without error:
<paste>

./configure --prefix=/opt/openoffice-2.0.0 --enable-libart --enable-libsn --enable-xsltproc --disable-fontooo --without-fonts --with-system-stdlibs --with-system-jpeg --with-system-curl --with-system-freetype --with-system-expat --with-system-libxml --with-system-zlib --with-system-mozilla --with-firefox --with-build-version=BLFS --with-package-format=native --disable-binfilter --disable-cups --disable-gnome-vfs --with-lang="en uk" --with-dict=ENGB,ENUS
</paste>

When the "./bootstrap && . LinuxIntelEnv.Set.sh && dmake" command reaches this point:

<paste>
=============
Building project libxmlsec
=============
/usr/src/OOo_2.0.0rc3_src/libxmlsec
-------------
</paste>

it exits here:

<paste>
checking size of size_t... 4
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking for libxml-2.0 >= 2.4.2... yes
checking LIBXML_CFLAGS... -I/usr/include/libxml2
checking LIBXML_LIBS... -lxml2 -lz -lm
checking for libxml-2.0 >= 2.6.2... yes
checking LIBXML262_CFLAGS... -I/usr/include/libxml2
checking LIBXML262_LIBS... -lxml2 -lz -lm
checking libxml2   yes  ... checking for libxslt libraries >= 1.0.20... no
checking for openssl libraries >= 0.9.6... no
checking for gnutls libraries >= 0.8.1... no
checking for mozilla-nspr >= 1.4 mozilla-nss >= 1.4... checking for nspr libraries >= 4
checking for nss libraries >= 3.2... no
checking for crypto library... configure: error: At least one crypto library should exi
sec1
dmake: Error code 1, while making './unxlngi6.pro/misc/build/so_configured_so_xmlsec1'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /usr/src/OOo_2.0.0rc3_src/libxmlsec
dmake:  Error code 1, while making 'build_instsetoo_native'
'---* tg_merge.mk *---'
</paste>

When I ran ./configure on a new copy of libxslt to see if re-installing it would help I get:

<paste>
checking for vsnprintf... yes
checking for sscanf... yes
checking for perl... /usr/bin/perl
checking for python... /usr/src/OOo_2.0.0rc3_src/solver/680/unxlngi6.pro/bin/python
Found Python version 2.3
Warning: Missing libxml2-python
could not find python2.3/Python.h
checking for libgcrypt-config... no
Crypto extensions will not be available. Install libgcrypt and reconfigure to make available.
Enabling debugger
checking for libxml libraries >= 2.6.17... 2.6.22 found
checking whether shared libraries will be built (required for plugins)... yes
checking libxml2 module support... yes
configure: creating ./config.status
config.status: creating Makefile....
</paste>

Does all this mean I will need to install Python?

I have Firefox 1.5 installed and have modified the command in the blfs book to:

<paste>
grep "xptinfo_enum_1" /usr/include/firefox-1.5/xpcom/xptinfo.h || \
    sed -i '[EMAIL PROTECTED]@enum xptinfo_enum_1@' \
    /usr/include/firefox-1.5/xpcom/xptinfo.h
</paste>

Which appeared to run fine.

Any one got any ideas?

Thanks

Alan

LFS ID: 216

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