Skip to content

Instantly share code, notes, and snippets.

@pricejn2
Created February 26, 2019 07:26
Show Gist options
  • Save pricejn2/7be58abe0b773c0e6ddfdffd385beac0 to your computer and use it in GitHub Desktop.
Save pricejn2/7be58abe0b773c0e6ddfdffd385beac0 to your computer and use it in GitHub Desktop.
# su -s /bin/bash - o1.ftp -c "rvm all do gem install --conservative ffi"
ERROR: Error installing ffi:
ERROR: Failed to build gem native extension.
current directory: /home/o1.ftp/.rvm/gems/ruby-2.6.0/gems/ffi-1.10.0/ext/ffi_c
/home/o1.ftp/.rvm/rubies/ruby-2.6.0/bin/ruby -I /home/o1.ftp/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0 -r ./siteconf20190226-7366-1mlc5gw.rb extconf.rb
checking for ffi_call() in -lffi... yes
checking for ffi_closure_alloc()... yes
checking for ffi_raw_call()... yes
checking for ffi_prep_raw_closure()... yes
checking for shlwapi.h... no
checking for ruby/thread.h... yes
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_with_gvl()... yes
checking for rb_thread_call_without_gvl()... yes
checking for ffi_prep_cif_var()... yes
creating extconf.h
creating Makefile
current directory: /home/o1.ftp/.rvm/gems/ruby-2.6.0/gems/ffi-1.10.0/ext/ffi_c
make "DESTDIR=" clean
current directory: /home/o1.ftp/.rvm/gems/ruby-2.6.0/gems/ffi-1.10.0/ext/ffi_c
make "DESTDIR="
compiling AbstractMemory.c
compiling ArrayType.c
compiling Buffer.c
compiling Call.c
compiling ClosurePool.c
compiling DataConverter.c
compiling DynamicLibrary.c
compiling Function.c
compiling FunctionInfo.c
compiling LastError.c
compiling LongDouble.c
compiling MappedType.c
compiling MemoryPointer.c
compiling MethodHandle.c
compiling Platform.c
compiling Pointer.c
compiling Struct.c
compiling StructByReference.c
compiling StructByValue.c
compiling StructLayout.c
compiling Thread.c
compiling Type.c
compiling Types.c
compiling Variadic.c
compiling ffi.c
linking shared-object ffi_c.so
current directory: /home/o1.ftp/.rvm/gems/ruby-2.6.0/gems/ffi-1.10.0/ext/ffi_c
make "DESTDIR=" install
Makefile:201: recipe for target '.sitearchdir.time' failed
make: *** [.sitearchdir.time] Error 1
make install failed, exit code 2
Gem files will remain installed in /home/o1.ftp/.rvm/gems/ruby-2.6.0/gems/ffi-1.10.0 for inspection.
Results logged to /home/o1.ftp/.rvm/gems/ruby-2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.10.0/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment