OS: Ubuntu Release 18.04.1 LTS UI: Mate 1.20.1 Compiler package: - gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0 - g++ (Ubuntu 7.3.0-16ubuntu3) 7.3.0 - GNU Make 4.1, Built for x86_64-pc-linux-gnu - pkg-config 0.29.2
Other packages: sudo apt-get install glib2.0 sudo apt-get install gtk2.0 sudo apt-get install docutils-common sudo apt-get install git
Geany version 1.34 does configure, compile, make and install in said environment. running make in the debugger plugin sub directory generated the following
**debug.c:53:10: fatal error: vte/vte.h: No such file or directory #include <vte/vte.h>**
``` $ make Making all in src make[1]: Entering directory '/home/lewis/Downloads/geany-plugins/debugger/src' CC debugger_la-bptree.lo bptree.c: In function ‘on_hitscount_changed’: bptree.c:373:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (oldcount != count) ^~ bptree.c:376:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ gtk_tree_path_free(tree_path); ^~~~~~~~~~~~~~~~~~ CC debugger_la-breakpoint.lo CC debugger_la-breakpoints.lo CC debugger_la-btnpanel.lo CC debugger_la-callbacks.lo CC debugger_la-calltip.lo CC debugger_la-dbm_gdb.lo CC debugger_la-dconfig.lo dconfig.c: In function ‘saving_thread_func’: dconfig.c:314:2: warning: ‘g_cond_timed_wait’ is deprecated [-Wdeprecated-declarations] while (!g_cond_timed_wait(cond, change_config_mutex, &interval)); ^~~~~ In file included from /usr/include/glib-2.0/glib.h:108:0, from /usr/include/glib-2.0/glib/gprintf.h:21, from /usr/include/glib-2.0/glib/gstdio.h:22, from dconfig.c:30: /usr/include/glib-2.0/glib/deprecated/gthread.h:285:17: note: declared here gboolean g_cond_timed_wait (GCond *cond, ^~~~~~~~~~~~~~~~~ dconfig.c: In function ‘config_init’: dconfig.c:461:2: warning: ‘g_mutex_new’ is deprecated [-Wdeprecated-declarations] change_config_mutex = g_mutex_new(); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:108:0, from /usr/include/glib-2.0/glib/gprintf.h:21, from /usr/include/glib-2.0/glib/gstdio.h:22, from dconfig.c:30: /usr/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^~~~~~~~~~~ dconfig.c:462:2: warning: ‘g_cond_new’ is deprecated [-Wdeprecated-declarations] cond = g_cond_new(); ^~~~ In file included from /usr/include/glib-2.0/glib.h:108:0, from /usr/include/glib-2.0/glib/gprintf.h:21, from /usr/include/glib-2.0/glib/gstdio.h:22, from dconfig.c:30: /usr/include/glib-2.0/glib/deprecated/gthread.h:281:17: note: declared here GCond * g_cond_new (void); ^~~~~~~~~~ dconfig.c:463:2: warning: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] saving_thread = g_thread_create(saving_thread_func, NULL, TRUE, NULL); ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:108:0, from /usr/include/glib-2.0/glib/gprintf.h:21, from /usr/include/glib-2.0/glib/gstdio.h:22, from dconfig.c:30: /usr/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: declared here GThread *g_thread_create (GThreadFunc func, ^~~~~~~~~~~~~~~ dconfig.c: In function ‘config_destroy’: dconfig.c:474:2: warning: ‘g_mutex_free’ is deprecated [-Wdeprecated-declarations] g_mutex_free(change_config_mutex); ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:108:0, from /usr/include/glib-2.0/glib/gprintf.h:21, from /usr/include/glib-2.0/glib/gstdio.h:22, from dconfig.c:30: /usr/include/glib-2.0/glib/deprecated/gthread.h:279:17: note: declared here void g_mutex_free (GMutex *mutex); ^~~~~~~~~~~~ dconfig.c:475:2: warning: ‘g_cond_free’ is deprecated [-Wdeprecated-declarations] g_cond_free(cond); ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:108:0, from /usr/include/glib-2.0/glib/gprintf.h:21, from /usr/include/glib-2.0/glib/gstdio.h:22, from dconfig.c:30: /usr/include/glib-2.0/glib/deprecated/gthread.h:283:17: note: declared here void g_cond_free (GCond *cond); ^~~~~~~~~~~ CC debugger_la-debug.lo debug.c:53:10: fatal error: vte/vte.h: No such file or directory #include <vte/vte.h> ^~~~~~~~~~~ compilation terminated. Makefile:1032: recipe for target 'debugger_la-debug.lo' failed make[1]: *** [debugger_la-debug.lo] Error 1 make[1]: Leaving directory '/home/lewis/Downloads/geany-plugins/debugger/src' Makefile:583: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 $ ``` vte.c and vte.h do exist in the geany 1.34 src subdirectory and can be copied to for the debugger but there are still to many errors to compile.
When you configured Geany-Plugins, you should have seen that the Debugger plugin wasn't enabled, because it lacked some dependencies. To force failure if a dependency is missing instead of disabling building of the plugin, force enabling that plugin with `--enable-debugger`.
Anyway, you're lacking `libvte` development files (I thing for now the debugger plugin only supports GTK2, so you'll need `libvte2-dev`, not `libvte-2.90-dev`), which are not the same as Geany's `vte` module which i Geany's part *using* `libvte`.
GTK3 support for the debugger plugin is work in progress/there is a pending PR, see #645.
added libvte-dev and I have both GTK2 and GTK3 as well Still not joy. Ubuntu currently distributes version 1.32 of geany-plugins without the debugger. I suspect they may have had difficulties getting it to build as well.
I will just have to wait for the GTK3 update
Closed #762.
You should be able to build both Geany and plugins with GTK2, and get the debugger plugin working. Or try @LarsGit223 PR for GTK3 support in the debugger plugin.
The Ubuntu supplied Geany is GTK3, so yes the debugger plugin would not compile.
Small correction: The debugger plugin's PR is from @pmjobin. I only wrote the GTK3-port PR for the scope plugin (another debugger plugin).
github-comments@lists.geany.org