From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.help Subject: Re: Failure to compile Date: Thu, 12 Oct 2017 14:10:29 +0000 Message-ID: References: <23a3fd3f-a318-76b9-95ec-df054c2f16f5@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1507817486 26135 195.159.176.226 (12 Oct 2017 14:11:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 14:11:26 +0000 (UTC) To: Conner Phillips , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 12 16:11:13 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2eCZ-0004k9-ID for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 16:11:07 +0200 Original-Received: from localhost ([::1]:45802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2eCg-0002c1-NZ for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 10:11:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2eCD-0002bs-HF for help-gnu-emacs@gnu.org; Thu, 12 Oct 2017 10:10:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2eCC-0006cF-DR for help-gnu-emacs@gnu.org; Thu, 12 Oct 2017 10:10:45 -0400 Original-Received: from mail-qt0-x232.google.com ([2607:f8b0:400d:c0d::232]:53855) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2eCC-0006bi-7X for help-gnu-emacs@gnu.org; Thu, 12 Oct 2017 10:10:44 -0400 Original-Received: by mail-qt0-x232.google.com with SMTP id n61so13803768qte.10 for ; Thu, 12 Oct 2017 07:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=TZpWGjbpy5SK4YAaRzWvrLh8JWiPfVh+E2rypKOmkmQ=; b=HWDNOAmYrK5Kb+uEbu62n/uuEPzBh1qj54bzpq5TBASz9vykTGaFhMEUchN+y4KWfz khNo8dJnuoQa8DkmpxEmltqQApbIzsw18moNIGImpP0OxyUdsimyz2PuygincSyEArTY buyLPBtWownSCrbfkotRLtgREq0MPWsMzXwLgbPxtCTYn+veSZyCpUXsptM75DCmvzR/ OErMdre0Hu0n2F1IJsfoEl2jO3i3q6Vl0WCQhxpzn7I0EDLD/v4Ixzz6BqcmbOiNGUvA 7XFAM7b144SqkaXw/Bhm5Ut/FTsiKpBdOwv3pBOG0rrN9HcGv9M5c+1zzRzP5YR27cy2 ZTAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=TZpWGjbpy5SK4YAaRzWvrLh8JWiPfVh+E2rypKOmkmQ=; b=gdY2WCu5cAfElWqicoNJkNNCElONtpIw5oDQx2hCgTp8D2vL98UPhzUvk/5qS/BuDc CEdqyXiet5er2k3sn3Tc1UUu294IZypDwium7AFaC7w7SLwriCEWnKc23E1+3g/T3rjX mWJRCGgd02zvzP590G+CrYnID4kLvgyO40RQ4m1VN5RwoLch0XMxnA3LbJmLgUE0dgH+ AQa0PP7Lg43AiFB2Qr5CgyyUaUm39GZAdFUEEpKMUJvR3I7iNj7/eBiz7DmK0gHfzQyd XdagqCi/xiv+VSzebznsyKLi5cN34+dvz6GnKQVfoRQcF7KVH5xxuFsCsmKihuo+91Pi aXYg== X-Gm-Message-State: AMCzsaVBq6ixjYU3bTGp8JGk36OyueBO/loWI+43mWjZxAb9JD6RXE9V IpzTTh6gOay8lFtkTowl9GSSJ1CnvcTC5LrV9/I= X-Google-Smtp-Source: AOwi7QDWLgkFfhNQLdj5vtlHoETHsHC40huC5qvP97DYc/Yy2sZ6H2JQFNXF/x48JA1/tFCrwhK3ypFbSDI75FtQD70= X-Received: by 10.37.125.196 with SMTP id y187mr1787724ybc.319.1507817439588; Thu, 12 Oct 2017 07:10:39 -0700 (PDT) In-Reply-To: <23a3fd3f-a318-76b9-95ec-df054c2f16f5@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::232 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114560 Archived-At: On Thu, Oct 12, 2017 at 10:04 AM Conner Phillips < conner.r.phillips@gmail.com> wrote: > Hi, > > I have done some compiling, but when things go wrong I am not so sure > what to do, especially with big programs and dependencies. > > I'm running up to date Arch Linux and trying to compile from HEAD on > github. You can just clone the official source from http://git.savannah.gnu.org/r/emacs.git > I get the following errors > > /usr/lib/libpangoft2-1.0.so.0: undefined reference to > `hb_font_funcs_set_nominal_glyph_func' > /usr/lib/libpangoft2-1.0.so.0: undefined reference to > `hb_buffer_set_cluster_level' > /usr/lib/libraqm.so.0: undefined reference to `hb_ft_font_set_load_flags' > /usr/lib/libpangoft2-1.0.so.0: undefined reference to > `hb_font_funcs_set_variation_glyph_func' > > I'm guessing hb refers to harfbuzz? I have this installed but am > confused as what is going on here. Could anyone help? Thanks. > Getting freetype + harfbuff is messy. Here is what I have from my notes.. I need to install all libs in my $HOME as a non-root user on my machine.. 1 freetype + harfbuzz :pango:ghostscript: ===================== The RHEL6 default freetype version was older than 2.4.2 (the min required version of freetype to install ghostscript). It was preinstalled on the system. /freetype - last downloaded version -- 2.6/ /harfbuzz - last downloaded version -- 1.0.3/ [https://bugs.freedesktop.org/show_bug.cgi?id=75652] freetype depends on harfbuzz and vice versa. To solve this chicken and egg problem, do this. 1. First install freetype *without harfbuzz* ,---- | make distclean | ./configure --prefix=$HOME/local --without-harfbuzz | make | make install `---- 2. Then install harfbuzz ,---- | make distclean | ./configure --prefix=$HOME/local | make | make install `---- 3. Reinstall freetype *with harfbuzz* ,---- | make distclean | ./configure --prefix=$HOME/local | make | make install `---- -- Kaushal Modi