On Tue, 9 Oct 2018 18:32:08 -0500 rhubarbpieguy via blfs-support <[email protected]> wrote:
> I've never set $CPLUS_INCLUDE_PATH and/or $C_INCLUDE_PATH as I compile > X in /usr. My original (and current) problem is Poppler-0.67.0 won't > compile and those variables are not set. I only set them as I thought > you wanted that as a test. Well, I asked you if you had set the variables, and so what did you mean by this reply?: > Yes, I changed /etc/profile.d/xorg.sh according to Introduction to > Xorg-7. Anyway, in all that follows, I'm assuming the $CPLUS_INCLUDE_PATH and/or $C_INCLUDE_PATH variables are *not* set. > Poppler-0.62.0 compiles successfully on my BLFS 8.3 build but any > version above that fails. OK, good, so we now know the problem starts with 0.63.0 I looked through the changes from 0.62.0 to 0.63.0. The most likely suspect is an automated script (clang-tidy) change made to the file test/CMakeLists.txt. It is the only change I can see that affects the include files. This change was made to please clang, not gcc: https://github.com/freedesktop/poppler/commits/master/test/CMakeLists.txt https://github.com/freedesktop/poppler/commit/e428033c2d7efbbbf89bb2f84c8998521ac7ef8e#diff-15547c54d3d4898a882b4ab7b3cee381 The attached patch reverts what I think is your trouble maker. Apply it to 0.63.0 and later (it should work with 0.69.0 as well) using: patch -p1 -i ../poppler_revert_gtk3_include_dirs.patch And let us know if you can build 0.63.0 and later after applying the patch. Cheers, Mike
poppler_revert_gtk3_include_dirs.patch
Description: Binary data
-- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
