Message: previous - next
Month: May 2011

Re: [trinity-devel] kdegraphics - dlggeneral.ui.h:15:20: fatal error: config.h: No such file or directory

From: "David C. Rankin" <drankinatty@...>
Date: Sun, 15 May 2011 18:55:54 -0500
On 05/15/2011 06:30 PM, David C. Rankin wrote:
> Thanks Baho, but this is a CMake - autogenerate thing...  It was building fine a
> couple of days ago. I think the tqt adjustments must have adjusted something
> unexpectedly...:

I've tried exporting /usr/include/freetype2 with

   export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/freetype2


[ 45%] Building CXX object 
cd /build/src/build/kpovmodeler && /usr/bin/c++   -Dkpovmodeler_shared_EXPORTS 
-include tqt.h -fPIC -I/build/src/build/kpovmodeler -I/build/src/build 
-I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt 
-I/usr/include/libdrm   -o CMakeFiles/kpovmodeler-shared.dir/pmtext.cpp.o -c 
In file included from /build/src/kdegraphics/kpovmodeler/pmtruetypecache.h:32:0,
                  from /build/src/kdegraphics/kpovmodeler/pmtext.cpp:26:
/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such 
file or directory
compilation terminated.
make[2]: *** [kpovmodeler/CMakeFiles/kpovmodeler-shared.dir/pmtext.cpp.o] Error 1
make[2]: Leaving directory `/build/src/build'
make[1]: *** [kpovmodeler/CMakeFiles/kpovmodeler-shared.dir/all] Error 2
make[1]: Leaving directory `/build/src/build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().

   What doesn't make sense is "THE FILE IS THERE"

  l /dat_e/david/bld/david/usr/include/freetype2/freetype/config/ftheader.h
-rw-r--r-- 1 root root 24761 Jan 10 04:23 

Both in the archroot and in the system generally:

l /usr/include/freetype2/freetype/config/ftheader.h
-rw-r--r-- 1 root root 24761 Jan 10 04:23 

   Prior to this hiccup, kdegraphics was building without 'any' extra export 
CMAKE_INCLUDE_PATH= paths. So I don't know what is up.

David C. Rankin, J.D.,P.E.