PPM fails on a Windows 2003 with a existing Oracle 10g installation

V

Vig

Fellow techies,

I have a windows 2003 machines on which I have installed Oracle 10g.

I need to install perl on the database server to use the backup scripts
that I previously created. I was able to successful install perl. The
"perl" executable runs without problems.

I now need to install the Mime-Lite module to enable notification
functionality in my perl scripts.

I tried using PPM to install the package but it fails with the below
error.

Perl lib version (v5.6.1) doesn't match executable version (v5.8.6) at
D:\oracle\product\10.1.0\em_1\perl\5.6.1\lib\MSWin32-x86/Config.pm line
21.
Compilation failed in require at
D:\oracle\product\10.1.0\em_1\perl\5.6.1\lib\MSWin32-x86/DynaLoader.pm
line 25.
BEGIN failed--compilation aborted at
D:\oracle\product\10.1.0\em_1\perl\5.6.1\lib\MSWin32-x86/DynaLoader.pm
line 25.
Compilation failed in require at
D:\oracle\product\10.1.0\em_1\perl\site\5.6.1\lib/Win32API/Registry.pm
line 10.
Compilation failed in require at
D:\oracle\product\10.1.0\em_1\perl\site\5.6.1\lib/Win32/TieRegistry.pm
line 26.
BEGIN failed--compilation aborted at
D:\oracle\product\10.1.0\em_1\perl\site\5.6.1\lib/Win32/TieRegistry.pm
line 26.
Compilation failed in require at C:\Perl\bin\ppm.bat line 15.
BEGIN failed--compilation aborted at C:\Perl\bin\ppm.bat line 15.



The library paths for the ppm executable seems to be pointing to the
Perl installation that comes with Oracle.


Any idea what I need to do to run PPM properly ? Also, is there some
post-installation step I am forgetting ?


Thanks in advance,
Vig
 
A

Andy Hassall

I have a windows 2003 machines on which I have installed Oracle 10g.

10g is particularly cheeky and modifies your PATH and particularly PERL5LIB to
point to its (old) version of Perl.
I tried using PPM to install the package but it fails with the below
error.

Perl lib version (v5.6.1) doesn't match executable version (v5.8.6) at
D:\oracle\product\10.1.0\em_1\perl\5.6.1\lib\MSWin32-x86/Config.pm line
21.

The library paths for the ppm executable seems to be pointing to the
Perl installation that comes with Oracle.

Any idea what I need to do to run PPM properly ? Also, is there some
post-installation step I am forgetting ?

Modify your environment, removing PERL5LIB, and ensure there isn't an entry in
PATH pointing to the Perl under the Oracle home, then wave fist at the Oracle
installer for doing such a thing in the first place.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,799
Latest member
Mercury_Dev

Latest Threads

Top