passing the include dirs to the C compiler is usually done via the CFLAGS (or CXXFLAGS for c++). Perhaps you should try:
perl Makefile.PL CFLAGS='-I/cygdrive/c/app/myname/product/12.1.0/client_2/oci/include/'If that works, then probably you will fail at the link phase with something like undefined symbols. That calls for the LDFLAGS and setting it to point to the dir containing the libraries, for example:
perl Makefile.PL CFLAGS='-I/cygdrive/c/app/myname/product/12.1.0/client_2/oci/include/' LDFLAGS='-L/abc/xyz/'But if it did find ORACLE_HOME why did it not write all these flags into the Makefile in the first place?
Check ExtUtils::MakeMaker doc for more options if indeed your makefile is of that flavour.
In reply to Re: Mysteries of Oracle, Windows, and cygwin
by bliako
in thread Mysteries of Oracle, Windows, and cygwin
by Cody Fendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |