linuxmakefileconfiguregeanygeany-plugin

How to include additional directories when configuring makefiles


I'm trying to compile geany-plugins-1.28. The debugger plugin (the only one I need) gives the error:

debug.c:53:21: fatal error: vte/vte.h: No such file or directory
#include <vte/vte.h>

Clearly it needs to know where this file is located to compile. I found the vte.h file in the src directory of the main program geany-1.28. When running

sudo ./configure cflags=-I/home/pi/Desktop/geany-1.28/src

I get the same error about the missing header later trying to compile the debugger plugin.

I ran

./configure --help 

to get all the flag options. The output is here

How do I get this to configure correctly so that it compiles. I need to compile the debugger version 1.28 myself because apt only installs 1.24 which I think has a bug because it crashes when I run my code with the error:

close failed in file object destructor:
sys.execpthook is missing
lost sys.stderr

Solution

  • As in this answer stated, vte.h is not the file you are looking for. Install libvte(-dev) package on your system and rerun configure.

    Just for the record: vte.h on Geany is a dummy to allow Geany to kind of dynamical enable vte or disable it depending on vte is installed on the system or not.