I've never had a problem with that. Here's how I install
DBD::Oracle - BTW, we have Oracle 8.1.7 and DBD::Oracle 1.06:
As "root",
$ export ORACLE_HOME=/path/to/oracle/product/8.1.7
$ export ORACLE_SID=MY_SID
$ export ORACLE_USERID=my_userid
where "my_userid" is a valid Oracle user on that system.
The "make test" will need this since it will try to connect
to Oracle.
Once I've done those exports, then I go through the DBD::Oracle
install steps. I actually prefer to use CPAN to do the installs -
if you want to do that, then still be "root", and do the exports
above, and then at the CPAN> prompt, type "install DBD::Oracle".
Or, if DBD::Oracle was previously installed, you may need to do
"force install DBD::Oracle".
HTH.
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com
Victor [[EMAIL PROTECTED]] wrote:
> In my debian linux I've installed Oracle client to access an Oracle server, then
>DBD:oracle (1.07) just downloaded from cpan site.
>
> Trying to compile DBD:oracle by means of perl Makefile.pl the program
> complains that
> the ORACLE_HOME environment variable must be set.....
> ABORTED
> Now I've tried with export ORACLE_HOME=/dir/where/Oracle/is but it looks as though
>Makefile.PL deletes the variable.
>
> After reading the file readme.clients, I've been looking for the
> oracle.mk file to no avail.
>
> Please help me!
>
> Ciao
>
> Vittorio