login as oracle user
execute -> env | grep ORACLE_HOME
remember value
logout
login as root
execute -> ORACLE_HOME=/whatever/you/saw/a/few/seconds/ago
execute -> export ORACLE_HOME
execute -> perl -MCPAN -e "install 'DBD::Oracle'"
Alexander
On 05.04.2006 19:32, Robert Hicks wrote:
I just inherited a couple of HP servers that I now have to admin. My
'root' account does not have have ORACLE HOME set since we have an
ORACLE user that has that env variable set. The error is after my sig.
I tried it as ORACLE but it cannot write to the .cpan repository so it
errors out.
How would I do this?
Robert
sing DBI 1.50 (for perl 5.008007 on PA-RISC1.1-thread-multi) installed
in /opt/perl_32/lib/site_perl/5.8.7/PA-RISC1.1-thread-multi/auto/DBI/
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
The ORACLE_HOME environment variable must be set.
It must be set to hold the path to an Oracle installation directory
on this machine (or a machine with a compatible architecture).
See the README.clients file for more information.
ABORTED!
Running make test
CPAN: YAML loaded ok
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
TIMB/DBD-Oracle-1.16.tar.gz : writemakefile NO
'/opt/perl_32/bin/perl Makefile.PL' returned status 512
--
Alexander Foken
mailto:[EMAIL PROTECTED] http://www.foken.de/alexander/