unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Leinen <simon.leinen@switch.ch>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: 36758@debbugs.gnu.org
Subject: bug#36758: 27.0.50; Mac OS/Lucid/X11: crash with libharfbuzz
Date: Mon, 22 Jul 2019 19:20:23 +0200	[thread overview]
Message-ID: <aasgqygf54.fsf@switch.ch> (raw)
In-Reply-To: <aar26il3k7.fsf@switch.ch> (Simon Leinen's message of "Mon, 22 Jul 2019 13:19:20 +0200")

Simon Leinen writes:
> So I guess all I have to do is make sure Emacs doesn't use the old
> libfreetype in /opt/X11/lib, but rather the newer one in
> /usr/local/lib (and hope that that one works in an X11 environment...)

I finally managed to get the Emacs Makefiles put
-L/usr/local/opt/freetype/lib in front of -L/opt/X11/lib, and rebuilt my
Emacs binaries.  They now no longer crash when I open the message with
the Arabic font in GNUS.  Hooray!

So the problem was a typical "DLL hell" issue that I brought upon myself
by selecting an unusual combination of libraries.  I don't think there's
much for the Emacs developers to improve in this situation.  Therefore I
think this bug can safely be closed.

I wrote up my (fixed) build procedure on my blog:

https://blog.simon.leinen.ch/2019/07/compiling-emacs-on-mac-os-against-x11.html

This is mainly for my own reference - it's so convoluted that I rely on
config.log to reconstruct all the options... but the Internet is big,
and maybe it's even useful for someone else.

Thanks again for your kind help with this!

Best regards,
-- 
Simon.





  reply	other threads:[~2019-07-22 17:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-22  7:09 bug#36758: 27.0.50; Mac OS/Lucid/X11: crash with libharfbuzz Simon Leinen
2019-07-22  8:15 ` YAMAMOTO Mitsuharu
2019-07-22  8:42   ` Simon Leinen
2019-07-22  9:58     ` YAMAMOTO Mitsuharu
2019-07-22 10:52       ` Simon Leinen
2019-07-22 11:13         ` YAMAMOTO Mitsuharu
2019-07-22 11:19           ` Simon Leinen
2019-07-22 17:20             ` Simon Leinen [this message]
2019-07-30  0:03               ` YAMAMOTO Mitsuharu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aasgqygf54.fsf@switch.ch \
    --to=simon.leinen@switch.ch \
    --cc=36758@debbugs.gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).