all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Failure to compile
@ 2017-10-12  9:59 Conner Phillips
  2017-10-12 14:10 ` Kaushal Modi
  2017-10-12 14:51 ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Conner Phillips @ 2017-10-12  9:59 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Failure to compile
  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 22:16   ` Conner Phillips
  2017-10-12 14:51 ` Eli Zaretskii
  1 sibling, 2 replies; 6+ messages in thread
From: Kaushal Modi @ 2017-10-12 14:10 UTC (permalink / raw)
  To: Conner Phillips, help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Failure to compile
  2017-10-12  9:59 Failure to compile Conner Phillips
  2017-10-12 14:10 ` Kaushal Modi
@ 2017-10-12 14:51 ` Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2017-10-12 14:51 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Conner Phillips <conner.r.phillips@gmail.com>
> Date: Thu, 12 Oct 2017 11:59:52 +0200
> 
> I'm running up to date Arch Linux and trying to compile from HEAD on 
> github. 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'

Are you building with Cairo?  If so, try disabling Cairo at configure
time.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Failure to compile
  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
  1 sibling, 1 reply; 6+ messages in thread
From: Göktuğ Kayaalp @ 2017-10-12 16:42 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: help-gnu-emacs

On 2017-10-12 14:10 +00, Kaushal Modi <kaushal.modi@gmail.com> wrote:
> I need to install all libs in my $HOME as a non-root user on my
> machine..

Off-topic: you might want to give Guix (the package manager, not GuixSD
the OS) a go.  It can work as an auxiliary package manager and you can
download it in its binary form and just run:
https://www.gnu.org/software/guix/download/.  No root privileges needed.

AFAIK Nix can do the same thing too but I haven't tried.

-- 
İ. Göktuğ Kayaalp	<http://www.gkayaalp.com/>
			024C 30DD 597D 142B 49AC
			40EB 465C D949 B101 2427



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Failure to compile
  2017-10-12 16:42   ` Göktuğ Kayaalp
@ 2017-10-12 18:10     ` Kaushal Modi
  0 siblings, 0 replies; 6+ messages in thread
From: Kaushal Modi @ 2017-10-12 18:10 UTC (permalink / raw)
  To: Göktuğ Kayaalp; +Cc: help-gnu-emacs

On Thu, Oct 12, 2017 at 12:42 PM Göktuğ Kayaalp <self@gkayaalp.com> wrote:

> On 2017-10-12 14:10 +00, Kaushal Modi <kaushal.modi@gmail.com> wrote:
> > I need to install all libs in my $HOME as a non-root user on my
> > machine..
>
> Off-topic: you might want to give Guix (the package manager, not GuixSD
> the OS) a go.  It can work as an auxiliary package manager and you can
> download it in its binary form and just run:
> https://www.gnu.org/software/guix/download/.  No root privileges needed.
>

I have read about it, but I don't have guile on my system. Last time I
tried, I wasn't able to install guile because I couldn't install certain
dependencies locally.

  checking for libltdl... no
  configure: error: GNU libltdl (Libtool) not found

Ironically, this page[1] suggests installing Guile using Guix (chicken/egg).

[1]: https://www.gnu.org/software/guile/download/
-- 

Kaushal Modi


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Failure to compile
  2017-10-12 14:10 ` Kaushal Modi
  2017-10-12 16:42   ` Göktuğ Kayaalp
@ 2017-10-12 22:16   ` Conner Phillips
  1 sibling, 0 replies; 6+ messages in thread
From: Conner Phillips @ 2017-10-12 22:16 UTC (permalink / raw)
  To: Kaushal Modi, help-gnu-emacs

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
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-10-12 22:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2017-10-12 14:51 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.