TelepathyIM / telepathy-morse

Telegram connection manager for the Telepathy framework
GNU General Public License v2.0
61 stars 10 forks source link

Can't make on Debian Stretch #35

Closed criztovyl closed 8 years ago

criztovyl commented 8 years ago
$ LANG=C make
[ 10%] Automatic moc for target telepathy-morse
[ 10%] Built target telepathy-morse_automoc
[ 20%] Building CXX object CMakeFiles/telepathy-morse.dir/debug.cpp.o
/home/christoph/build/telepathy-morse/debug.cpp:22:33: fatal error: TelepathyQt/BaseDebug: No such file or directory
 #include <TelepathyQt/BaseDebug>
                                 ^
compilation terminated.
CMakeFiles/telepathy-morse.dir/build.make:110: recipe for target 'CMakeFiles/telepathy-morse.dir/debug.cpp.o' failed
make[2]: *** [CMakeFiles/telepathy-morse.dir/debug.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/telepathy-morse.dir/all' failed
make[1]: *** [CMakeFiles/telepathy-morse.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

For me all TelepathyQt files are present in usr/include/telepathy-qt5/TelepathyQt/ (including BaseDebug).

If I do make -I/usr/include/telepathy-qt5 or make -I/usr/include/telepathy-qt5/TelepathyQt it still does not work, with the same error as above.

If I change to include to telepathy-qt5/TelepathyQt/BaseDebug it fails to find base-debug.h (which also is present in above dir.)

$ LANG=C make
[ 10%] Automatic moc for target telepathy-morse
Generating moc source debug.moc
/home/christoph/build/telepathy-morse/debug.cpp:0: Note: No relevant classes found. No output generated.
[ 10%] Built target telepathy-morse_automoc
Scanning dependencies of target telepathy-morse
[ 20%] Building CXX object CMakeFiles/telepathy-morse.dir/debug.cpp.o
In file included from /home/christoph/build/telepathy-morse/debug.cpp:22:0:
/usr/include/telepathy-qt5/TelepathyQt/BaseDebug:8:36: fatal error: TelepathyQt/base-debug.h: No such file or directory
 #include <TelepathyQt/base-debug.h>
                                    ^
compilation terminated.
CMakeFiles/telepathy-morse.dir/build.make:110: recipe for target 'CMakeFiles/telepathy-morse.dir/debug.cpp.o' failed
make[2]: *** [CMakeFiles/telepathy-morse.dir/debug.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/telepathy-morse.dir/all' failed
make[1]: *** [CMakeFiles/telepathy-morse.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Kaffeine commented 8 years ago

Can you please add VERBOSE=1 to the build command (so the command will be VERBOSE=1 LANG=C make) and paste here the output with full compilation commands (which should include -I options with include directories)?

Looks like a configuration error.

criztovyl commented 8 years ago

http://pastebin.com/gsxX1KqW

criztovyl commented 8 years ago

Hell, no!

My fault, there is an old TelepathyQt in /usr/local and new is in /usr.

Kaffeine commented 8 years ago

:) Close the issue?