unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Conner Phillips <conner.r.phillips@gmail.com>
To: Kaushal Modi <kaushal.modi@gmail.com>, help-gnu-emacs@gnu.org
Subject: Re: Failure to compile
Date: Fri, 13 Oct 2017 00:16:38 +0200	[thread overview]
Message-ID: <f19f2242-a5d9-7c90-52ce-a2a810e924ad@gmail.com> (raw)
In-Reply-To: <CAFyQvY252B5t1ZLPx=wFKzanr04oUUEcEL3h7B4bbT6wJ4=7fA@mail.gmail.com>

Turns out Anaconda was at the front of my path and stealing calls that 
should have been going to system libraries. Dropped Anaconda to the end 
of my path and it is all settled now.


On 10/12/2017 04:10 PM, Kaushal Modi wrote:
> On Thu, Oct 12, 2017 at 10:04 AM Conner Phillips 
> <conner.r.phillips@gmail.com <mailto: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
>



  parent reply	other threads:[~2017-10-12 22:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-12  9:59 Failure to compile Conner Phillips
2017-10-12 14:10 ` Kaushal Modi
2017-10-12 16:42   ` Göktuğ Kayaalp
2017-10-12 18:10     ` Kaushal Modi
2017-10-12 22:16   ` Conner Phillips [this message]
2017-10-12 14:51 ` Eli Zaretskii

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=f19f2242-a5d9-7c90-52ce-a2a810e924ad@gmail.com \
    --to=conner.r.phillips@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=kaushal.modi@gmail.com \
    /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.
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).