[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55022: error compiling emacs 28.1
From: |
Eli Zaretskii |
Subject: |
bug#55022: error compiling emacs 28.1 |
Date: |
Tue, 19 Apr 2022 15:47:39 +0300 |
> From: robin hankin <hankin.robin@gmail.com>
> Date: Tue, 19 Apr 2022 19:03:07 +1200
>
> Ubuntu 20.04. I downloaded emacs-28.1.tar.gz and untarred it and changed
> to the correct directory. Then:
>
> ./configure
> ./make
>
> configure finished without error. But make failed:
>
> [snip]
> e[2]: Leaving directory '/home/rhankin/Downloads/emacs-28.1/admin/unidata'
> make -C ../admin/unidata emoji-zwj.el
> make[2]: Entering directory '/home/rhankin/Downloads/emacs-28.1/admin/unidata'
> make[2]: Nothing to be done for 'emoji-zwj.el'.
> make[2]: Leaving directory '/home/rhankin/Downloads/emacs-28.1/admin/unidata'
> CCLD temacs
> /usr/bin/ld: /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference
> to
> `hb_ot_layout_script_select_language'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference
> to `hb_blob_create_from_file'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference
> to
> `hb_ot_var_named_instance_get_design_coords'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference
> to
> `hb_ot_tags_from_script_and_language'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference
> to `hb_ot_var_get_axis_infos'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libpango-1.0.so.0: undefined reference to
> `hb_buffer_set_invisible_glyph'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference
> to `hb_ot_metrics_get_position'
> collect2: error: ld returned 1 exit status
> make[1]: *** [Makefile:647: temacs] Error 1
> make[1]: Leaving directory '/home/rhankin/Downloads/emacs-28.1/src'
> make: *** [Makefile:449: src] Error 2
> rhankin@limpet:~/Downloads/emacs-28.1$
Emacs 28.1 doesn't call any of these functions. Since the error
messages are triggered by libpangoft2-1.0.so, my guess would be that
your system has a misconfigured installation of Pango and HarfBuzz:
the former requires a (probably later?) version of HarfBuzz than the
HarfBuzz version actually installed.
So I think you should review the relevant libraries installed on your
system, and perhaps upgrade some of them. Then try reconfiguring and
rebuilding Emacs.