Did a fresh clone from the git repository just now. Now everything compiles as expected, and the print mode is there. Consider as SOLVED.
Thanks to all for the help. And thanks to the community for the nice piece of software. Urs On 02/12/15 15:24, thokster wrote: > Delete your build directory and try again. > > > Am 12.02.2015, 18:11 Uhr, schrieb Urs Schütz <u.sch...@bluewin.ch>: > >> I'm not a programmer, and know nothing about cmake. With my limited >> knowledge I looked at the sources. >> src/CMakeLists.txt line 568 and following, if/then/else: >> The check for presence of CUPS is not executed, because BUILD_PRINT is >> disabled. This explains why there is no output about missing cups during >> the first phase of my compile. >> >> I did not find where BUILD_PRINT is disabled, grepping over the whole >> source for BUILD_PRINT did not give me any clues. Why is it disabled by >> default? The test for CUPS in src/CMakeLists.txt is never running... >> >> Just to check the build, I edited line 34 of build/CMakeCache.txt >> from BUILD_PRINT:BOOL=OFF to BUILD_PRINT:BOOL=ON. >> Darktable is now building with the print mode, and I'm able to print to >> my CUPS pdf printer. >> I understand that this is a very ugly hack, and not intended by the >> programmers. >> >> Is there something wrong with the checks in src/CMakeLists.txt, line >> 568, and following? >> >> Very strange, as it seems that others can build the print mode without >> troubles (scratching head). >> >> On 02/11/15 16:51, Urs Schütz wrote: >>> I checked my installed files against the file list of Debain package >>> libcups2-dev in wheezy of architecture amd64. >>> That is what is missing here on Gentoo (besides doc, examples and Debian >>> specific files): >>> /usr/include/cups/i18n.h >>> /usr/lib/x86_64-linux-gnu/libcups.a >>> >>> /usr/lib/x86_64-linux-gnu/libcups.so is located at a different place in >>> the filesystem: >>> /usr/lib32/libcups.so >>> /usr/lib32/libcups.so.2 >>> /usr/lib64/libcups.so >>> /usr/lib64/libcups.so.2 >>> >>> It seems that a check in the darktable build is going wrong with this >>> configuration. >>> >>> On 02/11/15 15:51, Pascal Obry wrote: >>>> Le mercredi 11 février 2015 à 15:50 -0200, Urs Schütz a écrit : >>>>> I have cups 2.0.1 installed, compiled from source (Gentoo). Therefore >>>>> libraries and headers should all be installed. >>>> >>>> Not necessary. Only the CUPS binaries may be installed. >>>> ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Darktable-users mailing list Darktable-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-users