Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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)
- /Users/spif/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb
- checking for pg_config... yes
- Using config values from /usr/local/bin/pg_config
- checking for libpq-fe.h... yes
- checking for libpq/libpq-fs.h... yes
- checking for PQconnectdb() in -lpq... yes
- checking for PQconnectionUsedPassword()... yes
- checking for PQisthreadsafe()... yes
- checking for PQprepare()... yes
- checking for PQexecParams()... yes
- checking for PQescapeString()... yes
- checking for PQescapeStringConn()... yes
- checking for PQgetCancel()... yes
- checking for lo_create()... yes
- checking for pg_encoding_to_char()... yes
- checking for PQsetClientEncoding()... yes
- checking for struct pgNotify.extra in libpq-fe.h... yes
- checking for unistd.h... yes
- creating extconf.h
- creating Makefile
- make
- 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
- 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
- pg.c: In function ‘pgconn_exec’:
- pg.c:947: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c:986: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c: In function ‘pgconn_prepare’:
- pg.c:1052: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c: In function ‘pgconn_exec_prepared’:
- pg.c:1143: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c:1173: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c: In function ‘pgconn_s_escape’:
- pg.c:1318: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c:1325: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c: In function ‘pgconn_send_query’:
- pg.c:1499: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c:1538: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c: In function ‘pgconn_send_prepare’:
- pg.c:1603: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c: In function ‘pgconn_send_query_prepared’:
- pg.c:1692: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c:1723: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c: In function ‘pgconn_wait_for_notify’:
- pg.c:2091: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c: In function ‘pgconn_put_copy_data’:
- pg.c:2157: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c: In function ‘pgconn_block’:
- pg.c:2575: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c: In function ‘pgconn_locreate’:
- pg.c:2724: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pg.c: In function ‘find_or_create_johab’:
- pg.c:3754: warning: comparison between signed and unsigned
- pg.c:3760: warning: comparison between signed and unsigned
- pg.c: In function ‘pgconn_get_client_encoding_as_rb_encoding’:
- pg.c:3788: warning: comparison between signed and unsigned
- pg.c: In function ‘pgconn_get_rb_encoding_as_pg_encname’:
- pg.c:3820: warning: comparison between signed and unsigned
- pg.c: In function ‘pgconn_internal_encoding_set’:
- pg.c:3879: warning: comparison between signed and unsigned
- pg.c: In function ‘pgconn_external_encoding’:
- pg.c:3935: warning: comparison between signed and unsigned
- 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
- ld: in /usr/local/lib/libssl.0.9.8.dylib, missing required architecture x86_64 in file for architecture x86_64
- collect2: ld returned 1 exit status
- make: *** [pg_ext.bundle] Error 1
- Gem files will remain installed in /Users/spif/.rvm/gems/ruby-1.9.2-p0/gems/pg-0.11.0 for inspection.
- Results logged to /Users/spif/.rvm/gems/ruby-1.9.2-p0/gems/pg-0.11.0/ext/gem_make.out
- 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'
- from /Users/spif/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:504:in `each'
- from /Users/spif/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:504:in `build_extensions'
- from /Users/spif/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:180:in `install'
- 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'
- 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'
- from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/source.rb:91:in `install'
- 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'
- 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'
- 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'
- 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'
- from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `each'
- from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `each'
- from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/installer.rb:49:in `run'
- from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/installer.rb:8:in `install'
- from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/cli.rb:222:in `install'
- 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'
- 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'
- from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/lib/bundler/vendor/thor.rb:246:in `dispatch'
- 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'
- from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/gems/bundler-1.0.15/bin/bundle:13:in `<top (required)>'
- from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/bin/bundle:19:in `load'
- from /Users/spif/.rvm/gems/ruby-1.9.2-p0@global/bin/bundle:19:in `<main>'
Add Comment
Please, Sign In to add comment