Link to home
Start Free TrialLog in
Avatar of deNZity
deNZity

asked on

Problem with ppm> install DBD-Oracle

When I try to install the package DBD-Oracle this is what happens.
Its the first error thats the problem the second is for directory that is read.

ppm> install DBD-Oracle
====================
Install 'DBD-Oracle' version 1.17 in ActivePerl 5.8.8.817.
====================
Downloaded 213415 bytes.
Extracting 31/31: blib/script/ora_explain.bat
Installing C:\Perl\site\lib\auto\DBD\Oracle\dbdimp.h
Installing C:\Perl\site\lib\auto\DBD\Oracle\mk.pm
Installing C:\Perl\site\lib\auto\DBD\Oracle\ocitrace.h
Installing C:\Perl\site\lib\auto\DBD\Oracle\Oracle.bs
Installing C:\Perl\site\lib\auto\DBD\Oracle\Oracle.dll
Installing C:\Perl\site\lib\auto\DBD\Oracle\Oracle.exp
Installing C:\Perl\site\lib\auto\DBD\Oracle\Oracle.h
Installing C:\Perl\site\lib\auto\DBD\Oracle\Oracle.lib
Installing C:\Perl\site\lib\auto\DBD\Oracle\Oracle.pdb
Installing C:\Perl\html\bin\ora_explain.html
Installing C:\Perl\html\site\lib\Oraperl.html
Installing C:\Perl\html\site\lib\DBD\Oracle.html
Files found in blib\arch: installing files in blib\lib into architecture depende
nt library tree
Installing C:\Perl\site\lib\oraperl.ph
Installing C:\Perl\site\lib\Oraperl.pm
Installing C:\Perl\site\lib\DBD\Oracle.pm
Installing C:\Perl\site\lib\DBD\Oracle\GetInfo.pm
Installing C:\Perl\bin\ora_explain
Installing C:\Perl\bin\ora_explain.bat

There is no oracle client libraries currently available for your platform (MSWin         <-------error 1
32-x86-multi-thread) in http://ppm.activestate.com/libs/oracle-instant-client at
 install_script line 25.

unlink C:\Perl\bin\ora_explain
unlink C:\Perl\bin\ora_explain.bat
unlink C:\Perl\html\bin\ora_explain.html
unlink C:\Perl\html\site\lib\DBD\Oracle.html
unlink C:\Perl\html\site\lib\Oraperl.html
unlink C:\Perl\site\lib\DBD\Oracle.pm
unlink C:\Perl\site\lib\DBD\Oracle\GetInfo.pm
unlink C:\Perl\site\lib\Oraperl.pm
unlink C:\Perl\site\lib\auto\DBD\Oracle\Oracle.bs
unlink C:\Perl\site\lib\auto\DBD\Oracle\Oracle.dll
unlink C:\Perl\site\lib\auto\DBD\Oracle\Oracle.exp
unlink C:\Perl\site\lib\auto\DBD\Oracle\Oracle.h
unlink C:\Perl\site\lib\auto\DBD\Oracle\Oracle.lib
unlink C:\Perl\site\lib\auto\DBD\Oracle\Oracle.pdb
unlink C:\Perl\site\lib\auto\DBD\Oracle\dbdimp.h
unlink C:\Perl\site\lib\auto\DBD\Oracle\mk.pm
unlink C:\Perl\site\lib\auto\DBD\Oracle\ocitrace.h
unlink C:\Perl\site\lib\oraperl.ph
unlink C:\Perl\site\lib\auto\DBD\Oracle\.packlist

Can't remove directory C:\DOCUME~1\RobeMorg\LOCALS~1\Temp/DBD-Oracle-1-3652-1150   <-----error 2
251617 (Permission denied) at c:/Perl/site/lib/PPM/Repository.pm line 247
Error: (un)install script failed: 'C:\Perl\bin\perl.exe install_script'
ppm>

I have used activestate perl 5.8 with this pc (same os) before and had no problem with DBD-Oracle package.

Any help appreciated.
D
SOLUTION
Avatar of Kim Ryan
Kim Ryan
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of deNZity
deNZity

ASKER

I have both Oracle 10g and Oracle DevSuite installed but I will install the client as well and see what happens.

D
ASKER CERTIFIED SOLUTION
Avatar of FishMonger
FishMonger
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of deNZity

ASKER

Hi Fishmonger, did as you suggested however trying to install DBD-Oracle returned the following.


C:\Perl\PerlScripts>perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support enabled

cpan> install DBD-Oracle
CPAN: Storable loaded ok
Going to read C:\Perl\cpan\Metadata
  Database was generated on Wed, 14 Jun 2006 09:27:49 GMT
Warning: Cannot install DBD-Oracle, don't know what it is.
Try the command

    i /DBD-Oracle/

to find objects with matching identifiers.

cpan>


cpan> i /DBD-Oracle/
Distribution id = P/PY/PYTHIAN/DBD-Oracle-1.17.tar.gz
    CPAN_USERID  PYTHIAN (Pythian Remote DBA <pause@pythian.com>)
    CONTAINSMODS Oraperl DBD::Oracle::GetInfo DBD::Oracle


cpan>
cpan> install P/PY/PYTHIAN/DBD-Oracle-1.17.tar.gz
Avatar of deNZity

ASKER

Hi Fishmonger, I'm thinking of changing my handle to Greengrocer :)

did as above things looked good until this....
DBD-Oracle-1.17/Makefile.PL

  CPAN.pm: Going to build P/PY/PYTHIAN/DBD-Oracle-1.17.tar.gz

*** You're using Microsoft Visual C++ compiler or similar but
    the LIB and INCLUDE environment variables are not both set.

    You need to run the VCVARS32.BAT batch file that was supplied
    with the compiler before you can use it.

    A copy of vcvars32.bat can typically be found in the following
    directories under your Visual Studio install directory:
        Visual C++ 6.0:     vc98\bin
        Visual Studio .NET: vc7\bin

    Find it, run it, then retry this.

    If you think this error is not correct then just set the LIB and
    INCLUDE environment variables to some value to disable the check.
Running make test
  Make had some problems, maybe interrupted? Won't test
Running make install
  Make had some problems, maybe interrupted? Won't install

cpan>

I thought nmake would be doing the compiling, nmake.exe and nmake.err are in c:\perl\bin

Avatar of deNZity

ASKER

I should have mentioned that I dont have visual C++ compiler.
Avatar of deNZity

ASKER

points for effort