mgieseki / dvisvgm

A fast DVI, EPS, and PDF to SVG converter
https://dvisvgm.de
GNU General Public License v3.0
306 stars 33 forks source link

"autoreconf -fi" fails to run #215

Closed hpreusse closed 1 year ago

hpreusse commented 1 year ago

I try to build the new version 3.0.1 from source. Unfortunately it fails in the autoreconf stage:

hille@sid-amd64:/var/lib/sbuild/build/dvisvgm-mzDpnK/dvisvgm-3.0.1$ autoreconf2.69 -fi
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:49: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf2.69: /usr/bin/autoconf2.69 failed with exit status: 1

I used autoconf 2.69, does not work with 2.71 either. Re-checked with version 3.0; exactly the same command works there.

mgieseki commented 1 year ago

I guess you can fix this by adding package autoconf-archive. It should contain the required macro definition.

hpreusse commented 1 year ago

Seems to work for me. Thanks!

hille@sid-amd64:~/devel/TeXLive/github$ ls -l *deb
-rw-r--r-- 1 hille hille  1034664 Jan 11 11:40 dvisvgm_3.0.1-1_amd64.deb
-rw-r--r-- 1 hille hille 13431548 Jan 11 11:40 dvisvgm-dbgsym_3.0.1-1_amd64.deb
mgieseki commented 1 year ago

Great. Glad to hear you were able to fix the problem quickly.