Skip to content

Instantly share code, notes, and snippets.

@m-mizutani
Last active December 22, 2015 13:59
Show Gist options
  • Save m-mizutani/6482719 to your computer and use it in GitHub Desktop.
Save m-mizutani/6482719 to your computer and use it in GitHub Desktop.
[forge(Darwin):~] % brew -v install R
Homebrew 0.9.4
==> Installing dependencies for r: cloog, gfortran
==> Installing r dependency: cloog
==> Downloading http://www.bastoul.net/cloog/pages/download/count.php3?url=./cloog-0.18.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/cloog-0.18.0.tar.gz
tar xf /Library/Caches/Homebrew/cloog-0.18.0.tar.gz
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/cloog/0.18.0 --with-isl-prefix=/usr/local/opt/isl
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/cloog/0.18.0 --with-isl-prefix=/usr/local/opt/isl
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... autoconf/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 for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... none
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for cd... no
checking build system type... x86_64-apple-darwin12.4.0
checking host system type... x86_64-apple-darwin12.4.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/Library/ENV/4.3/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 cc... /usr/bin/ld
checking if the linker (/usr/bin/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 the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin12.4.0 file names to x86_64-apple-darwin12.4.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin12.4.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
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... cc -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 cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common -DPIC
checking if cc PIC flag -fno-common -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin12.4.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... yes
checking for texi2dvi... texi2dvi
checking for C compiler vendor... gnu
checking whether C compiler accepts -malign-double... yes
checking whether C compiler accepts -fstrict-aliasing... yes
checking whether C compiler accepts -ffast-math... yes
checking for gcc architecture flag...
checking for x86 cpuid 0 output... d:756e6547:6c65746e:49656e69
checking for x86 cpuid 1 output... 206a7:2100800:1fbae3bf:bfebfbff
checking whether C compiler accepts -march=pentium2... no
checking whether C compiler accepts -mcpu=pentium2... yes
checking for gcc architecture flag... -mcpu=pentium2
checking whether C compiler accepts -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -mcpu=pentium2... yes
checking CFLAGS_WARN for maximum warnings... -Wall
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for ANSI C header files... (cached) yes
checking for strtol... yes
checking for getrusage... yes
checking which isl to use... system
checking which gmp to use... system
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for __gmpz_init in -lgmp... yes
checking whether mp_get_memory_functions is declared... yes
checking which osl to use... no
checking our pkgconfig libname... cloog-isl
checking our pkgconfig version... 0.18.0
checking our pkgconfig_libdir... ${libdir}/pkgconfig
expanded our pkgconfig_libdir... /usr/local/Cellar/cloog/0.18.0/lib/pkgconfig
checking our pkgconfig_libfile... cloog-isl.pc
checking our package / suffix... cloog-isl /
checking our pkgconfig description... cloog-isl Library
checking our pkgconfig requires...
checking our pkgconfig ext libs... -lcloog-isl -lgmp
checking our pkgconfig cppflags... -DCLOOG_INT_GMP=1
checking our pkgconfig ldflags... -L/lib
noninstalled pkgconfig -L /private/tmp/cloog-RAFR/cloog-0.18.0/.libs
noninstalled pkgconfig -I /private/tmp/cloog-RAFR/cloog-0.18.0/./include
configure: creating ./config.status
config.status: creating Makefile
config.status: creating test/Makefile
config.status: creating autoconf/Doxyfile
config.status: creating doc/Makefile
config.status: creating source/version.c
config.status: creating include/cloog/version.h
config.status: creating genversion.sh
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing cloog-isl.pc commands
config.status: creating cloog-isl.pc.in
config.status: creating cloog-isl.pc
config.status: creating cloog-isl-uninstalled.pc
config.status: creating cloog-isl-uninstalled.sh
config.status: executing version.h commands
config.status: executing doc/gitversion.texi commands
/*-----------------------------------------------*
* CLooG configuration is OK *
*-----------------------------------------------*/
It appears that your system is OK to start CLooG compilation. You need
now to type "make". After compilation, you should check CLooG by typing
"make check". If no problem occur, you can type "make uninstall" if
you are upgrading an old version. Lastly type "make install" to install
CLooG on your system (log as root if necessary).
==> make install
make install
Making install in .
CC libcloog_isl_la-clast.lo
CC libcloog_isl_la-block.lo
CC libcloog_isl_la-matrix.lo
CC libcloog_isl_la-state.lo
brew: superenv removed: -Wall -O3 -mcpu=pentium2
brew: superenv removed: -Wall -O3 -mcpu=pentium2
brew: superenv removed: -Wall -O3 -mcpu=pentium2
brew: superenv removed: -Wall -O3 -mcpu=pentium2
CC libcloog_isl_la-input.lo
CC libcloog_isl_la-int.lo
CC libcloog_isl_la-loop.lo
brew: superenv removed: -Wall -O3 -mcpu=pentium2
brew: superenv removed: -Wall -O3 -mcpu=pentium2
brew: superenv removed: -Wall -O3 -mcpu=pentium2
CC libcloog_isl_la-names.lo
CC libcloog_isl_la-options.lo
brew: superenv removed: -Wall -O3 -mcpu=pentium2
CC libcloog_isl_la-pprint.lo
brew: superenv removed: -Wall -O3 -mcpu=pentium2
brew: superenv removed: -Wall -O3 -mcpu=pentium2
CC libcloog_isl_la-program.lo
CC libcloog_isl_la-statement.lo
brew: superenv removed: -Wall -O3 -mcpu=pentium2
CC libcloog_isl_la-stride.lo
brew: superenv removed: -Wall -O3 -mcpu=pentium2
CC libcloog_isl_la-union_domain.lo
brew: superenv removed: -Wall -O3 -mcpu=pentium2
brew: superenv removed: -Wall -O3 -mcpu=pentium2
CC libcloog_isl_la-version.lo
CC libcloog_isl_la-domain.lo
brew: superenv removed: -Wall -O3 -mcpu=pentium2
CC libcloog_isl_la-constraints.lo
CC libcloog_isl_la-backend.lo
CC cloog.o
brew: superenv removed: -Wall -O3 -mcpu=pentium2
brew: superenv removed: -Wall -O3 -mcpu=pentium2
source/isl/domain.c:799:2: error: use of undeclared identifier 'isl_int'; did
you mean 'isprint'?
isl_int v;
^~~~~~~
isprint
/usr/include/ctype.h:272:1: note: 'isprint' declared here
isprint(int _c)
^
source/isl/domain.c:799:9: error: expected ';' after expression
isl_int v;
^
;
source/isl/domain.c:799:10: error: use of undeclared identifier 'v'
isl_int v;
^
source/isl/domain.c:807:15: error: use of undeclared identifier 'v'
isl_int_init(v);
^
source/isl/domain.c:808:66: error: use of undeclared identifier 'v'
isl_constraint_get_coefficient(c, isl_dim_set, ccs->level - 1, &v);
^
source/isl/domain.c:809:21: error: use of undeclared identifier 'v'
if (isl_int_is_pos(v)) {
^
source/isl/domain.c:812:55: error: use of undeclared identifier 'v'
isl_constraint_get_coefficient(c, isl_dim_div, i, &v);
^
source/isl/domain.c:813:25: error: use of undeclared identifier 'v'
if (!isl_int_is_zero(v))
^
source/isl/domain.c:819:16: error: use of undeclared identifier 'v'
isl_int_clear(v);
^
source/isl/domain.c:906:2: error: use of undeclared identifier 'isl_int'; did
you mean 'isprint'?
isl_int v;
^~~~~~~
isprint
/usr/include/ctype.h:272:1: note: 'isprint' declared here
isprint(int _c)
^
source/isl/domain.c:906:9: error: expected ';' after expression
isl_int v;
^
;
source/isl/domain.c:906:10: error: use of undeclared identifier 'v'
isl_int v;
^
source/isl/domain.c:915:15: error: use of undeclared identifier 'v'
isl_int_init(v);
^
source/isl/domain.c:916:66: error: use of undeclared identifier 'v'
isl_constraint_get_coefficient(c, isl_dim_set, csl->level - 1, &v);
^
source/isl/domain.c:917:22: error: use of undeclared identifier 'v'
if (!isl_int_is_pos(v)) {
^
source/isl/domain.c:918:17: error: use of undeclared identifier 'v'
isl_int_clear(v);
^
source/isl/domain.c:931:14: error: use of undeclared identifier 'v'
isl_int_neg(v, csl->stride->offset);
^
source/isl/domain.c:932:30: error: use of undeclared identifier 'v'
b = isl_aff_add_constant(b, v);
^
source/isl/domain.c:939:16: error: use of undeclared identifier 'v'
isl_int_clear(v);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
brew: superenv removed: -Wall -O3 -mcpu=pentium2
20 errors generated.
make[1]: *** [libcloog_isl_la-domain.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
brew: superenv removed: -Wall -O3 -mcpu=pentium2
source/isl/constraints.c:269:2: error: use of undeclared identifier 'isl_int';
did you mean 'isprint'?
isl_int c;
^~~~~~~
isprint
/usr/include/ctype.h:272:1: note: 'isprint' declared here
isprint(int _c)
^
source/isl/constraints.c:269:9: error: expected ';' after expression
isl_int c;
^
;
source/isl/constraints.c:269:10: error: use of undeclared identifier 'c'
isl_int c;
^
source/isl/constraints.c:273:15: error: use of undeclared identifier 'c'
isl_int_init(c);
^
source/isl/constraints.c:274:43: error: use of undeclared identifier 'c'
isl_constraint_get_constant(constraint, &c);
^
source/isl/constraints.c:275:23: error: use of undeclared identifier 'c'
if (!isl_int_is_zero(c))
^
source/isl/constraints.c:277:70: error: use of undeclared identifier 'c'
isl_constraint_get_coefficient(constraint, isl_dim_set, level - 1, &c);
^
source/isl/constraints.c:278:22: error: use of undeclared identifier 'c'
if (!isl_int_is_one(c) && !isl_int_is_negone(c))
^
source/isl/constraints.c:278:47: error: use of undeclared identifier 'c'
if (!isl_int_is_one(c) && !isl_int_is_negone(c))
^
source/isl/constraints.c:281:65: error: use of undeclared identifier 'c'
...isl_constraint_get_coefficient(constraint, isl_dim_param, i, &c);
^
source/isl/constraints.c:282:23: error: use of undeclared identifier 'c'
if (isl_int_is_zero(c))
^
source/isl/constraints.c:284:24: error: use of undeclared identifier 'c'
if ((!isl_int_is_one(c) && !isl_int_is_negone(c)) ||
^
source/isl/constraints.c:284:49: error: use of undeclared identifier 'c'
if ((!isl_int_is_one(c) && !isl_int_is_negone(c)) ||
^
source/isl/constraints.c:294:63: error: use of undeclared identifier 'c'
isl_constraint_get_coefficient(constraint, isl_dim_set, i, &c);
^
source/isl/constraints.c:295:23: error: use of undeclared identifier 'c'
if (isl_int_is_zero(c))
^
source/isl/constraints.c:297:24: error: use of undeclared identifier 'c'
if ((!isl_int_is_one(c) && !isl_int_is_negone(c)) ||
^
source/isl/constraints.c:297:49: error: use of undeclared identifier 'c'
if ((!isl_int_is_one(c) && !isl_int_is_negone(c)) ||
^
source/isl/constraints.c:305:63: error: use of undeclared identifier 'c'
isl_constraint_get_coefficient(constraint, isl_dim_div, i, &c);
^
source/isl/constraints.c:306:23: error: use of undeclared identifier 'c'
if (isl_int_is_zero(c))
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [libcloog_isl_la-constraints.lo] Error 1
make: *** [install-recursive] Error 1
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: 6fd425b45c02d474380b15ee20ee9cbf4cd4ae6d
CPU: quad-core 64-bit sandybridge
OS X: 10.8.4-x86_64
Xcode: 4.6.3
CLT: 4.4.0.0.1.1249367152
LLVM-GCC: build 2336
Clang: 4.0 build 421
X11: 2.7.4 => /opt/X11
==> ENV
HOMEBREW_CC: clang
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/isl/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/pkg-config/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: cloog did not build
Logs: /Users/mizutani/Library/Logs/Homebrew/cloog/config.log
These open issues may also help:
https://github.com/mxcl/homebrew/issues/22359
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment