I followed the instructions on http://getgitorious.com/installer to install 
Gitorious on CentOS 6.3.

It fails during install gems:

TASK: [gitorious | install gems] ********************************************** 
failed: [localhost] => {"changed": true, "cmd": ["gitoriousctl", "exec", 
"bundle", "install", "--jobs", "4", "--retry", "3", "--deployment", 
"--without", "development", "test", "postgres"], "delta": "0:01:09.424523", 
"end": "2015-02-09 15:31:37.178942", "rc": 5, "start": "2015-02-09 
15:30:27.754419", "warnings": []}
stdout: Fetching source index from https://rubygems.org/
Using rake 10.4.1
Using multi_json 1.10.1
Using builder 3.0.4
Using erubis 2.7.0
Using RedCloth 4.2.9
Using i18n 0.6.11
Using journey 1.0.4
Using rack 1.4.5
Using hike 1.2.3
Using tilt 1.4.1
Using mime-types 1.25.1
Using polyglot 0.3.5
Using arel 3.0.3
Using tzinfo 0.3.42
Using bundler 1.7.13
Using json 1.8.1
Using thor 0.19.1
Using asciidoctor 0.1.4
Using descendants_tracker 0.0.3
Using ice_nine 0.10.0
Using backports 3.3.5
Using charlatan 0.0.1
Using htmlentities 4.3.1
Using multi_xml 0.5.5
Using creole 0.5.0
Using daemons 1.1.0
Using force_utf8 1.0.0
Using escape_utils 0.3.2
Using posix-spawn 0.3.8
Using yajl-ruby 1.1.0
Using nokogiri 1.5.11
Using diff-lcs 1.1.2
Using eventmachine 1.0.3
Using trollop 2.0
Using equalizer 0.0.8
Using execjs 2.0.2
Using expression_parser 0.9.0
Using geoip 0.8.9
Using ruby-openid 2.3.0
Using highline 1.6.20
Installing innertube 1.1.0
Using rugged 0.19.0 from https://github.com/libgit2/rugged.git (at development)
Installing just_paginate 0.2.2
Installing memcache-client 1.8.5
Installing middleware 0.1.0

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

    /opt/rubies/ruby-2.0.0-p576/bin/ruby extconf.rb 
checking for main() in -licui18n... yes
checking for main() in -licui18n... yes
checking for unicode/ucnv.h... yes
  -- tar zxvf file-5.08.tar.gz
  -- ./configure 
--prefix=/var/www/gitorious/app/vendor/bundle/ruby/2.0.0/gems/charlock_holmes-0.6.9.4/ext/charlock_holmes/dst/
 --disable-shared --enable-static --with-pic
  -- patch -p0 < ../file-soft-check.patch
*** 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=/opt/rubies/ruby-2.0.0-p576/bin/ruby
        --with-icu-dir
        --without-icu-dir
        --with-icu-include
        --without-icu-include=${icu-dir}/include
        --with-icu-lib
        --without-icu-lib=${icu-dir}/
        --with-icui18nlib
        --without-icui18nlib
        --with-icui18nlib
        --without-icui18nlib
extconf.rb:7:in `sys': patch -p0 < ../file-soft-check.patch failed, please 
report issue on http://github.com/brianmario/charlock_holmes (RuntimeError)
        from extconf.rb:61:in `block (2 levels) in <main>'
        from extconf.rb:59:in `chdir'
        from extconf.rb:59:in `block in <main>'
        from extconf.rb:55:in `chdir'
        from extconf.rb:55:in `<main>'


Gem files will remain installed in 
/var/www/gitorious/app/vendor/bundle/ruby/2.0.0/gems/charlock_holmes-0.6.9.4 
for inspection.
Results logged to 
/var/www/gitorious/app/vendor/bundle/ruby/2.0.0/gems/charlock_holmes-0.6.9.4/ext/charlock_holmes/gem_make.out
Installing mono_logger 1.1.0
Installing kgio 2.8.1
An error occurred while installing charlock_holmes (0.6.9.4), and Bundler cannot
continue.
Make sure that `gem install charlock_holmes -v '0.6.9.4'` succeeds before
bundling.

FATAL: all hosts have already failed -- aborting

PLAY RECAP ******************************************************************** 
           to retry, use: --limit @/root/install.retry

localhost                  : ok=51   changed=5    unreachable=0    failed=1   


+- Oops, a problem occurred.
+- Usually it happens when there's a network problem (probably timeout during 
package installation).
+- It is safe to run this script again.

-- 
-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" 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/d/optout.

Reply via email to