XP is just a number | |
PerlMonks |
Mysteries of Oracle, Windows, and cygwinby Cody Fendant (Hermit) |
on Sep 05, 2018 at 03:19 UTC ( [id://1221724]=perlquestion: print w/replies, xml ) | Need Help?? |
Cody Fendant has asked for the wisdom of the Perl Monks concerning the following question: 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:
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.
Back to
Seekers of Perl Wisdom
|
|