bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38349: 27.0.50; process.c:134:10: fatal error: 'glib.h' file not fou


From: Eli Zaretskii
Subject: bug#38349: 27.0.50; process.c:134:10: fatal error: 'glib.h' file not found
Date: Sat, 23 Nov 2019 19:59:39 +0200

> From: Pankaj Jangid <p4j@j4d.net>
> Date: Sat, 23 Nov 2019 17:32:33 +0000
> 
> Got this today while building commit
> b9e99ab5ac49f8cb03fc1c27eb830a24e9bdf83c.
> 
> ```
> /Library/Developer/CommandLineTools/usr/bin/make -C src 
> VCSWITNESS='$(srcdir)/../.git/logs/HEAD' all
>   CC       process.o
> process.c:134:10: fatal error: 'glib.h' file not found
> #include <glib.h>
>          ^~~~~~~~
> 1 error generated.

That line is in process.c since 2013, so what changed lately on your
system that suddenly this is a problem?  Did you update your system
libraries or headers?

> Configured using:
>  'configure LDFLAGS=-L/usr/local/opt/ruby/lib
>  CPPFLAGS=-I/usr/local/opt/ruby/include
>  
> PKG_CONFIG_PATH=:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/ruby/lib/pkgconfig
>  'HARFBUZZ_CFLAGS=-I/usr/local/Cellar/harfbuzz/2.6.4/include/harfbuzz
>  -I/usr/local/Cellar/glib/2.62.2/include/glib-2.0
>  -I/usr/local/Cellar/glib/2.62.2/lib/glib-2.0/include
>  -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.43/include
>  -I/usr/local/Cellar/graphite2/1.3.13/include'
>  'HARFBUZZ_LIBS=-L/usr/local/Cellar/harfbuzz/2.6.4/lib -lharfbuzz''

Isn't HarfBuzz not yet supported on macOS?  Why do you have HarfBuzz
related flags in your compilation?

Perhaps look in config.log for how HAVE_GLIB got defined, if you don't
have it.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]