Repository navigation
Closed
Description
I'm trying to build c_cglib using the instructions in c_glib/README.md on OSX using homebrew. C++ builds fine but I'm hitting a brick wall with configure.
The failure is ./configure: line 4551: syntax error near unexpected token `ext,' ./configure: line 4551: `AX_CXX_COMPILE_STDCXX_11(ext, mandatory)'.
$ ./autogen.sh
arrow-gpu-glib/Makefile.am:97: warning: variable 'ArrowGPU_1_0_gir_LDFLAGS' is defined but no program or
arrow-gpu-glib/Makefile.am:97: library has 'ArrowGPU_1_0_gir' as canonical name (possible typo)
$ ./configure --enable-gtk-doc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/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 make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-apple-darwin15.6.0
checking host system type... x86_64-apple-darwin15.6.0
checking for macOS... yes
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
./configure: line 4551: syntax error near unexpected token `ext,'
./configure: line 4551: `AX_CXX_COMPILE_STDCXX_11(ext, mandatory)'
Some info that might help:
- OSX El Capitan 10.11.6
$ brew --version
Homebrew 1.6.6
Homebrew/homebrew-core (git revision abafd; last commit 2018-06-03)
$ brew info autoconf automake
autoconf: stable 2.69 (bottled)
Automatic configure script builder
https://www.gnu.org/software/autoconf
/usr/local/Cellar/autoconf/2.69 (70 files, 3.0MB) *
Poured from bottle on 2018-06-03 at 14:54:52
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/autoconf.rb
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/autoconf
automake: stable 1.16.1 (bottled)
Tool for generating GNU Standards-compliant Makefiles
https://www.gnu.org/software/automake/
/usr/local/Cellar/automake/1.15 (130 files, 2.9MB)
Poured from bottle on 2015-01-05 at 22:11:43
/usr/local/Cellar/automake/1.15.1 (131 files, 3.0MB)
Poured from bottle on 2017-10-16 at 13:11:00
/usr/local/Cellar/automake/1.16.1 (131 files, 3MB) *
Poured from bottle on 2018-06-03 at 14:54:40
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/automake.rb
==> Dependencies
Required: autoconf ✔
Metadata
Metadata
Assignees
Labels
No labels
Activity
wesm commentedon Jun 4, 2018
This issue is mentioned in the README, do the suggested remediations work for you? https://github.com/apache/arrow/tree/master/c_glib#configure-failed---ax_cxx_compile_stdcxx_11ext-mandatory
stephenpascoe commentedon Jun 5, 2018
Thanks, I feel dumb now. Yes they work.
In case it helps I've added a couple of other issues I came across in #2107.