[gtk-osx-users] error with jhbuild gtksourceview



In Building gtksourceview I had a strange error that I can't quite figure out: 

checking for glib-mkenums... /Users/agoodloe/gtk/inst/bin/glib-mkenums
./configure: line 10850: syntax error near unexpected token `maximum'
./configure: line 10850: `GNOME_COMPILE_WARNINGS(maximum)'
make: *** [config.status] Error 2


I don't think I've ever had a syntax error thrown during a build of a stable system. Anyone have a good suggestion for a workaround/hack?

Alwyn

------


 jhbuild build gtksourceview
3.2
*** Checking out gtksourceview *** [1/1]
wget --continue http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/2.10/gtksourceview-2.10.5.tar.bz2 -O /Users/agoodloe/gtk/source/pkgs/gtksourceview-2.10.5.tar.bz2
--2013-06-18 09:59:30--  http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/2.10/gtksourceview-2.10.5.tar.bz2
Resolving ftp.gnome.org... 130.239.18.163, 130.239.18.137, 2001:6b0:e:2018::163, ...
Connecting to ftp.gnome.org|130.239.18.163|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://napoleon.acc.umu.se/pub/GNOME/sources/gtksourceview/2.10/gtksourceview-2.10.5.tar.bz2 [following]
--2013-06-18 09:59:30--  http://napoleon.acc.umu.se/pub/GNOME/sources/gtksourceview/2.10/gtksourceview-2.10.5.tar.bz2
Resolving napoleon.acc.umu.se... 130.239.18.173, 2001:6b0:e:2018::173
Connecting to napoleon.acc.umu.se|130.239.18.173|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1253321 (1.2M) [application/x-bzip2]
Saving to: `/Users/agoodloe/gtk/source/pkgs/gtksourceview-2.10.5.tar.bz2'

100%[=================================================================================================================>] 1,253,321   --.-K/s   in 0.03s   

2013-06-18 09:59:35 (40.8 MB/s) - `/Users/agoodloe/gtk/source/pkgs/gtksourceview-2.10.5.tar.bz2' saved [1253321/1253321]

bunzip2 -dc "/Users/agoodloe/gtk/source/pkgs/gtksourceview-2.10.5.tar.bz2" | tar xf -
*** Applying patch http://git.gnome.org/browse/gtk-osx/plain/patches/gtksourceview-664511-gtkosxapplication.patch *** [1/1]
patch -p1 < "/Users/agoodloe/.cache/jhbuild/gtksourceview-664511-gtkosxapplication.patch"
patching file configure
patching file configure.ac
patching file gtksourceview/Makefile.am
patching file gtksourceview/Makefile.in
patching file gtksourceview/gtksourceview-i18n.c
*** Configuring gtksourceview *** [1/1]
./configure --prefix /Users/agoodloe/gtk/inst --libdir '/Users/agoodloe/gtk/inst/lib'   
checking for a BSD-compatible install... /Users/agoodloe/.local/bin/install-check
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking for gcc... /usr/bin/gcc-4.2
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc-4.2... gcc3
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/gcc-4.2... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from /usr/bin/gcc-4.2 object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/gcc-4.2 static flag -static works... no
checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes
checking if /usr/bin/gcc-4.2 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for unistd.h... (cached) yes
checking for glib-genmarshal... /Users/agoodloe/gtk/inst/bin/glib-genmarshal
checking for glib-mkenums... /Users/agoodloe/gtk/inst/bin/glib-mkenums
checking whether gcc understands -Wno-sign-compare... yes
checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
checking what language compliance flags to pass to the C compiler... 
checking for pkg-config... /Users/agoodloe/gtk/inst/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DEP... yes
checking for native Mac OS X... yes
checking for GTK_MAC... yes
checking whether NLS is requested... yes
checking for intltool >= 0.40... 0.50.2 found
checking for intltool-update... /usr/local/bin/intltool-update
checking for intltool-merge... /usr/local/bin/intltool-merge
checking for intltool-extract... /usr/local/bin/intltool-extract
checking for xgettext... /Users/agoodloe/gtk/inst/bin/xgettext
checking for msgmerge... /Users/agoodloe/gtk/inst/bin/msgmerge
checking for msgfmt... /Users/agoodloe/gtk/inst/bin/msgfmt
checking for gmsgfmt... /Users/agoodloe/gtk/inst/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.0
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /Users/agoodloe/gtk/inst/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /Users/agoodloe/gtk/inst/bin/msgfmt
checking for xgettext... (cached) /Users/agoodloe/gtk/inst/bin/xgettext
checking for gtkdoc-check... /Users/agoodloe/gtk/inst/bin/gtkdoc-check
checking for gtkdoc-rebase... /Users/agoodloe/gtk/inst/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /Users/agoodloe/gtk/inst/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
configure: creating ./config.status
config.status: creating gtksourceview-2.0.pc
config.status: creating Makefile
config.status: creating gtksourceview-zip
config.status: creating po/Makefile.in
config.status: creating gtksourceview/Makefile
config.status: creating gtksourceview/completion-providers/Makefile
config.status: creating gtksourceview/completion-providers/words/Makefile
config.status: creating gtksourceview/language-specs/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/version.xml
config.status: creating glade/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands


Configuration:

Source code location: .
Compiler: /usr/bin/gcc-4.2
Completion Providers: yes
Glade Catalog: no

*** Building gtksourceview *** [1/1]
make -j 5
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/agoodloe/gtk/source/gtksourceview-2.10.5/missing --run aclocal-1.11 -I m4 -I /Users/agoodloe/gtk/inst/share/aclocal -I /usr/local/share/aclocal -I /usr/share/aclocal
configure.ac:27: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1084: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:4211: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5343: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:143: _LT_SETUP is expanded from...
m4/libtool.m4:69: LT_INIT is expanded from...
configure.ac:27: the top level
configure.ac:27: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:4211: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5343: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:143: _LT_SETUP is expanded from...
m4/libtool.m4:69: LT_INIT is expanded from...
configure.ac:27: the top level
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/agoodloe/gtk/source/gtksourceview-2.10.5/missing --run autoconf
 cd . && /bin/sh /Users/agoodloe/gtk/source/gtksourceview-2.10.5/missing --run automake-1.11 --gnu
configure.ac:27: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1084: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:4211: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5343: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:143: _LT_SETUP is expanded from...
m4/libtool.m4:69: LT_INIT is expanded from...
configure.ac:27: the top level
configure.ac:27: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:4211: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5343: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:143: _LT_SETUP is expanded from...
m4/libtool.m4:69: LT_INIT is expanded from...
configure.ac:27: the top level
/bin/sh ./config.status --recheck
configure.ac:27: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1084: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:4211: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5343: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:143: _LT_SETUP is expanded from...
m4/libtool.m4:69: LT_INIT is expanded from...
configure.ac:27: the top level
configure.ac:27: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:4211: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5343: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:143: _LT_SETUP is expanded from...
m4/libtool.m4:69: LT_INIT is expanded from...
configure.ac:27: the top level
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix /Users/agoodloe/gtk/inst --libdir /Users/agoodloe/gtk/inst/lib CC=/usr/bin/gcc-4.2 CFLAGS=-arch x86_64 -I/Users/agoodloe/gtk/source/libxml2-2.9.0/include/ -mmacosx-version-min=10.6 LDFLAGS=-L/Users/agoodloe/gtk/inst/lib -L/Users/agoodloe/gtk/inst/lib -arch x86_64 -mmacosx-version-min=10.6 -Wl,-headerpad_max_install_names CPPFLAGS=-I/Users/agoodloe/gtk/inst/include PKG_CONFIG_PATH=/Users/agoodloe/gtk/inst/lib/pkgconfig:/Users/agoodloe/gtk/inst/share/pkgconfig:/usr/lib/pkgconfig --no-create --no-recursion
checking for a BSD-compatible install... /Users/agoodloe/.local/bin/install-check
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... yes
checking for gcc... /usr/bin/gcc-4.2
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc-4.2... gcc3
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/gcc-4.2... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from /usr/bin/gcc-4.2 object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/gcc-4.2 static flag -static works... no
checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes
checking if /usr/bin/gcc-4.2 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for unistd.h... (cached) yes
checking for glib-genmarshal... /Users/agoodloe/gtk/inst/bin/glib-genmarshal
checking for glib-mkenums... /Users/agoodloe/gtk/inst/bin/glib-mkenums
./configure: line 10850: syntax error near unexpected token `maximum'
./configure: line 10850: `GNOME_COMPILE_WARNINGS(maximum)'
make: *** [config.status] Error 2
*** Error during phase build of gtksourceview: ########## Error running make -j 5 *** [1/1]





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]