| Summary: | app-office-openoffice - configure: error: Library requirements (libwpg-0.1 ) not met | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | brad <bcddd214> |
| Component: | New packages | Assignee: | Gentoo Office Team <office> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | Keywords: | PMASKED |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
brad
2011-08-14 23:15:32 UTC
******************************************************************** * * * OpenOffice.org build configuration. * * * * The configure process checks your platform to see whether * * you can build OpenOffice.org on it. * * This process checks all pre-requisites and generates a file * * containing the necessary environment variables. * * Source this file after configure has ended successfully. * * * * Any warning that is generated during the configure process * * must be taken into account since it can be a reason for * * an unsuccessful build of OpenOffice.org * * * ******************************************************************** ******************************************************************** * * * Checking the platform pre-requisites. * * * ******************************************************************** 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 solenv environment... default checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-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 into final build... no checking whether to strip the solver or not.... checking whether to enable native CUPS support... yes checking whether to enable fontconfig support... yes checking whether to enable filters for legacy binary file formats (StarOffice 5.2)... no checking whether to use RPATH in shared libraries... yes 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 which shell to use... bash checking for bash... /bin/bash checking gcc home... /usr checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc... /usr/bin/gcc checking the GNU gcc compiler version... checked (gcc 4.4.5) checking for -Bsymbolic-functions linker support ... found checking whether to enable pch feature... no checking whether to enable hid list feature... no checking for GNU make... make checking the GNU make version... make 3.82 3+: checking for GNU tar... tar checking for --hash-style=gnu linker support ... found checking for working -Wl,--as-needed linker support... yes checking for perl... /usr/bin/perl checking the Perl version... checked (perl 5) checking for required Perl modules... all modules found ./configure: line 7748: test: : integer expression expected checking whether to enable Mono bindings... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking how to run the C preprocessor... gcc -E 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 size of long... 4 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... 64 checking whether to disable vba feature... no checking how to package the vba compatibility api... build into installset checking cups/cups.h usability... yes checking cups/cups.h presence... yes checking for cups/cups.h... yes checking whether to enable pam support... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking whether to link to libpam... no, dynamically open it checking whether to link to libcrypt... yes checking for crypt in -lcrypt... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking the GNU C++ compiler version... checked (g++ 4.4.5) checking for g++ include path... /usr/lib/gcc/i486-pc-linux-gnu/4.4.5/include/g++-v4 checking exception type... checking what the default STL should be... stlport checking for STL providing headers... using system STL configure: WARNING: using system STL. Warning, breaks your ABI compatability! checking whether gcc supports -fvisibility=hidden... yes checking whether we are allowed and able to use --ccache-skip... only used on Mac currently, skipping checking if hash_map will be in __gnu_cxx namespace... yes 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... yes, ooo-build 3.2.1.6 checking whether to build with Java support... yes checking the installed JDK... checked (JDK 1.6.0_22) checking for target java bytecode version... 1.5 checking for jawt lib name... -ljawt checking whether to use specific JVM search path at runtime... yes checking whether to enable gcj aot compilation... no 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 whether to build the stax... yes checking whether to build the ODK... no checking whether to build qadevOOo... 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 pkg-config... /usr/bin/pkg-config checking for libwpd-0.8 ... yes checking LIBWPD_CFLAGS... -I/usr/include/libwpd-0.8 checking LIBWPD_LIBS... -lwpd-0.8 checking whether freetype is available... checking for freetype2 >= 2.0 ... yes checking FREETYPE_CFLAGS... -I/usr/include/freetype2 checking FREETYPE_LIBS... -lfreetype checking which libwps to use... internal checking which libwpg to use... external checking for libwpg-0.1 ... Package libwpg-0.1 was not found in the pkg-config search path. Perhaps you should add the directory containing `libwpg-0.1.pc' to the PKG_CONFIG_PATH environment variable No package 'libwpg-0.1' found configure: error: Library requirements (libwpg-0.1 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. make: *** [stamp/build] Error 1 * ERROR: app-office/openoffice-3.2.1-r1 failed (compile phase): * Build failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 8861: Called die * The specific snippet of code: * make || die "Build failed" * * If you need support, post the output of 'emerge --info =app-office/openoffice-3.2.1-r1', * the complete build log and the output of 'emerge -pqv =app-office/openoffice-3.2.1-r1'. !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea6-bin CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.10.3" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/environment'. * S: '/var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo' >>> Failed to emerge app-office/openoffice-3.2.1-r1, Log file: >>> '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/build.log' * Messages for package app-office/openoffice-3.2.1-r1: * * It is important to note that OpenOffice.org is a very fragile * build when it comes to CFLAGS. A number of flags have already * been filtered out. If you experience difficulty merging this * package and use aggressive CFLAGS, lower the CFLAGS and try to * merge again. * * Also if you experience a build break, please make sure to retry * with MAKEOPTS=-j1 before filing a bug. * * ERROR: app-office/openoffice-3.2.1-r1 failed (compile phase): * Build failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 8861: Called die * The specific snippet of code: * make || die "Build failed" * * If you need support, post the output of 'emerge --info =app-office/openoffice-3.2.1-r1', * the complete build log and the output of 'emerge -pqv =app-office/openoffice-3.2.1-r1'. * The complete build log is located at '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/environment'. * S: '/var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo' * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. What is this I don't even... Why did you file this against catalyst? Also, as the bug reporter, you don't need to CC yourself. The bug report title is "openoffice cannot find libwpd" and the initial report mentions libwpd-0.8.pc. Searching your logs for 'libwpd', I'm really confused. I see: checking which libwpd to use... external checking for pkg-config... /usr/bin/pkg-config checking for libwpd-0.8 ... yes checking LIBWPD_CFLAGS... -I/usr/include/libwpd-0.8 checking LIBWPD_LIBS... -lwpd-0.8 I then see an actual error about 'libwpg': checking which libwpg to use... external checking for libwpg-0.1 ... Package libwpg-0.1 was not found in the pkg-config search path. Perhaps you should add the directory containing `libwpg-0.1.pc' to the PKG_CONFIG_PATH environment variable No package 'libwpg-0.1' found configure: error: Library requirements (libwpg-0.1 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. So, I presume the actual error is about missing libwpg. The latest comment in the ChangeLog is
> 05 Aug 2011; Jeremy Olexa <darkside@gentoo.org> openoffice-3.2.1-r1.ebuild:
> update deps for libwpg pkgmove for people that haven't migrated to
> libreoffice yet
which tells me (and you) two things:
1) you should use libreoffice instead
2) this bug is probably related to that change
So either use app-office/libreoffice, or make sure >=libwpg-0.1.3 is installed.
# Tomáš Chvátal <scarabeus@gentoo.org> (27 Jul 2011) # Old replaced packages. Will be removed in 30 days. # app-office/openoffice -> app-office/libreoffice # app-office/openoffice-bin -> app-office/libreoffice-bin # app-text/wpd2sxw -> app-text/wpd2odt app-office/openoffice app-office/openoffice-bin app-text/wpd2sxw |