paste #DAlm :: 2016-05-19T22:50:36Z :: new :: raw
$ bundle
Fetching gem metadata from http://rubygems.org/
Fetching version metadata from http://rubygems.org/
Fetching dependency metadata from http://rubygems.org/
Using rake 10.4.2
Installing i18n 0.7.0
Installing json 1.8.2 with native extensions
Installing minitest 5.5.1
Installing thread_safe 0.3.5
Installing builder 3.2.2
Installing erubis 2.7.0
Installing rack 1.5.2
Installing mime-types 2.4.3
Installing arel 5.0.1.20140414130214
Installing addressable 2.3.7
Installing bcrypt 3.1.10 with native extensions
Installing mini_portile 0.6.2
Installing ffi 1.9.8 with native extensions
Installing chunky_png 1.3.4
Installing cliver 0.3.2
Installing coderay 1.1.0
Installing fssm 0.2.10
Installing sass 3.2.19
Installing configuration 1.3.4
Installing database_cleaner 1.4.1
Installing orm_adapter 0.5.0
Installing thor 0.19.1
Installing diff-lcs 1.2.5
Installing ejs 1.1.1
Installing execjs 2.4.0
Installing hike 1.2.3
Installing jasmine-core 2.2.0
Installing phantomjs 1.9.8.0
Installing multi_json 1.11.0
Installing tilt 1.4.1
Installing method_source 0.8.2
Installing mysql2 0.3.18 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /usr/pkg/bin/ruby22 -r ./siteconf20160519-22167-7tt0kd.rb extconf.rb
checking for ruby/thread.h... yes
checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
checking for rb_thread_blocking_region()... no
checking for rb_wait_for_single_fd()... yes
checking for rb_hash_dup()... yes
checking for rb_intern3()... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lmygcc... no
checking for mysql_query() in -lmysqlclient... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/usr/pkg/bin/$(RUBY_BASE_NAME)22
        --with-mysql-dir
        --without-mysql-dir
        --with-mysql-include
        --without-mysql-include=${mysql-dir}/include
        --with-mysql-lib
        --without-mysql-lib=${mysql-dir}/lib
        --with-mysql-config
        --without-mysql-config
        --with-mysql-dir
        --without-mysql-dir
        --with-mysql-include
        --without-mysql-include=${mysql-dir}/include
        --with-mysql-lib
        --without-mysql-lib=${mysql-dir}/lib
        --with-mysqlclientlib
        --without-mysqlclientlib
        --with-mlib
        --without-mlib
        --with-mysqlclientlib
        --without-mysqlclientlib
        --with-zlib
        --without-zlib
        --with-mysqlclientlib
        --without-mysqlclientlib
        --with-socketlib
        --without-socketlib
        --with-mysqlclientlib
        --without-mysqlclientlib
        --with-nsllib
        --without-nsllib
        --with-mysqlclientlib
        --without-mysqlclientlib
        --with-mygcclib
        --without-mygcclib
        --with-mysqlclientlib
        --without-mysqlclientlib

extconf failed, exit code 1

Gem files will remain installed in /tmp/bundler20160519-22167-kryslgmysql2-0.3.18/gems/mysql2-0.3.18 for inspection.
Results logged to /tmp/bundler20160519-22167-kryslgmysql2-0.3.18/extensions/x86_64-netbsd/2.2.0/mysql2-0.3.18/gem_make.out
Installing pg 0.18.1 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /usr/pkg/bin/ruby22 -r ./siteconf20160519-22167-2rqyk.rb extconf.rb
checking for pg_config... no
No pg_config... trying anyway. If building fails, please try again with
 --with-pg-config=/path/to/pg_config
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/usr/pkg/bin/$(RUBY_BASE_NAME)22
        --with-pg
        --without-pg
        --enable-windows-cross
        --disable-windows-cross
        --with-pg-config
        --without-pg-config
        --with-pg_config
        --without-pg_config
        --with-pg-dir
        --without-pg-dir
        --with-pg-include
        --without-pg-include=${pg-dir}/include
        --with-pg-lib
        --without-pg-lib=${pg-dir}/lib

extconf failed, exit code 1

Gem files will remain installed in /tmp/bundler20160519-22167-15b09ukpg-0.18.1/gems/pg-0.18.1 for inspection.
Results logged to /tmp/bundler20160519-22167-15b09ukpg-0.18.1/extensions/x86_64-netbsd/2.2.0/pg-0.18.1/gem_make.out
Installing websocket-extensions 0.1.2
Installing slop 3.6.0
Using bundler 1.12.4
Installing rails_serve_static_assets 0.0.4
Installing rails_stdout_logging 0.0.3
Installing rspec-support 3.2.2
Installing rubyzip 1.1.7
Installing websocket 1.2.1
Installing sqlite3 1.3.10 with native extensions
Installing transitions 0.1.9
Installing tzinfo 1.2.2
Installing rack-test 0.6.3
Installing warden 1.2.3
Installing mail 2.6.3
Installing launchy 2.4.3
Installing nokogiri 1.6.6.2 with native extensions
Installing childprocess 0.5.5
Installing compass 0.12.7
Installing uglifier 2.7.1
Installing sprockets 2.12.3
An error occurred while installing mysql2 (0.3.18), and Bundler cannot continue.
Make sure that `gem install mysql2 -v '0.3.18'` succeeds before bundling.