[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failed to compile the emacs latest git master version on Ubuntu 20.1
From: |
Hongyi Zhao |
Subject: |
Re: Failed to compile the emacs latest git master version on Ubuntu 20.10. |
Date: |
Fri, 11 Dec 2020 09:43:51 -0500 |
On Fri, Dec 11, 2020 at 9:22 AM Gregory Heytings <ghe@sdf.org> wrote:
>
>
> Then I'd suggest to use --without-m17n-flt as Eli says. It seems however
> that HarfBuzz and m17n are not incompatible, on my computer configure
> outputs:
>
> Does Emacs use HarfBuzz? yes
> Does Emacs use -lm17n-flt? yes
I see the same configure outputs if don't use the if I don't use the
--without-m17n-flt configure option.
But the compiling will fail with the error reported here:
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libm17n-core.a(mtext-wseg.o):
undefined reference to symbol 'th_brk@@LIBTHAI_0.1'
/usr/bin/ld: /lib/x86_64-linux-gnu/libthai.so.0: error adding symbols:
DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:655: temacs] Error 1
make[1]: Leaving directory '/home/werner/Public/editor/emacs/emacs.git/src'
make: *** [Makefile:424: src] Error 2
The emacs git master version:
$ git log -1
commit 49a4f06b0675a4a27db1ce5380c02b5043e2d322 (HEAD -> master,
origin/master, origin/HEAD)
Author: Lars Ingebrigtsen <larsi@gnus.org>
Date: Fri Dec 11 15:21:44 2020 +0100
Fix object-interval tests
* test/src/fns-tests.el (object-intervals): Fix tests.
>
> FWIW, I just compiled the lastest master (004d7e97e2) and have the same
> libraries installed:
But I can't compile emacs successfully even with these libraries
installed as shown below if I don't use the --without-m17n-flt
configure option.
>
> ii libm17n-0:amd64 1.8.0-2
> ii libm17n-dev:amd64 1.8.0-2
> ii libthai-data 0.1.28-3
> ii libthai-dev:amd64 0.1.28-3
> ii libthai0:amd64 0.1.28-3
>
> Are the libthai-data and libthai-dev:amd64 packages installed on your
> machine?
See following for more information:
$ dpkg -l | awk '$2 ~/^libthai/{print $2,$3 }'
libthai-data 0.1.28-3
libthai-dev:amd64 0.1.28-3
libthai-doc 0.1.28-3
libthai0:amd64 0.1.28-3
Regards,
--
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic Vocational and Technical University
NO. 552 North Gangtie Road, Xingtai, China
Re: Failed to compile the emacs latest git master version on Ubuntu 20.10., Eli Zaretskii, 2020/12/11