Opened 6 years ago

Closed 6 years ago

#8239 closed defect (fixed)

gimp-2.8.18 FTBFS if gtk-doc not present.

Reported by: ken@… Owned by: ken@…
Priority: high Milestone: 7.10
Component: BOOK Version: SVN
Severity: normal Keywords:


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@    @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, and omit the autoreconf invocation.

Change History (3)

comment:1 by bdubbs@…, 6 years ago

Are you on a 7.10 system? If so, go ahead and make the change.

comment:2 by ken@…, 6 years ago

Owner: changed from blfs-book@… to ken@…
Status: newassigned

Yes, this is 7.10.

comment:3 by ken@…, 6 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r17698.

Note: See TracTickets for help on using tickets.