On Sun, 14 Oct 2018 14:28:01 -0500
rhubarbpieguy via blfs-support <[email protected]> wrote:

> [ 89%] Building CXX object test/CMakeFiles/gtk-test.dir/gtk-test.cc.o
> ..
> /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem 
> //usr/include  -Wall -Wextra -Wpedantic -Wno-unused-parameter 
> ..


Good! Note the strange/suspicious include construct: 

-isystem //usr/include


Now, for the next test, try the following two attached patches on poppler
0.67 (should work on any version 0.63 or later) without using any other
patches (starting with a fresh poppler 0.67 unpack):

patch -p1 -i ../poppler_revert_gtk3_include_dirs.patch
patch -p1 -i ../poppler_gtk-test_force_build_fail.patch

mkdir build
cd    build
cmake  -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr 
-DTESTDATADIR=$PWD/testfiles -DENABLE_XPDF_HEADERS=ON ..                        
 
make VERBOSE=1


The build will fail, but in a different way (as is intended so you can
easily locate the same c++ command line). Show us the c++ command line
that failed (but it would have worked had it not been for 
poppler_gtk-test_force_build_fail.patch) so we can compare it to the
previous failure.


Then, test the new attached poppler_fix_cmake_gtk3_include_dir.patch on
poppler 0.67 (should work on any version 0.63 or later) *without* using
any other patches (starting with a fresh poppler 0.67 unpack):

patch -p1 -i ../poppler_fix_cmake_gtk3_include_dir.patch

mkdir build
cd    build
cmake  -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr 
-DTESTDATADIR=$PWD/testfiles -DENABLE_XPDF_HEADERS=ON ..                        
 
make VERBOSE=1


And let us know if it compiles OK and, if not, show us the c++ command
line that failed.


   Mike


Attachment: poppler_fix_cmake_gtk3_include_dir.patch
Description: Binary data

Attachment: poppler_gtk-test_force_build_fail.patch
Description: Binary data

Attachment: 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

Reply via email to