periscop/cloog

Build failure at "doc" generation rules to generate cloog.pdf for version 0.21.1

pal-stdr opened this issue · 1 comments

While I was trying to build cloog-0.21.1, the build fails at doc/cloog.pdf generation from doc/cloog.texi file. I am using Ubuntu 20.04.
Already I have opened a separate issue #50 for this.

The error message looks like following

This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdfetex)
 restricted \write18 enabled.
entering extended mode

.... bla bla bla

/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.
make[1]: *** [Makefile:2303: doc/cloog.pdf] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/pal-vbox/compiler-projects/cloog-0.21.1-test/build'
make: *** [Makefile:1581: all-recursive] Error 1

How to solve this issue?
Thanks in advance!

Found a dirty way to solve this thing. The catch is, there will be no cloog.pdf for version 0.21.1.

How to:

doc:
	@echo "             /*-----------------------------------------------*"
	@echo "              *        Generating CLooG's documentation       *"
	@echo "              *-----------------------------------------------*/"
	doxygen ./autoconf/Doxyfile

#/*****************************************************************************
# *                                   Doc                                     *
# *****************************************************************************/

if HAVE_TEXI2DVI
pdf_DATA = doc/cloog.pdf
dist_pdf_DATA = doc/cloog.pdf
doc/cloog.pdf: doc/cloog.texi doc/gitversion.texi
	$(TEXI2DVI) -I $(top_builddir)/doc --pdf $< -o $@
endif

doc/gitversion.texi: @GIT_INDEX@
	echo '@set VERSION '`$(top_builddir)/genversion.sh`'' > $@
  • Then run the autogen.sh or the command autoreconf -i to generate the configure file.