D
Daniel Berger
Hi all,
Oracle 9.2.0.4
Mandriva Linux 2.6.8.1
Ruby 1.8.2
I suspect I need a good dose of caffeine, because I can't figure out why
the ruby-oci package isn't picking up the Oracle header files. To
simplify things as much as possible, I created a test extconf.rb script
that looks like this:
# extconf.rb
require "mkmf"
dir_config("oracle")
have_header("oci.h")
# To demonstrate that the oci.h file does exist
I tried several different things - what am I doing wrong?
Regards,
Dan
Oracle 9.2.0.4
Mandriva Linux 2.6.8.1
Ruby 1.8.2
I suspect I need a good dose of caffeine, because I can't figure out why
the ruby-oci package isn't picking up the Oracle header files. To
simplify things as much as possible, I created a test extconf.rb script
that looks like this:
# extconf.rb
require "mkmf"
dir_config("oracle")
have_header("oci.h")
# To demonstrate that the oci.h file does exist
/home/oracle/9204/rdbms/demo/oci.hls /home/oracle/9204/rdbms/demo/oci.h
I tried several different things - what am I doing wrong?
checking for oci.h... noruby extconf.rb
checking for oci.h... noruby extconf.rb --with-oracle-dir=/home/oracle/9204
checking for oci.h... noruby extconf.rb --with-oracle-dir=/home/oracle/9204/rdbms/demo
checking for oci.h... noruby extconf.rb --with-oracle-include=/home/oracle/9204/rdbms/demo
Regards,
Dan