[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failure to compile
From: |
Kaushal Modi |
Subject: |
Re: Failure to compile |
Date: |
Thu, 12 Oct 2017 14:10:29 +0000 |
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