<div dir="ltr">On the mac it goes like this:<div><br></div><div><div>[strpro][01:33:08 PM] qmake --version</div><div>QMake version 3.0</div><div>Using Qt version 5.1.0 in /Users/rutledge/Qt5.1.0/5.1.0-rc1/clang_64/lib</div>
<div><br></div><div style>I'm using qtchooser to point qmake (and other qt binaries) to the right one.</div><div><br></div><div>[strpro][01:33:16 PM] cmake .<br></div><div>-- The C compiler identification is Clang 4.2.0</div>
<div>-- The CXX compiler identification is Clang 4.2.0</div><div>-- Check for working C compiler: /usr/bin/clang</div><div>-- Check for working C compiler: /usr/bin/clang -- works</div><div>-- Detecting C compiler ABI info</div>
<div>-- Detecting C compiler ABI info - done</div><div>-- Check for working CXX compiler: /usr/bin/clang++</div><div>-- Check for working CXX compiler: /usr/bin/clang++ -- works</div><div>-- Detecting CXX compiler ABI info</div>
<div>-- Detecting CXX compiler ABI info - done</div><div>-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28")</div><div>-- Looking for include file pthread.h</div><div>-- Looking for include file pthread.h - found</div>
<div>-- Looking for pthread_create</div><div>-- Looking for pthread_create - found</div><div>-- Found Threads: TRUE</div><div>-- Check if the system is big endian</div><div>-- Searching 16 bit integer</div><div>-- Looking for sys/types.h</div>
<div>-- Looking for sys/types.h - found</div><div>-- Looking for stdint.h</div><div>-- Looking for stdint.h - found</div><div>-- Looking for stddef.h</div><div>-- Looking for stddef.h - found</div><div>-- Check size of unsigned short</div>
<div>-- Check size of unsigned short - done</div><div>-- Using unsigned short</div><div>-- Check if the system is big endian - little endian</div><div>-- Checking _FILE_OFFSET_BITS for large files</div><div>-- Checking _FILE_OFFSET_BITS for large files - not needed</div>
<div>CMake Warning at CMakeLists.txt:49 (message):</div><div><br></div><div><br></div><div> No test data found in $testdatadir.</div><div> You will not be able to run 'make test' successfully.</div><div><br></div>
<div><br></div><div><br></div><div> The test data is not included in the source packages</div><div> and is also not part of the main git repository. Instead,</div><div> you can checkout the test data from its own git</div>
<div> repository with:</div><div><br></div><div><br></div><div><br></div><div> git clone git://<a href="http://git.freedesktop.org/git/poppler/test">git.freedesktop.org/git/poppler/test</a></div><div><br></div><div>
<br></div><div><br></div><div> You should checkout the test data as a sibling of your</div><div> poppler source folder or specify the location of your</div><div> checkout with -DTESTDATADIR=/path/to/checkoutdir/test.</div>
<div><br></div><div><br></div><div><br></div><div>-- Found Freetype: /usr/X11R6/lib/libfreetype.dylib (found version "2.4.7")</div><div>-- checking for module 'fontconfig'</div><div>-- package 'fontconfig' not found</div>
<div>-- Found Fontconfig: /usr/X11R6/lib/libfontconfig.dylib</div><div>-- Found JPEG: /usr/local/lib/libjpeg.dylib</div><div>-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")</div><div>-- Found PNG: /usr/X11R6/lib/libpng.dylib (found version "1.5.4")</div>
<div>-- Found TIFF: /usr/local/lib/libtiff.dylib (found version "4.0.3")</div><div>-- Looking for Q_WS_X11</div><div>-- Looking for Q_WS_X11 - not found</div><div>-- Looking for Q_WS_WIN</div><div>-- Looking for Q_WS_WIN - not found</div>
<div>-- Looking for Q_WS_QWS</div><div>-- Looking for Q_WS_QWS - not found</div><div>-- Looking for Q_WS_MAC</div><div>-- Looking for Q_WS_MAC - not found</div><div>CMake Warning at CMakeLists.txt:105 (find_package):</div>
<div> By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has</div><div> asked CMake to find a package configuration file provided by "Qt5Core", but</div><div> CMake did not find one.</div>
<div><br></div><div> Could not find a package configuration file provided by "Qt5Core" with any</div><div> of the following names:</div><div><br></div><div> Qt5CoreConfig.cmake</div><div> qt5core-config.cmake</div>
<div><br></div><div> Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set</div><div> "Qt5Core_DIR" to a directory containing one of the above files. If</div><div> "Qt5Core" provides a separate development package or SDK, be sure it has</div>
<div> been installed.</div><div><br></div><div><br></div><div>CMake Warning at CMakeLists.txt:106 (find_package):</div><div> By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has</div><div>
asked CMake to find a package configuration file provided by "Qt5Gui", but</div><div> CMake did not find one.</div><div><br></div><div> Could not find a package configuration file provided by "Qt5Gui" with any</div>
<div> of the following names:</div><div><br></div><div> Qt5GuiConfig.cmake</div><div> qt5gui-config.cmake</div><div><br></div><div> Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set</div>
<div> "Qt5Gui_DIR" to a directory containing one of the above files. If "Qt5Gui"</div><div> provides a separate development package or SDK, be sure it has been</div><div> installed.</div><div><br></div>
<div><br></div><div>CMake Warning at CMakeLists.txt:107 (find_package):</div><div> By not providing "FindQt5Xml.cmake" in CMAKE_MODULE_PATH this project has</div><div> asked CMake to find a package configuration file provided by "Qt5Xml", but</div>
<div> CMake did not find one.</div><div><br></div><div> Could not find a package configuration file provided by "Qt5Xml" with any</div><div> of the following names:</div><div><br></div><div> Qt5XmlConfig.cmake</div>
<div> qt5xml-config.cmake</div><div><br></div><div> Add the installation prefix of "Qt5Xml" to CMAKE_PREFIX_PATH or set</div><div> "Qt5Xml_DIR" to a directory containing one of the above files. If "Qt5Xml"</div>
<div> provides a separate development package or SDK, be sure it has been</div><div> installed.</div><div><br></div><div><br></div><div>CMake Warning at CMakeLists.txt:108 (find_package):</div><div> By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project</div>
<div> has asked CMake to find a package configuration file provided by</div><div> "Qt5Widgets", but CMake did not find one.</div><div><br></div><div> Could not find a package configuration file provided by "Qt5Widgets" with</div>
<div> any of the following names:</div><div><br></div><div> Qt5WidgetsConfig.cmake</div><div> qt5widgets-config.cmake</div><div><br></div><div> Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set</div>
<div> "Qt5Widgets_DIR" to a directory containing one of the above files. If</div><div> "Qt5Widgets" provides a separate development package or SDK, be sure it has</div><div> been installed.</div><div>
<br></div><div><br></div><div>CMake Warning at CMakeLists.txt:109 (find_package):</div><div> By not providing "FindQt5Test.cmake" in CMAKE_MODULE_PATH this project has</div><div> asked CMake to find a package configuration file provided by "Qt5Test", but</div>
<div> CMake did not find one.</div><div><br></div><div> Could not find a package configuration file provided by "Qt5Test" with any</div><div> of the following names:</div><div><br></div><div> Qt5TestConfig.cmake</div>
<div> qt5test-config.cmake</div><div><br></div><div> Add the installation prefix of "Qt5Test" to CMAKE_PREFIX_PATH or set</div><div> "Qt5Test_DIR" to a directory containing one of the above files. If</div>
<div> "Qt5Test" provides a separate development package or SDK, be sure it has</div><div> been installed.</div><div><br></div><div><br></div><div>-- checking for module 'cairo>=1.10.0'</div><div>-- package 'cairo>=1.10.0' not found</div>
<div>-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST</div><div>-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed</div><div>-- Found Iconv: /usr/lib/libiconv.dylib</div><div>-- Could NOT find LibOpenJPEG (missing: LIBOPENJPEG_INCLUDE_DIR)</div>
<div>-- checking for module 'lcms2'</div><div>-- found lcms2, version 2.4</div><div>-- Found lcms version 2.04, /usr/local/lib/liblcms2.dylib</div><div>-- Looking for include file dlfcn.h</div><div>-- Looking for include file dlfcn.h - found</div>
<div>-- Looking for include file fcntl.h</div><div>-- Looking for include file fcntl.h - found</div><div>-- Looking for include file inttypes.h</div><div>-- Looking for include file inttypes.h - found</div><div>-- Looking for include file memory.h</div>
<div>-- Looking for include file memory.h - found</div><div>-- Looking for include file stdlib.h</div><div>-- Looking for include file stdlib.h - found</div><div>-- Looking for include file strings.h</div><div>-- Looking for include file strings.h - found</div>
<div>-- Looking for include file string.h</div><div>-- Looking for include file string.h - found</div><div>-- Looking for include file sys/mman.h</div><div>-- Looking for include file sys/mman.h - found</div><div>-- Looking for include file sys/stat.h</div>
<div>-- Looking for include file sys/stat.h - found</div><div>-- Looking for include file unistd.h</div><div>-- Looking for include file unistd.h - found</div><div>-- Looking for fseek64</div><div>-- Looking for fseek64 - not found</div>
<div>-- Looking for fseeko</div><div>-- Looking for fseeko - found</div><div>-- Looking for ftell64</div><div>-- Looking for ftell64 - not found</div><div>-- Looking for pread64</div><div>-- Looking for pread64 - not found</div>
<div>-- Looking for lseek64</div><div>-- Looking for lseek64 - not found</div><div>-- Looking for gmtime_r</div><div>-- Looking for gmtime_r - found</div><div>-- Looking for gettimeofday</div><div>-- Looking for gettimeofday - found</div>
<div>-- Looking for localtime_r</div><div>-- Looking for localtime_r - found</div><div>-- Looking for popen</div><div>-- Looking for popen - found</div><div>-- Looking for mkstemp</div><div>-- Looking for mkstemp - found</div>
<div>-- Looking for mkstemps</div><div>-- Looking for mkstemps - found</div><div>-- Looking for rand_r</div><div>-- Looking for rand_r - found</div><div>-- Looking for strcpy_s</div><div>-- Looking for strcpy_s - not found</div>
<div>-- Looking for strcat_s</div><div>-- Looking for strcat_s - not found</div><div>-- Performing Test HAVE_DIRENT_H</div><div>-- Performing Test HAVE_DIRENT_H - Success</div><div>-- Performing Test HAVE_NDIR_H</div><div>
-- Performing Test HAVE_NDIR_H - Failed</div><div>-- Performing Test HAVE_SYS_DIR_H</div><div>-- Performing Test HAVE_SYS_DIR_H - Success</div><div>-- Performing Test HAVE_SYS_NDIR_H</div><div>-- Performing Test HAVE_SYS_NDIR_H - Failed</div>
<div>-- Looking for nanosleep</div><div>-- Looking for nanosleep - found</div><div>CMake Error: File /Users/rutledge/src/poppler/poppler-qt5.pc.cmake does not exist.</div><div>CMake Error at cmake/modules/PopplerMacros.cmake:47 (configure_file):</div>
<div> configure_file Problem configuring file</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:622 (poppler_create_install_pkgconfig)</div><div><br></div><div><br></div><div>Building Poppler with support for:</div>
<div> font configuration: fontconfig</div><div> splash output: yes</div><div> cairo output: no</div><div> qt4 wrapper: no</div><div> qt5 wrapper: yes</div><div> glib wrapper: no</div>
<div> introspection: no</div><div> cpp wrapper: yes</div><div> use gtk-doc: not supported with this CMake build system</div><div> use libjpeg: yes</div><div> use libpng: yes</div>
<div> use libtiff: yes</div><div> use zlib: no</div><div> use curl: no</div><div> use libopenjpeg: no</div><div> use cms: yes</div><div> with lcms2</div><div> command line utils: yes</div>
<div> test data dir: /Users/rutledge/src/poppler/../test</div><div>-- Configuring incomplete, errors occurred!</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 17 June 2013 00:23, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kemper.freedesktop.org" target="_blank">aacid@kemper.freedesktop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> CMakeLists.txt | 7 +++----<br>
1 file changed, 3 insertions(+), 4 deletions(-)<br>
<br>
New commits:<br>
commit 43786964946b4f4c005a0526e16fead3ffa6ba4a<br>
Author: Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>><br>
Date: Mon Jun 17 00:23:31 2013 +0200<br>
<br>
harmonize spaces<br>
<br>
diff --git a/CMakeLists.txt b/CMakeLists.txt<br>
index f1606bb..3bd6f93 100644<br>
--- a/CMakeLists.txt<br>
+++ b/CMakeLists.txt<br>
@@ -108,11 +108,10 @@ find_package(Qt5Xml)<br>
find_package(Qt5Widgets)<br>
find_package(Qt5Test)<br>
if (NOT Qt5Core_FOUND AND Qt5Gui_FOUND AND Qt5Xml_FOUND AND Qt5Widgets_FOUND AND Qt5Test_FOUND)<br>
- message("-- Package Qt5Core or Qt5Gui or Qt5Xml or Qt5Widgets or Qt5Test not found")<br>
- set(QT5_FOUND false)<br>
+ message("-- Package Qt5Core or Qt5Gui or Qt5Xml or Qt5Widgets or Qt5Test not found")<br>
+ set(QT5_FOUND false)<br>
else(NOT Qt5Core_FOUND AND Qt5Gui_FOUND AND Qt5Xml_FOUND AND Qt5Widgets_FOUND AND Qt5Test_FOUND)<br>
-<br>
- set(QT5_FOUND true)<br>
+ set(QT5_FOUND true)<br>
endif(NOT Qt5Core_FOUND AND Qt5Gui_FOUND AND Qt5Xml_FOUND AND Qt5Widgets_FOUND AND Qt5Test_FOUND)<br>
macro_optional_find_package(Cairo ${CAIRO_VERSION})<br>
if(CAIRO_FOUND)<br>
_______________________________________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
</blockquote></div><br></div>