trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2011

Re: [trinity-devel] kdevelop 3.5.13 won't build

From: "Timothy Pearson" <kb9vqf@...>
Date: Tue, 8 Nov 2011 12:00:39 -0600
> Hey folks,
>
> I really need help with this. kdevelop is the only package I can't build.
>
> Slackware 13.1.
>
> Log:
>
> http://humanreadable.nfshost.com/trinity/build_logs/kdevelop-3.5.13-i486-1-build.log.gz
>
> Apparent problem:
>
> cc1: error: tqt.h: No such file or directory
>
> The path to tqt.h is available. See the environment variables at the
> beginning of the log. Also the log shows other parts of the build are
> finding tqt.h.
>
> Thanks much!
>
> Darrell
>

I am no CMake expert, but looking at the CMakeLists.txt file for the
failing module:
http://git.trinitydesktop.org/cgit/tdevelop/tree/parts/ctags2/CMakeLists.txt

and looking at the generated gcc compilation line:
cd /dev/shm/kdevelop.build/parts/ctags2 && /usr/bin/gcc 
-Dlibkdevctags2_module_EXPORTS -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -O2 -march=i486 -mtune=i686 -fPIC
-I/dev/shm/kdevelop.build/parts/ctags2 -I/dev/shm/kdevelop/lib/interfaces
-I/dev/shm/kdevelop/lib/interfaces/extensions -I/dev/shm/kdevelop/lib/util
-I/opt/trinity/include   -include tqt.h -o
CMakeFiles/libkdevctags2-module.dir/readtags.c.o   -c
/dev/shm/kdevelop/parts/ctags2/readtags.c

I would say that for some reason TQT_INCLUDE_DIRS is not set.

Where exactly is your tqt.h file located?

Tim