After kdebase successfully built, I moved on to kdegraphics. config.h is missing?
[ 28%] Building CXX object kpdf/conf/CMakeFiles/kpdfconf-static.dir/dlggeneral.cpp.o cd /build/src/build/kpdf/conf && /usr/bin/c++ -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 -I/build/src/build/kpdf/conf -I/build/src/build/kpdf/conf/.. -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -fPIC -o CMakeFiles/kpdfconf-static.dir/dlggeneral.cpp.o -c /build/src/build/kpdf/conf/dlggeneral.cpp In file included from /build/src/build/kpdf/conf/dlggeneral.cpp:27:0: /build/src/build/kpdf/conf/dlggeneral.ui.h:15:20: fatal error: config.h: No such file or directory compilation terminated. make[2]: *** [kpdf/conf/CMakeFiles/kpdfconf-static.dir/dlggeneral.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [kpdf/conf/CMakeFiles/kpdfconf-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
What say the experts?
Le Sat, 14 May 2011 20:59:34 -0500, "David C. Rankin" drankinatty@suddenlinkmail.com a écrit :
After kdebase successfully built, I moved on to kdegraphics. config.h is missing?
[ 28%] Building CXX object kpdf/conf/CMakeFiles/kpdfconf-static.dir/dlggeneral.cpp.o cd /build/src/build/kpdf/conf && /usr/bin/c++ -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 -I/build/src/build/kpdf/conf -I/build/src/build/kpdf/conf/.. -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -fPIC -o CMakeFiles/kpdfconf-static.dir/dlggeneral.cpp.o -c /build/src/build/kpdf/conf/dlggeneral.cpp In file included from /build/src/build/kpdf/conf/dlggeneral.cpp:27:0: /build/src/build/kpdf/conf/dlggeneral.ui.h:15:20: fatal error: config.h: No such file or directory compilation terminated. make[2]: *** [kpdf/conf/CMakeFiles/kpdfconf-static.dir/dlggeneral.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [kpdf/conf/CMakeFiles/kpdfconf-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
What say the experts?
The include paths seem to be bad, they don't include the /build/src/build directory, but config.h is (if I'm not wrong - I'm not an Arch expert :)) in this directory, since it is at the root of kdegraphics svn tree: http://websvn.kde.org/branches/trinity/kdegraphics/config.h.cmake?view=log
On 05/14/2011 09:14 PM, /dev/ammo42 wrote:
What say the experts?
The include paths seem to be bad, they don't include the /build/src/build directory, but config.h is (if I'm not wrong - I'm not an Arch expert :)) in this directory, since it is at the root of kdegraphics svn tree: http://websvn.kde.org/branches/trinity/kdegraphics/config.h.cmake?view=log
It's not in my kdegraphics package at all:
find ../../trinity/kdegraphics/ -name config.h <nothing>
On 05/14/2011 09:14 PM, /dev/ammo42 wrote:
What say the experts?
The include paths seem to be bad, they don't include the /build/src/build directory, but config.h is (if I'm not wrong - I'm not an Arch expert :)) in this directory, since it is at the root of kdegraphics svn tree: http://websvn.kde.org/branches/trinity/kdegraphics/config.h.cmake?view=log
It's not in my kdegraphics package at all:
find ../../trinity/kdegraphics/ -name config.h
<nothing>
It is an auto-generated file, created during the build process when using Autotools.
Serghei, how can this be fixed with CMake?
Thanks!
Tim
On Sunday 15 May 2011 04:59:34 David C. Rankin wrote:
After kdebase successfully built, I moved on to kdegraphics. config.h is missing?
Fixed in SVN revision 1232067
On 05/15/2011 04:34 AM, Serghei Amelian wrote:
On Sunday 15 May 2011 04:59:34 David C. Rankin wrote:
After kdebase successfully built, I moved on to kdegraphics. config.h is missing?
Fixed in SVN revision 1232067
Thanks Serghei,
I got one more for you :)
[ 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().
On 05/15/2011 06:29 PM, David C. Rankin wrote:
On 05/15/2011 04:34 AM, Serghei Amelian wrote:
On Sunday 15 May 2011 04:59:34 David C. Rankin wrote:
After kdebase successfully built, I moved on to kdegraphics. config.h is missing?
Fixed in SVN revision 1232067
Thanks Serghei,
I got one more for you :)
[ 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().
Add the following to dependencies imlib freetype2 sane
On 05/15/2011 05:45 PM, Baho Utot wrote:
On 05/15/2011 06:29 PM, David C. Rankin wrote:
On 05/15/2011 04:34 AM, Serghei Amelian wrote:
On Sunday 15 May 2011 04:59:34 David C. Rankin wrote:
After kdebase successfully built, I moved on to kdegraphics. config.h is missing?
Fixed in SVN revision 1232067
Thanks Serghei,
I got one more for you :)
[ 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().
Add the following to dependencies imlib freetype2 sane
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messsages on the Web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
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...:
depends=('trinity-kdebase' 'freetype2' 'imlib' 'libart-lgpl' 'libgphoto2' 'libtiff' 'openexr' 'sane' 't1lib')
[ 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(). Aborting... Build failed, check /dat_e/david/bld/david/build
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.
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"
On 05/15/2011 07:28 PM, Baho Utot wrote:
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"
That crashed at the same place as well. However, I was able to build with:
-DCMAKE_CXX_FLAGS="-I /usr/include/freetype2 -fpermissive" \
8507172 May 16 11:42 trinity-kdegraphics-1232067-1-i686.pkg.tar.xz
The questions is why can't kdegraphics find the freetype2 includes? It used to find them... It finds all other includes, but it just started crashing on the freetype2 include this past week?? The Arch header location hasn't changed, so why so much trouble with this header?
It is building though. I'm currently building with:
cmake ${srcdir}/${_svnmod} \ -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DQT_VERSION=3 \ -DCMAKE_CXX_FLAGS="-I /usr/include/freetype2 -fpermissive" \ -DWITH_T1LIB=ON \ -DWITH_LIBPAPER=ON \ -DWITH_TIFF=ON \ -DWITH_OPENEXR=ON \ -DWITH_PAM=ON \ -DBUILD_ALL=ON make