Bug 39488

Summary: Configure failure -- syntax error near unexpected token `0.9.8'
Product: colord Reporter: Luca Ferretti <elle.uca>
Component: libcolordAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Luca Ferretti 2011-07-23 04:41:56 UTC
Building from git in jhbuild:

  configure.ac:52: installing `./compile'
  configure.ac:12: installing `./missing'
  client/Makefile.am: installing `./depcomp'
  libcolord/Makefile.am:1: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
  libcolord/Makefile.am:97: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
  [...]
  checking whether to build static libraries... no
  ./configure: line 10700: syntax error near unexpected token `0.9.8'
  ./configure: line 10700: `GOBJECT_INTROSPECTION_CHECK(0.9.8)'

Basically introspection.m4 is not copied in m4/ directory, but I can't see any missing piece in autoconf.sh and configure.ac :(
Comment 1 Richard Hughes 2011-07-29 01:32:32 UTC
I think Owen just fixed this:

commit b7b0448acb9beaa098d05c1e3923ac4b3bdcc9e7
Author: Owen W. Taylor <otaylor@fishsoup.net>
Date:   Thu Jul 28 16:10:20 2011 -0400

    Honor ACLOCAL_FLAGS when running autoreconf
    
    autoreconf doesn't understand ACLOCAL_FLAGS, just ACLOCAL, so to work
    correctly in a jhbuild environment and pick up jhbuild-built .m4
    files like introspection.m4 we need to force the issue.
    
    Signed-off-by: Richard Hughes <richard@hughsie.com>

Can you try re-autogening please.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.