Opened 9 years ago
Closed 9 years ago
#8239 closed defect (fixed)
gimp-2.8.18 FTBFS if gtk-doc not present.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | 7.10 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
With gimp-2.8.18, if gtk-doc is not present then autoreconf fails (cc 1) with messages like
gtk-doc.make:7: error: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
The book does not actually say that autoreconf ends with a zero condition code, so I tried to continue.
'make' ended in error -
Making all in libgimpbase make[3]: Entering directory '/scratch/working/gimp-2.8.18/devel-docs/libgimpbase' Makefile:934: *** missing separator. Stop. make[3]: Leaving directory '/scratch/working/gimp-2.8.18/devel-docs/libgimpbase' make[2]: *** [Makefile:607: all-recursive] Error 1
That is the first @echo in the hunk
# # Require gtk-doc when making dist # @HAVE_GTK_DOC_TRUE@dist-check-gtkdoc: docs @HAVE_GTK_DOC_FALSE@dist-check-gtkdoc: @HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc is needed to run 'make dist'. ***" @HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc was not found when 'configure' ran. ***" @HAVE_GTK_DOC_FALSE@ @echo "*** please install gtk-doc and rerun 'configure'. ***" @HAVE_GTK_DOC_FALSE@ @false
My fix is to run the sed on configure itself, not configure.ac, and omit the autoreconf invocation.
Note:
See TracTickets
for help on using tickets.
Are you on a 7.10 system? If so, go ahead and make the change.