This shows you the differences between two versions of the page.
error_on_m4_update_install [2009/11/07 23:56] k2patel created |
error_on_m4_update_install [2020/08/10 02:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== m4 update / install error ====== | ||
- | |||
- | Following Error when i tried to install m4. | ||
- | <code bash> | ||
- | Making all in doc | ||
- | Updating ./version.texi | ||
- | restore=: && backupdir=".am$$" && am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && rm -rf $backupdir && mkdir $backupdir && if (makeinfo --no-split --version) >/dev/null 2>&1; then for f in ./m4.info ./m4.info-[0-9] ./m4.info-[0-9][0-9] ./m4.i[0-9] ./m4.i[0-9][0-9]; do if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; done; else :; fi && cd "$am__cwd"; if makeinfo --no-split -I . -o ./m4.info ./m4.texinfo; then rc=0; CDPATH="${ZSH_VERSION+.}:" && cd .; else rc=$?; CDPATH="${ZSH_VERSION+.}:" && cd . && $restore $backupdir/* `echo "././m4.info" | sed 's|[^/]*$||'`; fi; rm -rf $backupdir; exit $rc | ||
- | ./m4.texinfo:486: Unknown command `'. | ||
- | ./m4.texinfo:2670: Unknown command `'. | ||
- | ./m4.texinfo:2672: Unknown command `'. | ||
- | ./m4.texinfo:2886: Unknown command `'. | ||
- | ./m4.texinfo:8231: Unknown command `'. | ||
- | ./m4.texinfo:8233: Unknown command `'. | ||
- | makeinfo: Removing output file `./m4.info' due to errors; use --force to preserve. | ||
- | *** Error code 1 | ||
- | |||
- | Stop in /usr/ports/devel/m4/work/m4-1.4.13/doc. | ||
- | *** Error code 1 | ||
- | |||
- | Stop in /usr/ports/devel/m4/work/m4-1.4.13. | ||
- | *** Error code 1 | ||
- | |||
- | Stop in /usr/ports/devel/m4/work/m4-1.4.13. | ||
- | *** Error code 1 | ||
- | |||
- | Stop in /usr/ports/devel/m4. | ||
- | *** Error code 1 | ||
- | |||
- | Stop in /usr/ports/devel/m4. | ||
- | </code> | ||
- | |||
- | == Solution : == | ||
- | |||
- | After search found it is due to the outdated makeinfo programm. | ||
- | |||
- | Create following file : | ||
- | <code bash | /usr/ports/devel/m4/Makefile.local> | ||
- | BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo | ||
- | CONFIGURE_ENV= MAKEINFO="${LOCALBASE}/bin/makeinfo --no-split" | ||
- | </code> | ||
- | |||
- | This will do it. | ||