cmake is not passing -I ${_prefix}/include/tqt to gcc causing gcc to fail tqt.h is not found as the include path is not set correctly.
On 05/14/2011 01:52 PM, Baho Utot wrote:
cmake is not passing -I ${_prefix}/include/tqt to gcc causing gcc to fail tqt.h is not found as the include path is not set correctly.
Hmm...
Is that why I have to include:
export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt
in the PKGBUILDs?
On 05/14/2011 03:02 PM, David C. Rankin wrote:
On 05/14/2011 01:52 PM, Baho Utot wrote:
cmake is not passing -I ${_prefix}/include/tqt to gcc causing gcc to fail tqt.h is not found as the include path is not set correctly.
Hmm...
Is that why I have to include:
export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt
in the PKGBUILDs?
Yes
On 05/14/2011 01:52 PM, Baho Utot wrote:
cmake is not passing -I ${_prefix}/include/tqt to gcc causing gcc to fail tqt.h is not found as the include path is not set correctly.
I have the same problem Baho:
[ 75%] Building CXX object style/CMakeFiles/qtcurve.dir/qtcurve.o cd /build/src/build/style && /usr/bin/c++ -Dqtcurve_EXPORTS -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT -I/opt/trinity/include -fPIC -I/build/src/kde-style-qtcurve -I/build/src/build -I/build/src/build/style -I/usr/include/qt4 -I/build/src/kde-style-qtcurve/common -o CMakeFiles/qtcurve.dir/qtcurve.o -c /build/src/kde-style-qtcurve/style/qtcurve.cpp cc1plus: fatal error: tqt.h: No such file or directory compilation terminated. make[2]: *** [style/CMakeFiles/qtcurve.dir/qtcurve.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [style/CMakeFiles/qtcurve.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
On 05/14/2011 01:52 PM, Baho Utot wrote:
cmake is not passing -I ${_prefix}/include/tqt to gcc causing gcc to fail tqt.h is not found as the include path is not set correctly.
I have the same problem Baho:
[ 75%] Building CXX object style/CMakeFiles/qtcurve.dir/qtcurve.o cd /build/src/build/style && /usr/bin/c++ -Dqtcurve_EXPORTS -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT -I/opt/trinity/include -fPIC -I/build/src/kde-style-qtcurve -I/build/src/build -I/build/src/build/style -I/usr/include/qt4 -I/build/src/kde-style-qtcurve/common -o CMakeFiles/qtcurve.dir/qtcurve.o -c /build/src/kde-style-qtcurve/style/qtcurve.cpp cc1plus: fatal error: tqt.h: No such file or directory compilation terminated. make[2]: *** [style/CMakeFiles/qtcurve.dir/qtcurve.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [style/CMakeFiles/qtcurve.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
Those CMake files are hacked up copies of the original (pre-Trinity) CMake files that came with kde-style-qtcurve. They are extremely fragile, and as you can see, break quite readily.
Where is your tqt.h file located?
Thanks!
Tim
On 05/15/2011 12:22 AM, Timothy Pearson wrote:
On 05/14/2011 01:52 PM, Baho Utot wrote:
cmake is not passing -I ${_prefix}/include/tqt to gcc causing gcc to fail tqt.h is not found as the include path is not set correctly.
I have the same problem Baho:
[ 75%] Building CXX object style/CMakeFiles/qtcurve.dir/qtcurve.o cd /build/src/build/style&& /usr/bin/c++ -Dqtcurve_EXPORTS -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT -I/opt/trinity/include -fPIC -I/build/src/kde-style-qtcurve -I/build/src/build -I/build/src/build/style -I/usr/include/qt4 -I/build/src/kde-style-qtcurve/common -o CMakeFiles/qtcurve.dir/qtcurve.o -c /build/src/kde-style-qtcurve/style/qtcurve.cpp cc1plus: fatal error: tqt.h: No such file or directory compilation terminated. make[2]: *** [style/CMakeFiles/qtcurve.dir/qtcurve.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [style/CMakeFiles/qtcurve.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
Those CMake files are hacked up copies of the original (pre-Trinity) CMake files that came with kde-style-qtcurve. They are extremely fragile, and as you can see, break quite readily.
Where is your tqt.h file located?
/usr/local/include/tqt/tqt.h
On 05/15/2011 08:46 AM, Baho Utot wrote:
On 05/15/2011 12:22 AM, Timothy Pearson wrote:
On 05/14/2011 01:52 PM, Baho Utot wrote:
cmake is not passing -I ${_prefix}/include/tqt to gcc causing gcc to fail tqt.h is not found as the include path is not set correctly.
I have the same problem Baho:
[ 75%] Building CXX object style/CMakeFiles/qtcurve.dir/qtcurve.o cd /build/src/build/style&& /usr/bin/c++ -Dqtcurve_EXPORTS -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT -I/opt/trinity/include -fPIC -I/build/src/kde-style-qtcurve -I/build/src/build -I/build/src/build/style -I/usr/include/qt4 -I/build/src/kde-style-qtcurve/common -o CMakeFiles/qtcurve.dir/qtcurve.o -c /build/src/kde-style-qtcurve/style/qtcurve.cpp cc1plus: fatal error: tqt.h: No such file or directory compilation terminated. make[2]: *** [style/CMakeFiles/qtcurve.dir/qtcurve.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [style/CMakeFiles/qtcurve.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
Those CMake files are hacked up copies of the original (pre-Trinity) CMake files that came with kde-style-qtcurve. They are extremely fragile, and as you can see, break quite readily.
Where is your tqt.h file located?
/usr/local/include/tqt/tqt.h
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
Another error in kde-style-qtcurve... It installs all the files into opt no matter what cmake -DCMAKE_INSTALL_PREFIX=${_prefix} is set to _prefix=/usr/local
opt/ opt/trinity/ opt/trinity/share/ opt/trinity/lib/ opt/trinity/lib/kde3/ opt/trinity/lib/kde3/plugins/ opt/trinity/lib/kde3/plugins/styles/ opt/trinity/lib/kde3/plugins/styles/qtcurve.so opt/trinity/share/apps/ opt/trinity/share/apps/kdisplay/ opt/trinity/share/apps/QtCurve/ opt/trinity/share/apps/QtCurve/Murrine.qtcurve opt/trinity/share/apps/QtCurve/Ozone.qtcurve opt/trinity/share/apps/QtCurve/Agua_II.qtcurve opt/trinity/share/apps/QtCurve/Agua.qtcurve opt/trinity/share/apps/QtCurve/Milk.qtcurve opt/trinity/share/apps/QtCurve/Flat.qtcurve opt/trinity/share/apps/QtCurve/Curve.qtcurve opt/trinity/share/apps/QtCurve/Klearlooks.qtcurve opt/trinity/share/apps/QtCurve/Silk.qtcurve opt/trinity/share/apps/QtCurve/Inverted.qtcurve opt/trinity/share/apps/QtCurve/Plastic.qtcurve opt/trinity/share/apps/QtCurve/Human.qtcurve opt/trinity/share/apps/kdisplay/color-schemes/ opt/trinity/share/apps/kdisplay/color-schemes/QtCurve.kcsrc
cmake ${srcdir}/${_module}/ \ -DCMAKE_INSTALL_PREFIX=${_prefix} \ -DCMAKE_SKIP_RPATH=ON make }
On 05/15/2011 07:58 AM, Baho Utot wrote:
On 05/15/2011 08:46 AM, Baho Utot wrote:
On 05/15/2011 12:22 AM, Timothy Pearson wrote:
On 05/14/2011 01:52 PM, Baho Utot wrote:
cmake is not passing -I ${_prefix}/include/tqt to gcc causing gcc to fail tqt.h is not found as the include path is not set correctly.
I have the same problem Baho:
[ 75%] Building CXX object style/CMakeFiles/qtcurve.dir/qtcurve.o cd /build/src/build/style&& /usr/bin/c++ -Dqtcurve_EXPORTS -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT -I/opt/trinity/include -fPIC -I/build/src/kde-style-qtcurve -I/build/src/build -I/build/src/build/style -I/usr/include/qt4 -I/build/src/kde-style-qtcurve/common -o CMakeFiles/qtcurve.dir/qtcurve.o -c /build/src/kde-style-qtcurve/style/qtcurve.cpp cc1plus: fatal error: tqt.h: No such file or directory compilation terminated. make[2]: *** [style/CMakeFiles/qtcurve.dir/qtcurve.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [style/CMakeFiles/qtcurve.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
Those CMake files are hacked up copies of the original (pre-Trinity) CMake files that came with kde-style-qtcurve. They are extremely fragile, and as you can see, break quite readily.
Where is your tqt.h file located?
/usr/local/include/tqt/tqt.h
Another error in kde-style-qtcurve... It installs all the files into opt no matter what cmake -DCMAKE_INSTALL_PREFIX=${_prefix} is set to _prefix=/usr/local
opt/ opt/trinity/ opt/trinity/share/
<snip>
Baho,
I was able to get style-qtcurve to build with:
-DCMAKE_CXX_FLAGS="-I /opt/qt/include -I /opt/qt/include/tqt" \
This looks like another package that has lost the ability to find include files. Like kdegraphics, etc...
I don't know why it all goes in /opt/trinity (but that's my prefix anyway :)
On 05/14/2011 11:22 PM, Timothy Pearson wrote:
Those CMake files are hacked up copies of the original (pre-Trinity) CMake files that came with kde-style-qtcurve. They are extremely fragile, and as you can see, break quite readily.
Where is your tqt.h file located?
Thanks!
Mine is in:
/opt/qt/include/tqt