Home: Perl Programming Help: DBI:
Installing DBD::Oracle

New User

Jan 10, 2013, 2:16 PM

Views: 22422
Installing DBD::Oracle

I am new to Perl.I am tryong to install DBD::Oracle module but no luck.
Sqlplus works fine..
After perl Makefile.PL , run make but the error is see attach..
Attachments: install.log (37.2 KB)

Veteran / Moderator

Jan 11, 2013, 6:20 AM

Views: 22401
Re: [idzob] Installing DBD::Oracle

I don't use oracle, so I can't do any testing, but the first sign of trouble noted in the log file (lines 192-196) is:

Oracle.h:37:17: error: oci.h: No such file or directory
Oracle.h:38:22: error: oratypes.h: No such file or directory
Oracle.h:39:20: error: ocidfn.h: No such file or directory
Oracle.h:40:18: error: orid.h: No such file or directory
Oracle.h:41:17: error: ori.h: No such file or directory

It would appear that those header files are missing or not in a location where the installer can find them. The rest of the errors may be related to these missing header files.

Prior to that there are several comments that say if there are any install problems, you should read the README and README.help.txt files. Have you done that and was there any clues in there that reference the missing header files issue?