On 05/15/2011 07:55 PM, David C. Rankin wrote: > 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 > > and > > [ 45%] Building CXX object > kpovmodeler/CMakeFiles/kpovmodeler-shared.dir/pmtext.cpp.o > cd /build/src/build/kpovmodeler && /usr/bin/c++ > -Dkpovmodeler_shared_EXPORTS -DHAVE_CONFIG_H -fpermissive > -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT > -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -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 > /build/src/kdegraphics/kpovmodeler/pmtext.cpp > 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 > /dat_e/david/bld/david/usr/include/freetype2/freetype/config/ftheader.h > > 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 > /usr/include/freetype2/freetype/config/ftheader.h > > Prior to this hiccup, kdegraphics was building without 'any' extra > export CMAKE_INCLUDE_PATH= paths. So I don't know what is up. > CXXFLAGS="${CXXFLAGS} -I /usr/include/freetype2/freetype/config"