I'm trying to get DBD::Oracle to work on windows via cygwin.
Problem number one, it doesn't know where ORACLE_HOME is, when I run perl Makefile.PL
I have solved this by manually setting an ORACLE_HOME into the $ENV, now the perl Makefile.PL command works.
Now I try to run make and this fails with the following:
Oracle.h:37:17: fatal error: oci.h: No such file or directory #include <oci.h> ^ compilation terminated. make: *** [Makefile:378: Oracle.o] Error 1
I thought the way to solve this was to run the Makefile with this argument:
perl Makefile.PL INC='-I/cygdrive/c/app/myname/product/12.1.0/client_2/oci/include/'Which is exactly where the oci.h file can be found.
So, what am I doing wrong?
The second and even greater mystery is that when I installed the Oracle client, it installed its own Perl executable. Should I be using this to run/install DBD?
Spoiler, I tried that and it didn't work.
In reply to Mysteries of Oracle, Windows, and cygwin by Cody Fendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |