all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Gregory Heytings <ghe@sdf.org>
Cc: Emacs-devel@gnu.org
Subject: Re: Failed to compile the emacs latest git master version on Ubuntu 20.10.
Date: Fri, 11 Dec 2020 05:36:41 -0500	[thread overview]
Message-ID: <CAGP6POK=aoXpfhHg9sXXCMd_vbYMfKgtUixParxc8NGdcRttug@mail.gmail.com> (raw)
In-Reply-To: <alpine.NEB.2.22.394.2012111105100453.19390@sdf.lonestar.org>

On Fri, Dec 11, 2020 at 5:10 AM Gregory Heytings <ghe@sdf.org> wrote:
>
>
> >
> > On Ubuntu 20.10, I try to compile the emacs latest git master version
> > but meet the following error:
> >
> > /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
> >
> > Any hints for fixing this problem?
> >
>
> Your libthai library is apparently not recent enough for your libm17n
> library.  "apt update && apt install libthai0" should fix this.

I've installed the latest version of the above package as shown below
but still meet the same error message:

$ dpkg -l libthai0 | grep ^ii
ii  libthai0:amd64 0.1.28-3     amd64        Thai language support library

Furthermore, I compiled and installed the latest git master version of
libthai. See following for more info.

$ git clone https://github.com/tlwg/libthai.git tlwg/libthai.git
$ sudo apt-get build-dep libthai
$ cd tlwg/libthai.git
$ ./autogen.sh
$ ./configure
$ make -j44
$ sudo make install

Then rebuild emacs from scratch but still will meet the same error as
shown below:

/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: /usr/local/lib/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

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



  reply	other threads:[~2020-12-11 10:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-11  9:59 Failed to compile the emacs latest git master version on Ubuntu 20.10 Hongyi Zhao
2020-12-11 10:09 ` Gregory Heytings via Emacs development discussions.
2020-12-11 10:36   ` Hongyi Zhao [this message]
2020-12-11 11:58     ` Gregory Heytings via Emacs development discussions.
2020-12-11 14:05       ` Hongyi Zhao
2020-12-11 14:21         ` Gregory Heytings via Emacs development discussions.
2020-12-11 14:37           ` Eli Zaretskii
2020-12-11 14:43           ` Hongyi Zhao
2020-12-11 12:05 ` Eli Zaretskii
2020-12-11 14:29   ` Hongyi Zhao
2020-12-11 14:39     ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGP6POK=aoXpfhHg9sXXCMd_vbYMfKgtUixParxc8NGdcRttug@mail.gmail.com' \
    --to=hongyi.zhao@gmail.com \
    --cc=Emacs-devel@gnu.org \
    --cc=ghe@sdf.org \
    /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.
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.