Hi,
I tried posting this query to the libreoffice users list,
and was told that I should try posting it to the
developers list instead.
I am trying to compile libreoffice 3.4.3.2 from source.
./configure --help says:
--with-system-libs Use libs already on system -- enables all
--with-system-* flags except mozilla and
odbc/sane/xrender-header(s).
--with-system-headers Use headers already on system -- enables all
--with-system-* flags for external packages whose
headers are the only entities used i.e.
boost/vigra/odbc/sane/xrender-header(s).
Sounds good to me (I want to use the internal
version of all programs). So I plugged in (I have
reformatted to one line per option for readability):
./configure
--prefix=/usr
--build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu
--mandir=/usr/share/man
--infodir=/usr/share/info
--datadir=/usr/share
--sysconfdir=/etc
--localstatedir=/var/lib
--libdir=/usr/lib64
--docdir=/usr/share/doc/libreoffice-3.4.3.2/
--without-system-headers
--without-system-libs
--with-system-dicts
--enable-cairo
--enable-cups
--enable-fontconfig
--enable-largefile
--enable-randr
--enable-randr-link
--enable-unix-qstart-libpng
--enable-Xaw
--enable-xrender-link
--disable-broffice
--disable-crashdump
--disable-dependency-tracking
--disable-epm
--disable-fetch-external
--disable-gnome-vfs
--disable-kdeab
--disable-kde
--disable-online-update
--disable-pch
--disable-rpath
--disable-static-gtk
--disable-strip-solver
--disable-zenity
--with-alloc=system
--with-extension-integration
--with-external-dict-dir=/usr/share/myspell
--with-external-hyph-dir=/usr/share/myspell
--with-external-thes-dir=/usr/share/myspell
--with-external-tar=/bigtemp/libreoffice-3.4.3.2/
--with-lang=
--with-max-jobs=5
--with-num-cpus=1
--with-theme=crystal oxygen
--with-unix-wrapper=libreoffice
--with-x
--without-afms
--without-fonts
--without-myspell-dicts
--without-ppds
--without-stlport
--without-helppack-integration
--disable-binfilter
--enable-dbus
--disable-crashdump
--disable-evolution2
--disable-gconf
--disable-gio
--disable-lockdown
--disable-graphite
--enable-gstreamer
--enable-gtk
--enable-systray
--enable-kde4
--disable-ldap
--disable-ext-mysql-connector
--disable-mozilla
--disable-odk
--enable-opengl
--disable-python
--disable-ext-scripting-python
--disable-vba
--disable-activex-component
--disable-neon
--without-java
--without-openldap
--without-system-mysql-cppconn
--without-system-mozilla
--without-sun-templates
--without-system-hsqldb
--without-system-cppunit
--without-system-sane-header
--without-junit
--enable-ext-pdfimport
--enable-ext-presenter-console
--enable-ext-presenter-minimizer
Note in particular:
--without-system-headers
--without-system-libs
And it dies:
********************************************************************
*
* Running LibreOffice build configuration.
*
********************************************************************
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking for sed... /bin/sed
checking for bash... /bin/sh
checking for GNU or BSD tar... tar
checking for solenv environment... default
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether to enable crashdump feature... no
checking whether to turn warnings to errors... no
checking whether to do a debug build... no
checking whether to build with additional debug utilities... no, full product build
checking whether to include symbols... no
checking whether to strip the solver or not.... no
checking whether to enable native cups support... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for cupsPrintFiles in -lcups... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking whether to enable fontconfig support... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FONTCONFIG... yes
checking whether to enable filters for legacy binary file formats (StarOffice 5.2)... no
checking whether to use RPATH in shared libraries... no
checking whether to include MySpell dictionaries... no
checking whether to use dicts from external paths... yes
checking for spelling dictionary directory... file:///usr/share/myspell
checking for hyphenation patterns directory... file:///usr/share/myspell
checking for thesaurus directory... file:///usr/share/myspell
checking gcc home... /usr
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking for x86_64-pc-linux-gnu-gcc... /usr/bin/x86_64-pc-linux-gnu-gcc
checking the GNU gcc compiler version... checked (gcc 4.5.3)
checking for -Bsymbolic-functions linker support ... found
checking whether to use AVX intrinsics... no
checking whether to enable pch feature... no
checking for GNU make... make
checking the GNU make version... make 3.82
3+:
checking for --hash-style gcc linker support ... hello world
gnu
checking for perl... /usr/bin/perl
checking the Perl version... checked (perl 5)
checking for required Perl modules... all modules found
checking for ANSI C header files... (cached) yes
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking size of long... 8
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes
checking the GNU C++ compiler version... checked (g++ 4.5.3)
checking for g++ include path... /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4
checking Whether building STLPort library makes sense... no
checking Whether STLPort library will be actually built... no
checking whether x86_64-pc-linux-gnu-gcc supports -fvisibility=hidden... yes
checking whether x86_64-pc-linux-gnu-gcc supports -std=c++0x without Language Defect 757... yes
checking whether we are able to use --ccache-skip... only used on Mac currently, skipping
checking if STL headers are visibility safe... yes
checking if gcc is -fvisibility-inlines-hidden safe with STL headers... yes
checking if gcc has a visibility bug with class-level attributes (GCC bug 26905)... no
checking which memory allocator to use... system
checking for malloc... yes
checking for realloc... yes
checking for calloc... yes
checking for free... yes
checking whether to add custom build version... no
checking whether to build with Java support... no
configure: WARNING: building without java will mean some features will not be available
checking for dmake... no
dmake will be built on ./bootstrap
checking whether to enable EPM for packing... no
checking for gperf... /usr/bin/gperf
checking gperf version... OK
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to build the stax... yes
checking whether to build the ODK... no
checking whether to provide libstdc++/libgcc_s in the installset... no
checking which zlib to use... external
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking which jpeg to use... external
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_resync_to_restart in -ljpeg... yes
checking which expat to use... external
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking which libwpd to use... external
checking for LIBWPD... no
configure: error: Package requirements (libwpd-0.9 libwpd-stream-0.9 ) were not met:
No package 'libwpd-0.9' found
No package 'libwpd-stream-0.9' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBWPD_CFLAGS
and LIBWPD_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
As you can see, it is attempting to use all external
programs. I obviously am missing something quite
basic, but can someone explain why? Thank you
in advance for your help.
Nuzhna
Context
- [Libreoffice] External versus internal · Nuzhna Pomoshch
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.