Created
September 8, 2012 05:55
-
-
Save anonymous/3672221 to your computer and use it in GitHub Desktop.
This is the output I get when trying to gem install ffi -v '1.0.11'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ gem install ffi -v '1.0.11' | |
| ERROR: Error installing ffi: | |
| ERROR: Failed to build gem native extension. | |
| /usr/local/rvm/rubies/ruby-head/bin/ruby extconf.rb | |
| checking for ffi.h... no | |
| checking for ffi.h in /usr/local/include... no | |
| checking for rb_thread_blocking_region()... yes | |
| checking for ruby_native_thread_p()... yes | |
| checking for rb_thread_call_with_gvl()... yes | |
| creating extconf.h | |
| creating Makefile | |
| make | |
| Configuring libffi | |
| make -C "/usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/libffi" | |
| make[1]: Entering directory `/usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/libffi' | |
| make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=" "CXXFLAGS=" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/bash /usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/libffi/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "RUNTESTFLAGS=" "SHELL=/bin/bash" "exec_prefix=/usr/local" "infodir=/usr/local/share/info" "libdir=/usr/local/lib" "prefix=/usr/local" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=/usr/bin/ld" "NM=/usr/bin/nm -B" "RANLIB=ranlib" "DESTDIR=" all-recursive | |
| make[2]: Entering directory `/usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/libffi' | |
| Making all in include | |
| make[3]: Entering directory `/usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/libffi/include' | |
| make[3]: Nothing to be done for `all'. | |
| make[3]: Leaving directory `/usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/libffi/include' | |
| Making all in testsuite | |
| make[3]: Entering directory `/usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/libffi/testsuite' | |
| make[3]: Nothing to be done for `all'. | |
| make[3]: Leaving directory `/usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/libffi/testsuite' | |
| Making all in man | |
| make[3]: Entering directory `/usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/libffi/man' | |
| make[3]: Nothing to be done for `all'. | |
| make[3]: Leaving directory `/usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/libffi/man' | |
| make[3]: Entering directory `/usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/libffi' | |
| /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/debug.lo src/debug.c | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/debug.c -fPIC -DPIC -o src/.libs/debug.o | |
| /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/prep_cif.lo src/prep_cif.c | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/prep_cif.c -fPIC -DPIC -o src/.libs/prep_cif.o | |
| /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/types.lo src/types.c | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/types.c -fPIC -DPIC -o src/.libs/types.o | |
| /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/raw_api.lo src/raw_api.c | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/raw_api.c -fPIC -DPIC -o src/.libs/raw_api.o | |
| /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/java_raw_api.lo src/java_raw_api.c | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/java_raw_api.c -fPIC -DPIC -o src/.libs/java_raw_api.o | |
| /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/closures.lo src/closures.c | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/closures.c -fPIC -DPIC -o src/.libs/closures.o | |
| /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/x86/ffi.lo src/x86/ffi.c | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/x86/ffi.c -fPIC -DPIC -o src/x86/.libs/ffi.o | |
| /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include -Iinclude -I./src -c -o src/x86/sysv.lo src/x86/sysv.S | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include -Iinclude -I./src -c src/x86/sysv.S -fPIC -DPIC -o src/x86/.libs/sysv.o | |
| /bin/bash ./libtool --tag=CC --mode=link gcc -Wall -g -fexceptions -version-info `grep -v '^#' ./libtool-version` -o libffi.la -rpath /usr/local/lib src/debug.lo src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/x86/ffi.lo src/x86/sysv.lo | |
| libtool: link: gcc -shared src/.libs/debug.o src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o src/x86/.libs/ffi.o src/x86/.libs/sysv.o -Wl,-soname -Wl,libffi.so.5 -o .libs/libffi.so.5.0.10 | |
| libtool: link: (cd ".libs" && rm -f "libffi.so.5" && ln -s "libffi.so.5.0.10" "libffi.so.5") | |
| libtool: link: (cd ".libs" && rm -f "libffi.so" && ln -s "libffi.so.5.0.10" "libffi.so") | |
| libtool: link: ( cd ".libs" && rm -f "libffi.la" && ln -s "../libffi.la" "libffi.la" ) | |
| /bin/bash ./libtool --tag=CC --mode=link gcc -Wall -g -fexceptions -o libffi_convenience.la src/debug.lo src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/x86/ffi.lo src/x86/sysv.lo | |
| libtool: link: ar cru .libs/libffi_convenience.a src/.libs/debug.o src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o src/x86/.libs/ffi.o src/x86/.libs/sysv.o | |
| libtool: link: ranlib .libs/libffi_convenience.a | |
| libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s "../libffi_convenience.la" "libffi_convenience.la" ) | |
| make[3]: Leaving directory `/usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/libffi' | |
| make[2]: Leaving directory `/usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/libffi' | |
| make[1]: Leaving directory `/usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/libffi' | |
| compiling StructByReference.c | |
| In file included from /usr/include/bits/string2.h:52, | |
| from /usr/include/string.h:635, | |
| from /usr/local/rvm/rubies/ruby-head/include/ruby-2.0.0/ruby/ruby.h:51, | |
| from /usr/local/rvm/rubies/ruby-head/include/ruby-2.0.0/ruby.h:33, | |
| from StructByReference.c:34: | |
| ./endian.h:43:4: error: #error "Cannot determine the endian-ness of this platform" | |
| In file included from Pointer.h:30, | |
| from StructByReference.c:40: | |
| AbstractMemory.h:68: error: expected specifier-qualifier-list before â/â token | |
| AbstractMemory.h: In function âcheckBoundsâ: | |
| AbstractMemory.h:87: error: âAbstractMemoryâ has no member named âsizeâ | |
| AbstractMemory.h: In function âcheckReadâ: | |
| AbstractMemory.h:96: error: âAbstractMemoryâ has no member named âflagsâ | |
| AbstractMemory.h: In function âcheckWriteâ: | |
| AbstractMemory.h:104: error: âAbstractMemoryâ has no member named âflagsâ | |
| make: *** [StructByReference.o] Error 1 | |
| Gem files will remain installed in /usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11 for inspection. | |
| Results logged to /usr/local/rvm/gems/ruby-head/gems/ffi-1.0.11/ext/ffi_c/gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment