Thanks for the answers all.
I am trying to compile on Windows Server 2008 R2. No Linux, no sudo, no cat, no bash or any other Linux/Unix commands/shells.
And yes, I have administrative rights on that server and I am using the Administrator command prompt.
I overwrote the existing Perl installation with Strawberry 5.20 to have a current release. But it doesn't have a compiled DBD-Oracle either. It would be weird if it did. Because... how would some other guy know where my Oracle client has been installed?
I installed .net 1.1 and all the other stuff from the links above. After downloading some libraries from the internet or copying them from the server (eg OCI.dll) to the Perl/bin directory I now seem to be having a compiled Oracle.dll file. But...
install_driver(Oracle) failed: Can't load 'C:/xampp/perl/site/lib/auto
+/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:%1 is not a
+ valid Win32 application at C:/xampp/perl/lib/DynaLoader.pm line 190.
at (eval 8) line 3.
Compilation failed in require at (eval 8) line 3.
Perhaps a required shared library or dll isn't installed where expecte
+d
at C:/xampp/libs/DB.pm line 34.
Looks like the file is corrupt... dmake test failed as well. nmake doesn't work because I'm on Windows x64 and there's no x64 nmake unless you install Visual Studio. The file C:/xampp/perl/site/lib/auto/DBD/Oracle/Oracle.dll does exist. xampp Perl (and my installed Strawberry Perl) are 32bit anyway. | [reply] [d/l] |
strawberry 5.20 comes with DBD-Oracle installed
I overwrote the existing Perl installation with Strawberry 5.20 to have a current release.
An old strawberry? Did you delete existing one first or really overwrite? If you did not delete existing first, you should do that :)
But it doesn't have a compiled DBD-Oracle either. It would be weird if it did. Because... how would some other guy know where my Oracle client has been installed?
And thats nonsense
http://strawberryperl.com/release-notes/5.20.0.1-32bit.html#distlist says
107. DBD-Oracle 1.74
installing strawberryperl 5.20 means you're done
After downloading some libraries from the internet or copying them from the server (eg OCI.dll) to the Perl/bin directory I now seem to be having a compiled Oracle.dll file. But... Nope, thats not good , thats why you get error message
Looks like the file is corrupt...
Nope, its your mixing stuff ... if its not all in %PATH% it won't be found (or if the wrong thing is in the path first ... worst case its Re^2: Error Message "Can't load 'C:/Perl64/lib/auto/DBD/Oracle/Oracle.dll" While Connecting to Oracle (not valid))
strawberry 5.20 comes with DBD-Oracle installed
| [reply] |
Ok, it's now working. :)
I uninstalled Strawberry and deleted the whole Perl installation from my xampp directory. Unfortunately xampp doesn't install an uninstaller for single components so just deleting it now was not really clean. But well...
And my main problem was... I had a 64bit Oracle client. xampp is 32bit and the Perl version I used was 32bit as well. So uninstalling the 64bit Oracle Client and installing a 32bit did the trick.
Thanks a lot for your help all. :)
| [reply] |