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.ba t
Installing C:\Perl\site\lib\auto\DBD\ Oracle\dbd imp.h
Installing C:\Perl\site\lib\auto\DBD\ Oracle\mk. pm
Installing C:\Perl\site\lib\auto\DBD\ Oracle\oci trace.h
Installing C:\Perl\site\lib\auto\DBD\ Oracle\Ora cle.bs
Installing C:\Perl\site\lib\auto\DBD\ Oracle\Ora cle.dll
Installing C:\Perl\site\lib\auto\DBD\ Oracle\Ora cle.exp
Installing C:\Perl\site\lib\auto\DBD\ Oracle\Ora cle.h
Installing C:\Perl\site\lib\auto\DBD\ Oracle\Ora cle.lib
Installing C:\Perl\site\lib\auto\DBD\ Oracle\Ora cle.pdb
Installing C:\Perl\html\bin\ora_expla in.html
Installing C:\Perl\html\site\lib\Orap erl.html
Installing C:\Perl\html\site\lib\DBD\ Oracle.htm l
Files found in blib\arch: installing files in blib\lib into architecture depende
nt library tree
Installing C:\Perl\site\lib\oraperl.p h
Installing C:\Perl\site\lib\Oraperl.p m
Installing C:\Perl\site\lib\DBD\Oracl e.pm
Installing C:\Perl\site\lib\DBD\Oracl e\GetInfo. pm
Installing C:\Perl\bin\ora_explain
Installing C:\Perl\bin\ora_explain.ba t
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.ba t
unlink C:\Perl\html\bin\ora_expla in.html
unlink C:\Perl\html\site\lib\DBD\ Oracle.htm l
unlink C:\Perl\html\site\lib\Orap erl.html
unlink C:\Perl\site\lib\DBD\Oracl e.pm
unlink C:\Perl\site\lib\DBD\Oracl e\GetInfo. pm
unlink C:\Perl\site\lib\Oraperl.p m
unlink C:\Perl\site\lib\auto\DBD\ Oracle\Ora cle.bs
unlink C:\Perl\site\lib\auto\DBD\ Oracle\Ora cle.dll
unlink C:\Perl\site\lib\auto\DBD\ Oracle\Ora cle.exp
unlink C:\Perl\site\lib\auto\DBD\ Oracle\Ora cle.h
unlink C:\Perl\site\lib\auto\DBD\ Oracle\Ora cle.lib
unlink C:\Perl\site\lib\auto\DBD\ Oracle\Ora cle.pdb
unlink C:\Perl\site\lib\auto\DBD\ Oracle\dbd imp.h
unlink C:\Perl\site\lib\auto\DBD\ Oracle\mk. pm
unlink C:\Perl\site\lib\auto\DBD\ Oracle\oci trace.h
unlink C:\Perl\site\lib\oraperl.p h
unlink C:\Perl\site\lib\auto\DBD\ Oracle\.pa cklist
Can't remove directory C:\DOCUME~1\RobeMorg\LOCAL S~1\Temp/D BD-Oracle- 1-3652-115 0 <-----error 2
251617 (Permission denied) at c:/Perl/site/lib/PPM/Repos itory.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
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.ba
Installing C:\Perl\site\lib\auto\DBD\
Installing C:\Perl\site\lib\auto\DBD\
Installing C:\Perl\site\lib\auto\DBD\
Installing C:\Perl\site\lib\auto\DBD\
Installing C:\Perl\site\lib\auto\DBD\
Installing C:\Perl\site\lib\auto\DBD\
Installing C:\Perl\site\lib\auto\DBD\
Installing C:\Perl\site\lib\auto\DBD\
Installing C:\Perl\site\lib\auto\DBD\
Installing C:\Perl\html\bin\ora_expla
Installing C:\Perl\html\site\lib\Orap
Installing C:\Perl\html\site\lib\DBD\
Files found in blib\arch: installing files in blib\lib into architecture depende
nt library tree
Installing C:\Perl\site\lib\oraperl.p
Installing C:\Perl\site\lib\Oraperl.p
Installing C:\Perl\site\lib\DBD\Oracl
Installing C:\Perl\site\lib\DBD\Oracl
Installing C:\Perl\bin\ora_explain
Installing C:\Perl\bin\ora_explain.ba
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.ba
unlink C:\Perl\html\bin\ora_expla
unlink C:\Perl\html\site\lib\DBD\
unlink C:\Perl\html\site\lib\Orap
unlink C:\Perl\site\lib\DBD\Oracl
unlink C:\Perl\site\lib\DBD\Oracl
unlink C:\Perl\site\lib\Oraperl.p
unlink C:\Perl\site\lib\auto\DBD\
unlink C:\Perl\site\lib\auto\DBD\
unlink C:\Perl\site\lib\auto\DBD\
unlink C:\Perl\site\lib\auto\DBD\
unlink C:\Perl\site\lib\auto\DBD\
unlink C:\Perl\site\lib\auto\DBD\
unlink C:\Perl\site\lib\auto\DBD\
unlink C:\Perl\site\lib\auto\DBD\
unlink C:\Perl\site\lib\auto\DBD\
unlink C:\Perl\site\lib\oraperl.p
unlink C:\Perl\site\lib\auto\DBD\
Can't remove directory C:\DOCUME~1\RobeMorg\LOCAL
251617 (Permission denied) at c:/Perl/site/lib/PPM/Repos
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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>
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.
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
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.P L
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
did as above things looked good until this....
DBD-Oracle-1.17/Makefile.P
CPAN.pm: Going to build P/PY/PYTHIAN/DBD-Oracle-1.
*** 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
ASKER
I should have mentioned that I dont have visual C++ compiler.
ASKER
points for effort
ASKER
D