I'm following instruction 
on https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/update/6.4-to-6.5.md
and I did

# MySQL
sudo -u git -H bundle install --without development test postgres --deployment
# PostgreSQL
sudo -u git -H bundle install --without development test mysql --deployment


as you can see the first one command is for postgres but the comment is 
mysql, I did the first command and then I tried to do the second one 
(because I have mysql db) but it doesn't work, it returns the following 
result. What I can do to recover the situation?


Fetching source index from https://rubygems.org/
Using rake (10.1.0)
Using i18n (0.6.9)
Using minitest (4.7.5)
Using multi_json (1.8.4)
Using atomic (1.1.14)
Using thread_safe (0.1.3)
Using tzinfo (0.3.38)
Using activesupport (4.0.2)
Using builder (3.1.4)
Using erubis (2.7.0)
Using rack (1.5.2)
Using rack-test (0.6.2)
Using actionpack (4.0.2)
Using mime-types (1.25.1)
Using polyglot (0.3.3)
Using treetop (1.4.15)
Using mail (2.5.4)
Using actionmailer (4.0.2)
Using actionpack-action_caching (1.1.0)
Using actionpack-page_caching (1.0.2)
Using activemodel (4.0.2)
Using activerecord-deprecated_finders (1.0.3)
Using arel (4.0.1)
Using activerecord (4.0.2)
Using bundler (1.5.1)
Using thor (0.18.1)
Using railties (4.0.2)
Using hike (1.2.3)
Using tilt (1.4.1)
Using sprockets (2.10.1)
Using sprockets-rails (2.0.1)
Using rails (4.0.2)
Using acts-as-taggable-on (2.4.1)
Using asciidoctor (0.1.4)
Using descendants_tracker (0.0.3)
Using ice_nine (0.10.0)
Using axiom-types (0.0.5)
Using bcrypt-ruby (3.1.2)
Using sass (3.2.12)
Using bootstrap-sass (3.0.3.0)
Using json (1.8.1)
Using carrierwave (0.9.0)
Using timers (1.1.0)
Using celluloid (0.15.2)
Using charlock_holmes (0.6.9.4)
Using coercible (1.0.0)
Using coffee-script-source (1.6.3)
Using execjs (2.0.2)
Using coffee-script (2.2.0)
Using coffee-rails (4.0.1)
Using colored (1.2)
Using connection_pool (1.2.0)
Using d3_rails (3.1.10)
Using orm_adapter (0.5.0)
Using warden (1.2.3)
Using devise (3.0.4)
Using devise-async (0.8.0)
Using diff-lcs (1.2.5)
Using dotenv (0.9.0)
Using email_validator (1.4.0)
Using enumerize (0.7.0)
Using equalizer (0.0.8)
Using escape_utils (0.2.4)
Using eventmachine (1.0.3)
Using excon (0.13.4)
Using multipart-post (1.2.0)
Using faraday (0.8.8)
Using faraday_middleware (0.9.0)
Using formatador (0.2.4)
Using net-ssh (2.7.0)
Using net-scp (1.0.4)
Using nokogiri (1.5.10)
Using ruby-hmac (0.4.0)
Using fog (1.3.1)
Using font-awesome-rails (3.2.1.3)
Using foreman (0.63.0)
Using gemoji (1.3.1)
Using github-markdown (0.5.5)
Using github-markup (0.7.6) from https://github.com/gitlabhq/markup.git (at 
61ade38)
Using posix-spawn (0.3.6)
Using gitlab-grit (2.6.3)
Using gitlab-flowdock-git-hook (0.4.2.2)
Using yajl-ruby (1.1.0)
Using gitlab-pygments.rb (0.5.4)
Using sanitize (2.0.6)
Using stringex (1.5.1)
Using gitlab-gollum-lib (1.0.2)
Using gitlab-grack (2.0.0.pre)
Using gitlab-linguist (2.9.6)
Using gitlab_git (4.0.0)
Using gitlab_meta (6.0)
Using net-ldap (0.3.1)
Using hashie (2.0.5)
Using omniauth (1.1.4)
Using pyu-ruby-sasl (0.0.3.3)
Using rubyntlm (0.1.1)
Using gitlab_omniauth-ldap (1.0.3)
Using gon (5.0.1)
Using multi_xml (0.5.5)
Using rack-accept (0.4.5)
Using rack-mount (0.8.3)
Using virtus (1.0.1)
Using grape (0.6.1)
Using grape-entity (0.3.0)
Using haml (4.0.4)
Using haml-rails (0.5.1)
Using httparty (0.12.0)
Using hipchat (0.14.0)
Using http_parser.rb (0.5.3)
Using httpauth (0.2.0)
Using jquery-atwho-rails (0.3.3)
Using jquery-rails (2.1.3)
Using turbolinks (2.0.0)
Using jquery-turbolinks (2.0.1)
Using jquery-ui-rails (2.0.2)
Using jwt (0.1.8)
Using kaminari (0.15.1)
Using kgio (2.8.1)
Using libv8 (3.16.14.3)
Using modernizr (2.6.2)
Using oauth (0.4.7)
Using oauth2 (0.8.1)
Using omniauth-oauth2 (1.1.1)
Using omniauth-github (1.1.1)
Using omniauth-google-oauth2 (0.2.1)
Using omniauth-oauth (1.0.1)
Using omniauth-twitter (1.0.1)

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native 
extension.

    /usr/local/bin/ruby 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/local/bin/ruby
--with-pg
--without-pg
--with-pg-dir
--without-pg-dir
--with-pg-include
--without-pg-include=${pg-dir}/include
--with-pg-lib
--without-pg-lib=${pg-dir}/
--with-pg-config
--without-pg-config
--with-pg_config
--without-pg_config


Gem files will remain installed in 
/home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/pg-0.15.1 for inspection.
Results logged to 
/home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/pg-0.15.1/ext/gem_make.out
An error occurred while installing pg (0.15.1), and Bundler cannot continue.
Make sure that `gem install pg -v '0.15.1'` succeeds before bundling.


-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to