Tatsh / kate-wakatime

Kate plugin to interface with WakaTime
https://tatsh.github.io/kate-wakatime/
11 stars 9 forks source link

Add dependency information in README #9

Closed ylogx closed 9 years ago

ylogx commented 9 years ago

I followed the exact steps mentioned in the README, but I get following error:

kate-wakatime/build git:(master) ± make                                                                  [0, 4.2G, 0.89 (8)] 18:43:04
Scanning dependencies of target ktexteditor_wakatime_automoc
Generating wakatimeview.moc
[  0%] Built target ktexteditor_wakatime_automoc
Scanning dependencies of target ktexteditor_wakatime
[ 50%] Building CXX object CMakeFiles/ktexteditor_wakatime.dir/ktexteditor_wakatime_automoc.o
[100%] Building CXX object CMakeFiles/ktexteditor_wakatime.dir/wakatimeplugin.o
/tmp/kate-wakatime/wakatimeplugin.cpp:45:26: fatal error: qjson/parser.h: No such file or directory
 #include <qjson/parser.h>
                          ^
compilation terminated.
CMakeFiles/ktexteditor_wakatime.dir/build.make:77: recipe for target 'CMakeFiles/ktexteditor_wakatime.dir/wakatimeplugin.o' failed
make[2]: *** [CMakeFiles/ktexteditor_wakatime.dir/wakatimeplugin.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/ktexteditor_wakatime.dir/all' failed
make[1]: *** [CMakeFiles/ktexteditor_wakatime.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Tatsh commented 9 years ago

You would have had to have skipped step 4 which says Install QJson library. That is what provides <qjson/parser.h>.

Please post what distro or OS you are using. This plugin is (as far as I know) only tested with Gentoo Linux and MacPorts (OS X). It should work with others as long as dependencies are in place.

ylogx commented 9 years ago

I'm on fedora. I had qjson installed but what I needed was qjson-devel.

Tatsh commented 9 years ago

Pull requests are welcome if you want to add the information necessary for Fedora.