Package Details: ruby-oci8-compat 2.1.2-2

Package Base: ruby-oci8-compat
Description: Compatibility package enabling out of the box installation of ruby-oci8 gem
Upstream URL: http://ruby-oci8.rubyforge.org/
Category: devel
Licenses: GPL
Submitter: rudy.matela
Maintainer: rudy.matela
Last Packager: rudy.matela
Votes: 2
First Submitted: 2012-07-26 15:38
Last Updated: 2014-06-08 10:15

Dependencies (1)

Required by (0)

Sources

Latest Comments

Comment by rudy.matela

2014-06-08 10:17

Version 2.1.2-2:

- removed ruby from depends (as it really only depends on instantclient).
- Fixed Upstream URL link.

Comment by rudy.matela

2014-06-08 10:17

Version 2.1.2-2:

- removed ruby from depends (as it really only depends on instantclient).
- Fixed Upstream URL link.

Comment by mysnk

2014-06-06 19:31

May be remove "ruby" from depends?

Comment by rudy.matela

2012-07-26 15:43

How it works:

$ gem install ruby-oci8
Fetching: ruby-oci8-2.1.2.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing ruby-oci8:
ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb
checking for load library path...
LD_LIBRARY_PATH is not set.
checking ld.so.conf... yes
no
/lib/libclntsh.so.11.1 looks like an instant client.
checking for cc... ok
checking for gcc... yes
checking for LP64... no
checking for sys/types.h... yes
checking for ruby header... ok
*** 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.

/home/rudy/.gem/ruby/1.9.1/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:1024:in `initialize': RuntimeError (RuntimeError)
from /home/rudy/.gem/ruby/1.9.1/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:317:in `new'
from /home/rudy/.gem/ruby/1.9.1/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:317:in `get'
from extconf.rb:18:in `<main>'
---------------------------------------------------
Error Message:
'/lib/sdk/include/oci.h' does not exist.
Install 'Instant Client SDK'.

$ pacman -U ruby-oci8-compat-2.1.2-1-any.pkg.tar.xz
(1/1) installing ruby-oci8-compat [#####] 100%

$ gem install ruby-oci8
Building native extensions. This could take a while...
Successfully installed ruby-oci8-2.1.2
1 gem installed
Installing ri documentation for ruby-oci8-2.1.2...
Installing RDoc documentation for ruby-oci8-2.1.2...