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-b...
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.
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.
I never heard of this environment variable. There is nothing in the wiki discussing this variable.
With that said, look at the top of the log and you'll see environment variables. The tqt include directory is defined:
CPLUS_INCLUDE_PATH: /opt/trinity/lib/qt3-3.3.8.d/include:/opt/trinity/include:/usr/include:/usr/include/tqt
With that said, I temporarily modified the kdedevelop build script to explicitly export TQT_INCLUDE_DIRS=/usr/include/tqt. The build failed in the same exact way. :(
does this variable need to be declared inthe cmake options?
Where exactly is your tqt.h file located?
/usr/include/tqt/tqt.h
Darrell