Michael Stahl-2 wrote
it is definitely a bug somewhere if HAVE_POPPLER_VERSION_H isn't set fora
current version of poppler.e.g. on Fedora 22 i have
/usr/include/poppler/cpp/poppler-version.h andHAVE_POPPLER_VERSION_H
set.maybe look at config.log where it checks for poppler-version.h what
theerror is.
Turns out poppler-version.h was missing; in Ubuntu it comes in the
libpoppler-cpp-dev package.
Here's what happens without it.
Output from autogen.sh:
checking for POPPLER... yeschecking cpp/poppler-version.h usability...
nochecking cpp/poppler-version.h presence... nochecking for
cpp/poppler-version.h... no
config.log:
configure:36446: checking for POPPLERconfigure:36453: $PKG_CONFIG --exists
--print-errors "poppler >= 0.12.0 "configure:36456: $? = 0configure:36470:
$PKG_CONFIG --exists --print-errors "poppler >= 0.12.0 "configure:36473: $?
= 0configure:36531: result: yesconfigure:36545: checking
cpp/poppler-version.h usabilityconfigure:36545: g++ -c -O3 -march=native
-pipe -I/usr/include/poppler -I/usr/include/poppler conftest.cpp
&5conftest.cpp:138:33: fatal error: cpp/poppler-version.h: No such file or
directorycompilation terminated.configure:36545: $? = 1configure: failed
program was:| /* confdefs.h */| #include
<cpp/poppler-version.h>configure:36545: result: noconfigure:36545: checking
cpp/poppler-version.h presenceconfigure:36545: g++ -E
-I/usr/include/poppler conftest.cppconftest.cpp:105:33: fatal error:
cpp/poppler-version.h: No such file or directorycompilation
terminated.configure:36545: $? = 1configure: failed program was:| /*
confdefs.h */| #define PACKAGE_NAME "LibreOffice"| #define PACKAGE_TARNAME
"libreoffice"| #define PACKAGE_VERSION "5.1.0.0.alpha1+"...| #include
<cpp/poppler-version.h>configure:36545: result: noconfigure:36545: checking
cpp/poppler-version.h presenceconfigure:36545: g++ -E
-I/usr/include/poppler conftest.cppconftest.cpp:105:33: fatal error:
cpp/poppler-version.h: No such file or directorycompilation
terminated.configure:36545: $? = 1configure: failed program was:| /*
confdefs.h */| #define PACKAGE_NAME "LibreOffice"| #define PACKAGE_TARNAME
"libreoffice"| #define PACKAGE_VERSION "5.1.0.0.alpha1+"...| /* end
confdefs.h. */| #include <cpp/poppler-version.h>configure:36545: result:
noconfigure:36545: checking for cpp/poppler-version.hconfigure:36545:
result: noconfigure:36630: checking whether to build the Wiki Publisher
extension
http://pastebin.com/CGrUQwuh <http://pastebin.com/CGrUQwuh>
So configure does check for the file but ignores the failed test.
There's also GfxState.h, that comes in yet another package
libpoppler-private-dev and is also needed, but configure doesn't test for
it. Maybe they used to be in the same package so only one test was needed?
--
View this message in context:
http://nabble.documentfoundation.org/System-POPPLER-VERSION-redefined-won-t-build-tp4165697p4165894.html
Sent from the Dev mailing list archive at Nabble.com.
Context
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.