Hello John, $ ./configure --help gives: --enable-vala=[no/auto/yes] build Vala bindings [default=auto] And I was able to configure and build manually: $ ./configure --prefix=$instxada <...> Configuration: Source code location: . Compiler: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc Glade Catalog: no Documentation: no GObject introspection: yes Vala: no Code coverage: no Valgrind check: no Installed tests: no $ make install <...> Vala is not enabled / needed by configure and build seems correct. Maybe something with gnome-autogen.sh? Is it required? I didn't use it. Thanks, Pascal. http://blady.pagesperso-orange.frLe 9 sept. 2017 à 04:59, John Ralls <jralls ceridwen us> a écrit :
On Sep 8, 2017, at 10:33 AM, Pascal <p p14 orange fr> wrote:
cmd$ jhbuild build gtksourceview3 *** Checking out gtksourceview3 *** [1/1] *** Configuring gtksourceview3 *** [1/1] gnome-autogen.sh --prefix /usr/local/xnadalib-2017 ***Warning*** $srcdir is not defined, out of dir autogen is broken! checking for automake >= 1.11.2... testing automake... found 1.14.1 checking for autoreconf >= 2.53... testing autoreconf... found 2.69 checking for gtk-doc >= 1.0... testing gtkdocize... found 1.25 Checking for required M4 macros... Processing ./configure.ac Running gtkdocize... Running autoreconf... autoreconf: Entering directory `.' autoreconf: running: autopoint --force autoreconf: running: aclocal --force --warnings=no-portability configure.ac:220: error: macro VAPIGEN_CHECK is not defined; is a m4 file missing? /usr/local/xnadalib-2017/share/aclocal/ax_require_defined.m4:37: AX_REQUIRE_DEFINED is expanded from... configure.ac:220: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: error: echo failed with exit status: 1 autoreconf: aclocal failed with exit status: 1 *** Error during phase configure of gtksourceview3: ########## Error running gnome-autogen.sh --prefix /usr/local/xnadalib-2017 *** [1/1]
I choose ignore, but the error is not recovered so I can't build yet gtksourceview3.
Pascal,
Looks like VAPIGEN_CHECK comes from Vala. Try building it and than try gtksourceview again. Let me know if that works; if it does I’ll add Vala as a dependency.
Regards, John Ralls
Pascal,
Please bottom-post on this list.
The problem is two-fold: For our purposes it’s that the module configures with autogen instead of configure when there’s no patch. That’s a leftover from an earlier version [1], and it’s easily fixed, which I’ve done.
The other problem is that the gtksourceview folks set up configure.ac to depend on a macro that isn’t present unless Vala is installed. If that macro is necessary to configure for Vala then they should copy it into their own macro subdirectory.
Regards, |