Re: [Gtk-osx-users] [gtk-osx-users] GTK docs shouldn't be required
Status: Beta
Brought to you by:
jralls
From: John R. <jr...@ce...> - 2014-12-16 15:04:26
|
> On Dec 15, 2014, at 6:57 PM, Philip Ries <ph...@gm...> wrote: > > Hi there, > > I needed to build gtkosxapplication to run RawTherapee. I cloned from git and encountered this error when running autoreconf. > > $ autoreconf -i > glibtoolize: putting auxiliary files in `.'. > glibtoolize: copying file `./ltmain.sh' > ... > docs/Makefile.am:1: error: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL > automake: error: cannot open < gtk-doc.make: No such file or directory > > After some amount of googling, I arrived at a two-step solution: > > 1) Install the brew package named "gtk-doc" (fixes first error). > 2) Create a dummy gtk-doc.make text file comprised of this line (fixes second error): > > EXTRA_DIST= > > This worked. I'm writing the user group, however, because this seems like a bug I'm working around. Is this behavior designed? The README (https://github.com/jralls/gtk-mac-integration <https://github.com/jralls/gtk-mac-integration>) implies that documentation isn't even built by default. > > I'm running OS X 10.10.1 with autoreconf 2.69. > Why is it a bug that you didn’t round up all of the prerequisites before trying to build gtk-mac-integration? How did you manage to build gtk+ without gtk-doc? You should have used autogen.sh instead of autoreconf; the former runs gtkdocize for you, which creates gtk-doc.make. Regards, John Ralls |