[Github-comments] [geany/geany-plugins] debugger plugin will not make/compile (#762)

lewtwo notifications at xxxxx
Fri Aug 3 07:10:32 UTC 2018


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.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/762
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180803/3a2e566b/attachment.html>


More information about the Github-comments mailing list