Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program won't compile properly without texinfo and texi2html #1

Open
robertomaco opened this issue Aug 3, 2021 · 2 comments
Open

Comments

@robertomaco
Copy link

robertomaco commented Aug 3, 2021

When I execute the makefile I get the following error

Making all in doc
make[1]: Entering directory '/home/myusername/libreblackjack/doc'
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/bash /home/myusername/libreblackjack/missing makeinfo --version) >/dev/null 2>&1; then \
  for f in blackjack.info blackjack.info-[0-9] blackjack.info-[0-9][0-9] blackjack.i[0-9] blackjack.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 /bin/bash /home/myusername/libreblackjack/missing makeinfo   -I . \
 -o blackjack.info blackjack.texi; \
then \
  rc=0; \
  CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
  rc=$?; \
  CDPATH="${ZSH_VERSION+.}:" && cd . && \
  $restore $backupdir/* `echo "./blackjack.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
/home/myusername/libreblackjack/missing: line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
         You should only need it if you modified a '.texi' file, or
         any other file indirectly affecting the aspect of the manual.
         You might want to install the Texinfo package:
         <https://www.gnu.org/software/texinfo/>
         The spurious makeinfo call might also be the consequence of
         using a buggy 'make' (AIX, DU, IRIX), in which case you might
         want to install GNU make:
         <https://www.gnu.org/software/make/>
make[1]: *** [Makefile:334: blackjack.info] Error 127
make[1]: Leaving directory '/home/myusername/libreblackjack/doc'
make: *** [Makefile:754: all-recursive] Error 1

This was remediated by installing texinfo and texi2html

@gtheler
Copy link
Contributor

gtheler commented Aug 3, 2021

Temporary fix in 1747c65
I don't know if it is a good idea to replace Makefile.am with a template and to have autogen.sh to add doc only if texinfo is installed.

@robertomaco robertomaco changed the title Program won't compile properly without tex2info and texi2html Program won't compile properly without texinfo and texi2html Aug 3, 2021
@robertomaco
Copy link
Author

Uninstalled texinfo and texi2html then attempted reinstallation of blackjack and it compiles with no errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants