Guest User

Untitled

a guest
Jul 18th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.68 KB | None | 0 0
  1. ian@ian-desktop:~/Documents/rubygems-1.3.5$ sudo gem install rubygame
  2. Building native extensions. This could take a while...
  3. ERROR: Error installing rubygame:
  4. ERROR: Failed to build gem native extension.
  5.  
  6. /usr/bin/ruby1.9.1 extconf.rb
  7. checking for ffi.h in /usr/local/include,/opt/local/include... no
  8. checking for ffi_call() in -lffi... no
  9. checking for ffi_prep_closure()... no
  10. checking for ffi_raw_call()... no
  11. checking for rb_thread_blocking_region()... yes
  12. creating extconf.h
  13. creating Makefile
  14.  
  15. make
  16. Configuring libffi
  17. cd /usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/libffi && make
  18. make[1]: Entering directory `/usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/libffi'
  19. make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=" "CXXFLAGS=-g -O2" "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/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/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=cc" "CXX=g++" "LD=ld" "NM=" "RANLIB=ranlib" "DESTDIR=" all-recursive
  20. make[2]: Entering directory `/usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/libffi'
  21. Making all in include
  22. make[3]: Entering directory `/usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/libffi/include'
  23. make[3]: Nothing to be done for `all'.
  24. make[3]: Leaving directory `/usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/libffi/include'
  25. Making all in testsuite
  26. make[3]: Entering directory `/usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/libffi/testsuite'
  27. make[3]: Nothing to be done for `all'.
  28. make[3]: Leaving directory `/usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/libffi/testsuite'
  29. Making all in man
  30. make[3]: Entering directory `/usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/libffi/man'
  31. make[3]: Nothing to be done for `all'.
  32. make[3]: Leaving directory `/usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/libffi/man'
  33. make[3]: Entering directory `/usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/libffi'
  34. /bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/debug.lo src/debug.c
  35. mkdir src/.libs
  36. cc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/debug.c -fPIC -DPIC -o src/.libs/debug.o
  37. /bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/prep_cif.lo src/prep_cif.c
  38. cc -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
  39. /bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/types.lo src/types.c
  40. cc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/types.c -fPIC -DPIC -o src/.libs/types.o
  41. /bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/raw_api.lo src/raw_api.c
  42. cc -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
  43. /bin/bash ./libtool --tag=CC --mode=compile cc -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
  44. cc -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
  45. /bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/closures.lo src/closures.c
  46. cc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/closures.c -fPIC -DPIC -o src/.libs/closures.o
  47. /bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/x86/ffi.lo src/x86/ffi.c
  48. mkdir src/x86/.libs
  49. cc -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
  50. /bin/bash ./libtool --mode=compile cc -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
  51. cc -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
  52. /bin/bash ./libtool --tag=CC --mode=link cc -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
  53. mkdir .libs
  54. cc -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.7
  55. (cd .libs && rm -f libffi.so.5 && ln -s libffi.so.5.0.7 libffi.so.5)
  56. (cd .libs && rm -f libffi.so && ln -s libffi.so.5.0.7 libffi.so)
  57. creating libffi.la
  58. (cd .libs && rm -f libffi.la && ln -s ../libffi.la libffi.la)
  59. /bin/bash ./libtool --tag=CC --mode=link cc -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
  60. 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
  61. ranlib .libs/libffi_convenience.a
  62. creating libffi_convenience.la
  63. (cd .libs && rm -f libffi_convenience.la && ln -s ../libffi_convenience.la libffi_convenience.la)
  64. make[3]: Leaving directory `/usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/libffi'
  65. make[2]: Leaving directory `/usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/libffi'
  66. make[1]: Leaving directory `/usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/libffi'
  67. cc -I. -I/usr/include/ruby-1.9.1/i486-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -I/usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/libffi/include -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -fPIC -fno-strict-aliasing -g -g -O2 -O2 -g -Wall -Wno-parentheses -fPIC-Werror -Wunused -Wformat -Wimplicit -Wreturn-type -o AutoPointer.o -c AutoPointer.c
  68. cc1: error: unrecognized command line option "-fPIC-Werror"
  69. make: *** [AutoPointer.o] Error 1
  70.  
  71.  
  72. Gem files will remain installed in /usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3 for inspection.
  73. Results logged to /usr/lib/ruby1.9.1/gems/1.9.1/gems/ffi-0.5.3/ext/ffi_c/gem_make.out
Add Comment
Please, Sign In to add comment