On Mon, 9 Apr 2018 at 17:38:50, Colomban Wendling wrote:
Why are you setting GLIB_CFLAGS? You shouldn't do that manually but on *very* specific cases. Normally it should discover the appropriate flags through the pkg-config system, and those should be correct.
I set that flag because I was receiving the exact same error before I set it. I tried a new build with only the following sequence of commands:
setenv PATH /user/kklein/lib/intltool/0.50.2/bin:$PATH setenv PKG_CONFIG_PATH /user/kklein/geany/1.33/lib/pkgconfig setenv GEANY_CFLAGS -I/user/kklein/geany/1.33/include/geany ./configure --prefix=/user/kklein/geany/1.33 make
The first 3 commands are necessary to prevent other errors, yet when I run "make", I still receive the following error:
Making all in src
make[3]: Entering directory `/user/kklein/geany-plugins-1.33/utils/src'
CC libgeanypluginutils_la-filelist.lo
filelist.c:19:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
Is there some other variable I need to set?
Le 11/04/2018 à 13:48, Kevin Klein a écrit :
On Mon, 9 Apr 2018 at 17:38:50, Colomban Wendling wrote:
Why are you setting GLIB_CFLAGS? You shouldn't do that manually but on *very* specific cases. Normally it should discover the appropriate flags through the pkg-config system, and those should be correct.
I set that flag because I was receiving the exact same error before I set it. I tried a new build with only the following sequence of commands:
setenv PATH /user/kklein/lib/intltool/0.50.2/bin:$PATH setenv PKG_CONFIG_PATH /user/kklein/geany/1.33/lib/pkgconfig setenv GEANY_CFLAGS -I/user/kklein/geany/1.33/include/geany
Again, it's odd that you'd have to set this. What does
$ PKG_CONFIG_PATH=/user/kklein/geany/1.33/lib/pkgconfig pkg-config --modversion geany give you?
Similarly, what does
$ pkg-config --modversion glib-2.0
give you?
And do you have the development package for glib installed?
On 12 April 2018 at 08:06, Colomban Wendling lists.ban@herbesfolles.org wrote:
Le 11/04/2018 à 13:48, Kevin Klein a écrit :
On Mon, 9 Apr 2018 at 17:38:50, Colomban Wendling wrote:
Why are you setting GLIB_CFLAGS? You shouldn't do that manually but on *very* specific cases. Normally it should discover the appropriate flags through the pkg-config system, and those should be correct.
I set that flag because I was receiving the exact same error before I set it. I tried a new build with only the following sequence of commands:
setenv PATH /user/kklein/lib/intltool/0.50.2/bin:$PATH setenv PKG_CONFIG_PATH /user/kklein/geany/1.33/lib/pkgconfig setenv GEANY_CFLAGS -I/user/kklein/geany/1.33/include/geany
Again, it's odd that you'd have to set this. What does
$ PKG_CONFIG_PATH=/user/kklein/geany/1.33/lib/pkgconfig pkg-config --modversion geany give you?
Similarly, what does
$ pkg-config --modversion glib-2.0
give you? _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users