Hey all,

i have not been updating Gitlab for a while. I now wanted to go throug all 
updates but the first one fails.

I use the following guide: 
https://github.com/gitlabhq/gitlabhq/blob/master/doc/update/5.0-to-5.1.md

The step is:

sudo -u git -H bundle install --without development test postgres 
--deployment

The output below:

/home/git/gitlab$ sudo -u git -H bundle install --without development test 
postgres --deployment
Fetching source index from https://rubygems.org/
Using rake (10.0.4)
Using i18n (0.6.1)
Using multi_json (1.7.2)
Using activesupport (3.2.13)
Using builder (3.0.4)
Using activemodel (3.2.13)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.5)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.2)
Using tilt (1.3.7)
Using sprockets (2.2.2)
Using actionpack (3.2.13)
Using mime-types (1.22)
Using polyglot (0.3.3)
Using treetop (1.4.12)
Using mail (2.5.3)
Using actionmailer (3.2.13)
Using arel (3.0.2)
Using tzinfo (0.3.37)
Using activerecord (3.2.13)
Using activeresource (3.2.13)
Using bundler (1.3.4)
Using rack-ssl (1.3.3)
Using json (1.7.7)
Using rdoc (3.12.2)
Using thor (0.18.1)
Using railties (3.2.13)
Using rails (3.2.13)
Using acts-as-taggable-on (2.3.3)
Using backports (2.6.7)
Using bcrypt-ruby (3.0.1)
Using sass (3.2.7)
Using bootstrap-sass (2.2.1.1)
Using carrierwave (0.8.0)
Using facter (1.6.18)
Using timers (1.1.0)
Using celluloid (0.12.4)
Using charlock_holmes (0.6.9)
Using chosen-rails (0.9.8)
Using coffee-script-source (1.4.0)
Using execjs (1.4.0)
Using coffee-script (2.2.0)
Using coffee-rails (3.2.2)
Using colored (1.2)
Using connection_pool (1.0.0)
Using descendants_tracker (0.0.1)
Using orm_adapter (0.4.0)
Using warden (1.2.1)
Using devise (2.2.3)
Using diff-lcs (1.2.1)
Using enumerize (0.5.1)
Using escape_utils (0.2.4)
Using multipart-post (1.1.5)
Using faraday (0.8.6)
Using sass-rails (3.2.6)
Using font-awesome-sass-rails (3.0.2.2)
Using foreman (0.62.0)
Using gemoji (1.2.1)
Using posix-spawn (0.3.6)
Using yajl-ruby (1.1.0)
Using pygments.rb (0.4.2)
Using github-linguist (2.3.4)
Using github-markdown (0.5.3)
Using github-markup (0.7.5)
Using gitlab-grack (1.0.0)
Using gitlab-pygments.rb (0.3.2)
Using gitlab_meta (5.0)
Using net-ldap (0.2.2)
Using hashie (1.2.0)
Using omniauth (1.1.3)
Using pyu-ruby-sasl (0.0.3.3)
Using rubyntlm (0.1.1)
Using gitlab_omniauth-ldap (1.0.2)
Using grit (2.5.0) from https://github.com/gitlabhq/grit.git (at 42297cd)
Installing nokogiri (1.5.9)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native 
extension.

        /usr/local/bin/ruby extconf.rb
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libxml-2.0', required by 'libxslt', not found
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libxml-2.0', required by 'libxslt', not found
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libxml-2.0', required by 'libxslt', not found
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... yes
checking for libexslt/exslt.h... yes
checking for iconv_open() in iconv.h... yes
checking for xmlParseDoc() in -lxml2... no
-----
libxml2 is missing.  please visit 
http://nokogiri.org/tutorials/installing_nokogiri.html for help with 
installing dependencies.
-----
*** 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-zlib-dir
        --without-zlib-dir
        --with-zlib-include
        --without-zlib-include=${zlib-dir}/include
        --with-zlib-lib
        --without-zlib-lib=${zlib-dir}/lib
        --with-iconv-dir
        --without-iconv-dir
        --with-iconv-include
        --without-iconv-include=${iconv-dir}/include
        --with-iconv-lib
        --without-iconv-lib=${iconv-dir}/lib
        --with-xml2-dir
        --without-xml2-dir
        --with-xml2-include
        --without-xml2-include=${xml2-dir}/include
        --with-xml2-lib
        --without-xml2-lib=${xml2-dir}/lib
        --with-xslt-dir
        --without-xslt-dir
        --with-xslt-include
        --without-xslt-include=${xslt-dir}/include
        --with-xslt-lib
        --without-xslt-lib=${xslt-dir}/lib
        --with-libxslt-config
        --without-libxslt-config
        --with-pkg-config
        --without-pkg-config
        --with-libxml-2.0-config
        --without-libxml-2.0-config
        --with-libiconv-config
        --without-libiconv-config
        --with-xml2lib
        --without-xml2lib


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

libxml-2.0.pc is in /usr/lib/x86_64-linux-gnu/pkgconfig/libxml-2.0.pc

I don't know what to do. I tried to add the path to the PKG_CONFIG_PATH 
variable but this did not help.

I hope some one can help me with this issue.

Thanks a lot.
Stefan

-- 
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