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: Pankaj Jangid
Subject: bug#38349: 27.0.50; process.c:134:10: fatal error: 'glib.h' file not found
Date: Sat, 23 Nov 2019 18:17:05 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin)

Eli Zaretskii <eliz@gnu.org> writes:
>> 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?
>

Yes, glib got updated today when I ran 'brew upgrade' today. But that
was a minor upgrade from 2.62.2 to 2.62.3. Here is the log,

==> Upgrading glib ==> Downloading
https://homebrew.bintray.com/bottles/glib-2.62.3.catalina.bottle.tar.gz
==> Downloading from
https://akamai.bintray.com/e4/e47b36ad0d3f8380b995573d5f545526bd6977a3196a282d91547d92d56c52f0?__gda__=exp=1574514686~hmac=ccae058958b112e9f2c2d5e76f0b940794c32a7f50e27170de5f2f259e65
########################################################################
100.0% ==> Pouring glib-2.62.3.catalina.bottle.tar.gz ==> Caveats Bash
completion has been installed to:
  /usr/local/etc/bash_completion.d ==> Summary 🍺
/usr/local/Cellar/glib/2.62.3: 435 files, 15.4MB Removing:
/usr/local/Cellar/glib/2.62.1... (435 files, 15.4MB) Removing:
/usr/local/Cellar/glib/2.62.2... (435 files, 15.4MB)

>> 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.
>

When I was trying to configure with HarfBuzz support last week, I
created environment variable. I was trying various ways to include
HarfBuzz. I wasn't aware that HarfBuzz support is not yet implemented on
MacOS. But even with this setting earlier commits worked just fine.

HAVE_GLIB is defined.

Let me just do a "make bootstrap" and report in a while.

Regards,
-- 
Pankaj Jangid





reply via email to

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