allianceをソースからubuntu16.04にインストール

Post date: 2018/02/22 8:34:34

apt-get install build-essential git gcc g++ autoconf automake libtool bison flex libx11-dev libxt-dev libxaw7-dev libxpm-dev libmotif-dev xfig imagemagick texlive texlive-pictures texlive-latex-extra

apt-get install transfig

そのままmakeすると、以下のエラー

Makefile:771: recipe for target 'DEF_grammar_lex.o' failed make[2]: * [DEF_grammar_lex.o] Error 1 make[2]: Leaving directory '/home/seijirom/work/alliance/build/sea/src' Makefile:527: recipe for target 'install-recursive' failed make[1]: * [install-recursive] Error 1 make[1]: Leaving directory '/home/seijirom/work/alliance/build/sea' Makefile:573: recipe for target 'install-recursive' failed make: * [install-recursive] Error 1

ubuntu16.04のエラーは、https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818517 のものなので、https://packages.debian.org/source/stretch/alliance からhttp://http.debian.net/debian/pool/main/a/alliance/alliance_5.1.1-1.1.debian.tar.xzをダウンロードして、patchをかける。