Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

DBD-Oracle install problem in Windows machine

by novicepl (Initiate)
on Nov 01, 2006 at 15:44 UTC ( #581693=perlquestion: print w/replies, xml ) Need Help??
novicepl has asked for the wisdom of the Perl Monks concerning the following question:

Getting Errors during DBD-Oracle installation in windows machine. DBD-Oracle1.17.zip file is from activestate.com windows archive.
C:\temp\DBD-Oracle>ppm install DBD-Oracle.ppd ==================== Install 'DBD-Oracle' version 1.17 in ActivePerl 5.8.0.804. ==================== Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +dbdimp.h Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +mk.pm Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +ocitrace.h Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +Oracle.bs Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +Oracle.dll Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +Oracle.exp Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +Oracle.h Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +Oracle.lib Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +Oracle.pdb Installing C:\Program Files\Active Perl\Perl\site\lib\oraperl.ph Installing C:\Program Files\Active Perl\Perl\site\lib\Oraperl.pm Installing C:\Program Files\Active Perl\Perl\site\lib\DBD\Oracle.pm Installing C:\Program Files\Active Perl\Perl\site\lib\DBD\Oracle\GetIn +fo.pm Installing C:\Program Files\Active Perl\Perl\bin\ora_explain Installing C:\Program Files\Active Perl\Perl\bin\ora_explain.bat 'C:\Program' is not recognized as an internal or external command, operable program or batch file. unlink C:\Program Files\Active Perl\Perl\bin\ora_explain unlink C:\Program Files\Active Perl\Perl\bin\ora_explain.bat unlink C:\Program Files\Active Perl\Perl\site\lib\DBD\Oracle.pm unlink C:\Program Files\Active Perl\Perl\site\lib\DBD\Oracle\GetInfo.p +m unlink C:\Program Files\Active Perl\Perl\site\lib\Oraperl.pm unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\Orac +le.bs unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\Orac +le.dll unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\Orac +le.exp unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\Orac +le.h unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\Orac +le.lib unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\Orac +le.pdb unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\dbdi +mp.h unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\mk.p +m unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ocit +race.h unlink C:\Program Files\Active Perl\Perl\site\lib\oraperl.ph unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\.pac +klist Can't remove directory C:\TEMP/DBD-Oracle-1-2568: Permission denied at + C:/Progra m Files/Active Perl/Perl/site/lib/PPM/Repository.pm line 239 Error: system() returned non-zero value (256): 'C:\Program Files\Activ +e Perl\Perl\bin\perl.exe install_script' C:\temp\DBD-Oracle>ppm3-bin install DBD-Oracle.ppd ==================== Install 'DBD-Oracle' version 1.17 in ActivePerl 5.8.0.804. ==================== Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +dbdimp.h Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +mk.pm Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +ocitrace.h Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +Oracle.bs Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +Oracle.dll Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +Oracle.exp Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +Oracle.h Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +Oracle.lib Installing C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ +Oracle.pdb Installing C:\Program Files\Active Perl\Perl\site\lib\oraperl.ph Installing C:\Program Files\Active Perl\Perl\site\lib\Oraperl.pm Installing C:\Program Files\Active Perl\Perl\site\lib\DBD\Oracle.pm Installing C:\Program Files\Active Perl\Perl\site\lib\DBD\Oracle\GetIn +fo.pm Installing C:\Program Files\Active Perl\Perl\bin\ora_explain Installing C:\Program Files\Active Perl\Perl\bin\ora_explain.bat 'C:\Program' is not recognized as an internal or external command, operable program or batch file. unlink C:\Program Files\Active Perl\Perl\bin\ora_explain unlink C:\Program Files\Active Perl\Perl\bin\ora_explain.bat unlink C:\Program Files\Active Perl\Perl\site\lib\DBD\Oracle.pm unlink C:\Program Files\Active Perl\Perl\site\lib\DBD\Oracle\GetInfo.p +m unlink C:\Program Files\Active Perl\Perl\site\lib\Oraperl.pm unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\Orac +le.bs unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\Orac +le.dll unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\Orac +le.exp unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\Orac +le.h unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\Orac +le.lib unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\Orac +le.pdb unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\dbdi +mp.h unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\mk.p +m unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\ocit +race.h unlink C:\Program Files\Active Perl\Perl\site\lib\oraperl.ph unlink C:\Program Files\Active Perl\Perl\site\lib\auto\DBD\Oracle\.pac +klist Can't remove directory C:\TEMP/DBD-Oracle-1-2372: Permission denied at + C:/Progra m Files/Active Perl/Perl/site/lib/PPM/Repository.pm line 239 Error: system() returned non-zero value (256): 'C:\Program Files\Activ +e Perl\Perl\bin\perl.exe install_script' C:\temp\DBD-Oracle>

edit: code tags from holli

Replies are listed 'Best First'.
Re: DBD-Oracle install problem in Windows machine
by Paladin (Priest) on Nov 01, 2006 at 22:56 UTC

    I've not tried to install it myself, but from reading the output you posted, it seems that there may be a problem with the install path having spaces in one of the dir names.

    'C:\Program' is not recognized as an internal or external command, operable program or batch file.

    You might try installing Perl in c:\Perl, then installing the module again and see if that fixes the problem.

      That'd be my guess. My experience on Windows is that if you install Perl in a path with spaces, you're asking for trouble
Re: DBD-Oracle install problem in Windows machine
by Melly (Hermit) on Nov 01, 2006 at 17:00 UTC

    "install DBD-Oracle" works for me (using ppm) - what's with the ".ppd"?

    Tom Melly, tom@tomandlu.co.uk
      DBD-Oracle.ppd

        Err, not sure what you mean there... What I mean is that you should try "install DBD-Oracle" not "install DBD-Oracle.ppd"

        Tom Melly, tom@tomandlu.co.uk

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://581693]
Approved by Corion
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2017-10-17 01:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (218 votes). Check out past polls.

    Notices?