Hi ,

I am getting into the below error while running bundle from bamboo
server.



Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension.
build 29-Dec-2014 15:13:05
build 29-Dec-2014 15:13:05 /usr/local/bin/ruby extconf.rb
build 29-Dec-2014 15:13:05 checking for load library path...
build 29-Dec-2014 15:13:05 LD_LIBRARY_PATH...
build 29-Dec-2014 15:13:05 checking
/usr/java/jdk1.6.0_30/jre/lib/amd64/server... no
build 29-Dec-2014 15:13:05 checking
/usr/java/jdk1.6.0_30/jre/lib/amd64... no
build 29-Dec-2014 15:13:05 checking
/usr/java/jdk1.6.0_30/jre/../lib/amd64... no
build 29-Dec-2014 15:13:05 checking ld.so.conf... no
build 29-Dec-2014 15:13:05 checking for cc... ok
build 29-Dec-2014 15:13:05 checking for gcc... yes
build 29-Dec-2014 15:13:05 checking for LP64... yes
build 29-Dec-2014 15:13:05 checking for sys/types.h... yes
build 29-Dec-2014 15:13:05 checking for ruby header... ok
build 29-Dec-2014 15:13:05 *** extconf.rb failed ***
build 29-Dec-2014 15:13:05 Could not create Makefile due to some
reason, probably lack of necessary
build 29-Dec-2014 15:13:05 libraries and/or headers. Check the
mkmf.log file for more details. You may
build 29-Dec-2014 15:13:05 need configuration options.
build 29-Dec-2014 15:13:05
build 29-Dec-2014 15:13:05 Provided configuration options:
build 29-Dec-2014 15:13:05 --with-opt-dir
build 29-Dec-2014 15:13:05 --without-opt-dir
build 29-Dec-2014 15:13:05 --with-opt-include
build 29-Dec-2014 15:13:05 --without-opt-include=${opt-dir}/include
build 29-Dec-2014 15:13:05 --with-opt-lib
build 29-Dec-2014 15:13:05 --without-opt-lib=${opt-dir}/lib
build 29-Dec-2014 15:13:05 --with-make-prog
build 29-Dec-2014 15:13:05 --without-make-prog
build 29-Dec-2014 15:13:05 --srcdir=.
build 29-Dec-2014 15:13:05 --curdir
build 29-Dec-2014 15:13:05 --ruby=/usr/local/bin/ruby
build 29-Dec-2014 15:13:05 --with-instant-client
build 29-Dec-2014 15:13:05 --without-instant-client
build 29-Dec-2014 15:13:05
/usr/local/lib/ruby/gems/2.0.0/gems/ruby-oci8-2.1.7/ext/oci8/oraconf.rb:891:in
`get_home': RuntimeError (RuntimeError)
build 29-Dec-2014 15:13:05 from
/usr/local/lib/ruby/gems/2.0.0/gems/ruby-oci8-2.1.7/ext/oci8/oraconf.rb:707:in
`initialize'
build 29-Dec-2014 15:13:05 from
/usr/local/lib/ruby/gems/2.0.0/gems/ruby-oci8-2.1.7/ext/oci8/oraconf.rb:320:in
`new'
build 29-Dec-2014 15:13:05 from
/usr/local/lib/ruby/gems/2.0.0/gems/ruby-oci8-2.1.7/ext/oci8/oraconf.rb:320:in
`get'
build 29-Dec-2014 15:13:05 from extconf.rb:18:in `<main>'
build 29-Dec-2014 15:13:05
---------------------------------------------------
build 29-Dec-2014 15:13:05 Error Message:
build 29-Dec-2014 15:13:05 Set the environment variable ORACLE_HOME
if Oracle Full Client.
build 29-Dec-2014 15:13:05 Append the path of Oracle client
libraries to LD_LIBRARY_PATH if Oracle Instant Client.
build 29-Dec-2014 15:13:05
build 29-Dec-2014 15:13:05 Backtrace:
build 29-Dec-2014 15:13:05
/usr/local/lib/ruby/gems/2.0.0/gems/ruby-oci8-2.1.7/ext/oci8/oraconf.rb:891:in
`get_home'
build 29-Dec-2014 15:13:05
/usr/local/lib/ruby/gems/2.0.0/gems/ruby-oci8-2.1.7/ext/oci8/oraconf.rb:707:in
`initialize'
build 29-Dec-2014 15:13:05
/usr/local/lib/ruby/gems/2.0.0/gems/ruby-oci8-2.1.7/ext/oci8/oraconf.rb:320:in
`new'
build 29-Dec-2014 15:13:05
/usr/local/lib/ruby/gems/2.0.0/gems/ruby-oci8-2.1.7/ext/oci8/oraconf.rb:320:in
`get'
build 29-Dec-2014 15:13:05 extconf.rb:18:in `<main>'
build 29-Dec-2014 15:13:05
---------------------------------------------------
build 29-Dec-2014 15:13:05 See:
build 29-Dec-2014 15:13:05 *
http://rubydoc.info/gems/ruby-oci8/file/docs/install-full-client.md for
Oracle full client
build 29-Dec-2014 15:13:05 *
http://rubydoc.info/gems/ruby-oci8/file/docs/install-instant-client.md
for Oracle instant client
build 29-Dec-2014 15:13:05 *
http://ruby-oci8.rubyforge.org/en/file.report-installation-issue.html to
report an issue.
build 29-Dec-2014 15:13:05
build 29-Dec-2014 15:13:05
build 29-Dec-2014 15:13:05
build 29-Dec-2014 15:13:05 Gem files will remain installed in
/usr/local/lib/ruby/gems/2.0.0/gems/ruby-oci8-2.1.7 for inspection.
build 29-Dec-2014 15:13:05 Results logged to
/usr/local/lib/ruby/gems/2.0.0/gems/ruby-oci8-2.1.7/ext/oci8/gem_make.out
build 29-Dec-2014 15:13:05 An error occurred while installing
ruby-oci8 (2.1.7), and Bundler cannot
build 29-Dec-2014 15:13:05 continue.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a39ded7f60488c3a140f75412e47d7dd%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Matt Jones at Jan 1, 2015 at 9:42 pm

    On Monday, 29 December 2014 15:26:55 UTC-5, Ruby-Forum.com User wrote:
    Hi ,

    I am getting into the below error while running bundle from bamboo
    server.



    Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
    extension.
    build 29-Dec-2014 15:13:05
    build 29-Dec-2014 15:13:05 /usr/local/bin/ruby extconf.rb
    build 29-Dec-2014 15:13:05 checking for load library path...
    build 29-Dec-2014 15:13:05 LD_LIBRARY_PATH...
    build 29-Dec-2014 15:13:05 checking
    /usr/java/jdk1.6.0_30/jre/lib/amd64/server... no
    build 29-Dec-2014 15:13:05 checking
    /usr/java/jdk1.6.0_30/jre/lib/amd64... no
    build 29-Dec-2014 15:13:05 checking
    /usr/java/jdk1.6.0_30/jre/../lib/amd64... no
    build 29-Dec-2014 15:13:05 checking ld.so.conf... no
    build 29-Dec-2014 15:13:05 checking for cc... ok
    build 29-Dec-2014 15:13:05 checking for gcc... yes
    build 29-Dec-2014 15:13:05 checking for LP64... yes
    build 29-Dec-2014 15:13:05 checking for sys/types.h... yes
    build 29-Dec-2014 15:13:05 checking for ruby header... ok
    build 29-Dec-2014 15:13:05 *** extconf.rb failed ***
    build 29-Dec-2014 15:13:05 Could not create Makefile due to some
    reason, probably lack of necessary
    build 29-Dec-2014 15:13:05 libraries and/or headers. Check the
    mkmf.log file for more details. You may
    build 29-Dec-2014 15:13:05 need configuration options.
    build 29-Dec-2014 15:13:05
    build 29-Dec-2014 15:13:05 Provided configuration options:
    build 29-Dec-2014 15:13:05 --with-opt-dir
    build 29-Dec-2014 15:13:05 --without-opt-dir
    build 29-Dec-2014 15:13:05 --with-opt-include
    build 29-Dec-2014 15:13:05 --without-opt-include=${opt-dir}/include
    build 29-Dec-2014 15:13:05 --with-opt-lib
    build 29-Dec-2014 15:13:05 --without-opt-lib=${opt-dir}/lib
    build 29-Dec-2014 15:13:05 --with-make-prog
    build 29-Dec-2014 15:13:05 --without-make-prog
    build 29-Dec-2014 15:13:05 --srcdir=.
    build 29-Dec-2014 15:13:05 --curdir
    build 29-Dec-2014 15:13:05 --ruby=/usr/local/bin/ruby
    build 29-Dec-2014 15:13:05 --with-instant-client
    build 29-Dec-2014 15:13:05 --without-instant-client
    build 29-Dec-2014 15:13:05
    /usr/local/lib/ruby/gems/2.0.0/gems/ruby-oci8-2.1.7/ext/oci8/oraconf.rb:891:in

    `get_home': RuntimeError (RuntimeError)
    build 29-Dec-2014 15:13:05 from
    /usr/local/lib/ruby/gems/2.0.0/gems/ruby-oci8-2.1.7/ext/oci8/oraconf.rb:707:in

    `initialize'
    build 29-Dec-2014 15:13:05 from
    /usr/local/lib/ruby/gems/2.0.0/gems/ruby-oci8-2.1.7/ext/oci8/oraconf.rb:320:in

    `new'
    build 29-Dec-2014 15:13:05 from
    /usr/local/lib/ruby/gems/2.0.0/gems/ruby-oci8-2.1.7/ext/oci8/oraconf.rb:320:in

    `get'
    build 29-Dec-2014 15:13:05 from extconf.rb:18:in `<main>'
    build 29-Dec-2014 15:13:05
    ---------------------------------------------------
    build 29-Dec-2014 15:13:05 Error Message:
    build 29-Dec-2014 15:13:05 Set the environment variable ORACLE_HOME
    if Oracle Full Client.
    build 29-Dec-2014 15:13:05 Append the path of Oracle client
    libraries to LD_LIBRARY_PATH if Oracle Instant Client.
    As the messages here indicate, you need to set either ORACLE_HOME or add
    the client libraries to LD_LIBRARY_PATH.

    If the "bamboo server" mentioned in your post is the Atlassian CI server,
    you may need to coordinate the installation of the Oracle libraries with
    the administrators of that server.

    --Matt Jones

    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ce6ffe8c-9f51-4b81-a3a5-e2a0af5eab30%40googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Chandra Sekhar at Jan 2, 2015 at 4:53 pm

    Matt Jones wrote in post #1165850:
    On Monday, 29 December 2014 15:26:55 UTC-5, Ruby-Forum.com User wrote:
    build 29-Dec-2014 15:13:05
    build 29-Dec-2014 15:13:05 checking for cc... ok
    build 29-Dec-2014 15:13:05
    build 29-Dec-2014 15:13:05 --curdir
    `initialize'
    ---------------------------------------------------
    build 29-Dec-2014 15:13:05 Error Message:
    build 29-Dec-2014 15:13:05 Set the environment variable ORACLE_HOME
    if Oracle Full Client.
    build 29-Dec-2014 15:13:05 Append the path of Oracle client
    libraries to LD_LIBRARY_PATH if Oracle Instant Client.
    As the messages here indicate, you need to set either ORACLE_HOME or add
    the client libraries to LD_LIBRARY_PATH.

    If the "bamboo server" mentioned in your post is the Atlassian CI
    server,
    you may need to coordinate the installation of the Oracle libraries with
    the administrators of that server.

    --Matt Jones
    thanks for the response.
    now the above issue is fixed but,while excecuting Rake i am getting
    below error.

    rake aborted!
    error 02-Jan-2015 11:43:22 NameError: uninitialized constant
    Haml::Util::Sass


    Please suggest on this.

    --
    Posted via http://www.ruby-forum.com/.

    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/227ea4f2bb17f313794c05912580f0fb%40ruby-forum.com.
    For more options, visit https://groups.google.com/d/optout.
  • Colin Law at Jan 2, 2015 at 5:01 pm

    On 2 January 2015 at 16:53, Chandra Sekhar wrote:
    Matt Jones wrote in post #1165850:
    On Monday, 29 December 2014 15:26:55 UTC-5, Ruby-Forum.com User wrote:
    build 29-Dec-2014 15:13:05
    build 29-Dec-2014 15:13:05 checking for cc... ok
    build 29-Dec-2014 15:13:05
    build 29-Dec-2014 15:13:05 --curdir
    `initialize'
    ---------------------------------------------------
    build 29-Dec-2014 15:13:05 Error Message:
    build 29-Dec-2014 15:13:05 Set the environment variable ORACLE_HOME
    if Oracle Full Client.
    build 29-Dec-2014 15:13:05 Append the path of Oracle client
    libraries to LD_LIBRARY_PATH if Oracle Instant Client.
    As the messages here indicate, you need to set either ORACLE_HOME or add
    the client libraries to LD_LIBRARY_PATH.

    If the "bamboo server" mentioned in your post is the Atlassian CI
    server,
    you may need to coordinate the installation of the Oracle libraries with
    the administrators of that server.

    --Matt Jones
    thanks for the response.
    now the above issue is fixed but,while excecuting Rake i am getting
    below error.

    rake aborted!
    error 02-Jan-2015 11:43:22 NameError: uninitialized constant
    Haml::Util::Sass


    Please suggest on this.
    Post Gemfile and Gemfile.lock here.

    But you would also be better to start a new thread as the problem is
    no longer "An error occurred while installing ruby-oci8 (2.1.7)".

    Colin

    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsoy4E-fQgHnbnU6eBK%3DPMAZ2KWgb3FFGUvYJLLurQ46g%40mail.gmail.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedDec 29, '14 at 8:26p
activeJan 2, '15 at 5:01p
posts4
users3
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2022 Grokbase