Re: Oracle Adapter on Mac OS X?

Ryan Carver
Mon, 21 Mar 2005 17:44:26 -0000

I''ve compiled it a couple times now, and it always gives me a
headache..

First thing to check is that you have both ORACLE_HOME and
LD_LIBRARY_PATH env variables set. You''ll also need them set in your
environment.rb


On Sun, 20 Mar 2005 16:32:58 -0800, Scott Hill
<stmpjmpr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> I had previously gotten Maik Schmidt''s patch for Oracle working,
but
> now am trying the official Oracle adapter with the latest Rails.
I''ve
> been trying to get the OCI8 connector to install under OS X, but get
> the following error. Has anyone gotten it working?
>
> ----
>
> [waterdog:~/Desktop/ruby-oci8-0.1.9] stmpjmpr% ruby setup.rb config
> ---> lib
> ---> lib/DBD
> ---> lib/DBD/OCI8
> <--- lib/DBD/OCI8
> <--- lib/DBD
> <--- lib
> ---> ext
> ---> ext/oci8
> /usr/local/bin/ruby
/Users/stmpjmpr/Desktop/ruby-oci8-0.1.9/ext/oci8/extconf.rb
> checking for gcc... yes
> Get the version of Oracle from SQL*Plus... ''system
/usr/local/bin/ruby
> /Users/stmpjmpr/Desktop/ruby-oci8-0.1.9/ext/oci8/extconf.rb ''
failed
> Try ''ruby setup.rb --help'' for detailed usage.
>
> ----
>
> --Scott
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>