Build TeXmacs use MXE on UOS (Failed)

UOS is another debian derived Linux system like Ubuntu. I’ve successfully build TeXmacs on debian sid. And now, I’m trying to build texmacs on another newly-installed debian system.

Download MXE

In some cities of China, connection to Github is not stable. That’s why we need the git fetch approach.

mkdir -p $HOME/github/mxe/mxe
cd $HOME/mxe/mxe
git init
git remote add origin https://github.com/mxe/mxe.git
git fetch origin
git checkout  2d95bd76abfbba76af6f856c7fbac276f8808a48

Build TeXmacs dependencies in MXE

C/C++ Compilers (Failed)

Requirements

sudo apt-get install \
    autoconf \
    automake \
    autopoint \
    bash \
    bison \
    bzip2 \
    flex \
    g++ \
    g++-multilib \
    gettext \
    git \
    gperf \
    intltool \
    libgdk-pixbuf2.0-dev \
    libltdl-dev \
    libssl-dev \
    libtool-bin \
    libxml-parser-perl \
    lzip \
    make \
    openssl \
    p7zip-full \
    patch \
    perl \
    python \
    ruby \
    sed \
    unzip \
    wget \
    xz-utils

Switch default python to python3

sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2
sudo apt install libc6-dev-i386-cross

Build

Time consuming including network:

  • Attempt 1: 34m, failed due to network error
  • Attempt 2: configure: error: gmp library too old
make cc

Qt

Did you succeed in building TeXmacs under Deepin? UOS seems to be a proprietary version of Deepin.

Currently, I only succeeded in building TeXmacs under debian sid.

UOS is running on my new computer (MIPS64, Loongson 3A4000).