Guest User

Untitled

a guest
Jan 13th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.55 KB | None | 0 0
  1. Installing pg (0.11.0) with native extensions /Users/spif/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:551:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
  2.  
  3. /Users/spif/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb
  4. checking for pg_config... yes
  5. Using config values from /usr/local/bin/pg_config
  6. checking for libpq-fe.h... yes
  7. checking for libpq/libpq-fs.h... yes
  8. checking for PQconnectdb() in -lpq... yes
  9. checking for PQconnectionUsedPassword()... yes
  10. checking for PQisthreadsafe()... yes
  11. checking for PQprepare()... yes
  12. checking for PQexecParams()... yes
  13. checking for PQescapeString()... yes
  14. checking for PQescapeStringConn()... yes
  15. checking for PQgetCancel()... yes
  16. checking for lo_create()... yes
  17. checking for pg_encoding_to_char()... yes
  18. checking for PQsetClientEncoding()... yes
  19. checking for struct pgNotify.extra in libpq-fe.h... yes
  20. checking for unistd.h... yes
  21. creating extconf.h
  22. creating Makefile
  23.  
  24. make
  25. gcc -I. -I/Users/spif/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-darwin11.0.0 -I/Users/spif/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/Users/spif/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/usr/local/Cellar/postgresql/9.0.1/include -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -o compat.o -c compat.c
  26. gcc -I. -I/Users/spif/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-darwin11.0.0 -I/Users/spif/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/Users/spif/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/usr/local/Cellar/postgresql/9.0.1/include -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -o pg.o -c pg.c
  27. pg.c: In function ‘pgconn_exec’:
  28. pg.c:947: warning: implicit conversion shortens 64-bit value into a 32-bit value
  29. pg.c:986: warning: implicit conversion shortens 64-bit value into a 32-bit value
  30. pg.c: In function ‘pgconn_prepare’:
  31. pg.c:1052: warning: implicit conversion shortens 64-bit value into a 32-bit value
  32. pg.c: In function ‘pgconn_exec_prepared’:
  33. pg.c:1143: warning: implicit conversion shortens 64-bit value into a 32-bit value
  34. pg.c:1173: warning: implicit conversion shortens 64-bit value into a 32-bit value
  35. pg.c: In function ‘pgconn_s_escape’:
  36. pg.c:1318: warning: implicit conversion shortens 64-bit value into a 32-bit value
  37. pg.c:1325: warning: implicit conversion shortens 64-bit value into a 32-bit value
  38. pg.c: In function ‘pgconn_send_query’:
  39. pg.c:1499: warning: implicit conversion shortens 64-bit value into a 32-bit value
  40. pg.c:1538: warning: implicit conversion shortens 64-bit value into a 32-bit value
  41. pg.c: In function ‘pgconn_send_prepare’:
  42. pg.c:1603: warning: implicit conversion shortens 64-bit value into a 32-bit value
  43. pg.c: In function ‘pgconn_send_query_prepared’:
  44. pg.c:1692: warning: implicit conversion shortens 64-bit value into a 32-bit value
  45. pg.c:1723: warning: implicit conversion shortens 64-bit value into a 32-bit value
  46. pg.c: In function ‘pgconn_wait_for_notify’:
  47. pg.c:2091: warning: implicit conversion shortens 64-bit value into a 32-bit value
  48. pg.c: In function ‘pgconn_put_copy_data’:
  49. pg.c:2157: warning: implicit conversion shortens 64-bit value into a 32-bit value
  50. pg.c: In function ‘pgconn_block’:
  51. pg.c:2575: warning: implicit conversion shortens 64-bit value into a 32-bit value
  52. pg.c: In function ‘pgconn_locreate’:
  53. pg.c:2724: warning: implicit conversion shortens 64-bit value into a 32-bit value
  54. pg.c: In function ‘find_or_create_johab’:
  55. pg.c:3754: warning: comparison between signed and unsigned
  56. pg.c:3760: warning: comparison between signed and unsigned
  57. pg.c: In function ‘pgconn_get_client_encoding_as_rb_encoding’:
  58. pg.c:3788: warning: comparison between signed and unsigned
  59. pg.c: In function ‘pgconn_get_rb_encoding_as_pg_encname’:
  60. pg.c:3820: warning: comparison between signed and unsigned
  61. pg.c: In function ‘pgconn_internal_encoding_set’:
  62. pg.c:3879: warning: comparison between signed and unsigned
  63. pg.c: In function ‘pgconn_external_encoding’:
  64. pg.c:3935: warning: comparison between signed and unsigned
  65. gcc -dynamic -bundle -o pg_ext.bundle compat.o pg.o -L. -L/Users/spif/.rvm/rubies/ruby-1.9.2-p0/lib -L. -L/usr/local/lib -L/usr/local/Cellar/postgresql/9.0.1/lib -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -lruby.1.9.1 -lpq -lpthread -ldl -lobjc
  66. ld: in /usr/local/lib/libssl.0.9.8.dylib, missing required architecture x86_64 in file for architecture x86_64
  67. collect2: ld returned 1 exit status
  68. make: *** [pg_ext.bundle] Error 1
  69.  
  70.  
  71. Gem files will remain installed in /Users/spif/.rvm/gems/ruby-1.9.2-p0/gems/pg-0.11.0 for inspection.
  72. Results logged to /Users/spif/.rvm/gems/ruby-1.9.2-p0/gems/pg-0.11.0/ext/gem_make.out
  73. from /Users/spif/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:529:in `block in build_extensions'
  74. from /Users/spif/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:504:in `each'
  75. from /Users/spif/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:504:in `build_extensions'
  76. from /Users/spif/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:180:in `install'
  77. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/source.rb:101:in `block in install'
  78. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/rubygems_integration.rb:78:in `preserve_paths'
  79. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/source.rb:91:in `install'
  80. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/installer.rb:58:in `block (2 levels) in run'
  81. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/rubygems_integration.rb:93:in `with_build_args'
  82. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/installer.rb:57:in `block in run'
  83. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `block in each'
  84. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `each'
  85. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `each'
  86. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/installer.rb:49:in `run'
  87. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/installer.rb:8:in `install'
  88. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/cli.rb:222:in `install'
  89. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/vendor/thor/task.rb:22:in `run'
  90. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
  91. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/vendor/thor.rb:246:in `dispatch'
  92. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/vendor/thor/base.rb:389:in `start'
  93. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/bin/bundle:13:in `<top (required)>'
  94. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/bin/bundle:19:in `load'
  95. from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/bin/bundle:19:in `<main>'
Add Comment
Please, Sign In to add comment