Issue installing DBD::Oracle on Win32

Issue installing DBD::Oracle on Win32

am 08.05.2007 21:40:20 von Martin Bassie

Hi,


Using ActivePerl 5.8.0.806, Windows Server 2003.

Downloaded the DBD-Oracle-1.17.zip from http://ppm.activestate.com/PPMPackages/zips/8xx-builds-only/ Windows/. I'm trying to install DBD::Oracle from disk (using `ppm install DBD-Oracle.ppd`), and I'm experiencing the following problem. The package extracts without a hitch, installs most files into the site/lib dirs and shows the license agreement. After accepting the terms, I'm receiving the error below, and the installation is rolled back.


Do you accept the terms of this license ? (y/n) : y
Bizarre SvTYPE [24] at ./ioic line 116.
unlink D:\Perl\bin\ora_explain
unlink D:\Perl\bin\ora_explain.bat
unlink D:\Perl\site\lib\DBD\Oracle.pm
unlink D:\Perl\site\lib\DBD\Oracle\GetInfo.pm
unlink D:\Perl\site\lib\Oraperl.pm
unlink D:\Perl\site\lib\auto\DBD\Oracle\Oracle.bs
unlink D:\Perl\site\lib\auto\DBD\Oracle\Oracle.dll
unlink D:\Perl\site\lib\auto\DBD\Oracle\Oracle.exp
unlink D:\Perl\site\lib\auto\DBD\Oracle\Oracle.h
unlink D:\Perl\site\lib\auto\DBD\Oracle\Oracle.lib
unlink D:\Perl\site\lib\auto\DBD\Oracle\Oracle.pdb
unlink D:\Perl\site\lib\auto\DBD\Oracle\dbdimp.h
unlink D:\Perl\site\lib\auto\DBD\Oracle\mk.pm
unlink D:\Perl\site\lib\auto\DBD\Oracle\ocitrace.h
unlink D:\Perl\site\lib\oraperl.ph
unlink D:\Perl\site\lib\auto\DBD\Oracle\.packlist
Can't remove directory C:\DOCUME~1\LA_GTI~1.INT\LOCALS~1\Temp\1/DBD-Oracle-1-137
12-1178636177: Permission denied at D:/Perl/site/lib/PPM/Repository.pm line 247
Error: system() returned non-zero value (65280): 'D:\Perl\bin\perl.exe
install_script'


What's odd is that on other servers (same Perl version), connected to the internet, I can install DBD::Oracle using ppm and the http repository without any problems - except that it installs the 1.15 version of DBD::Oracle, rather than the 1.17 version available for download in the PPM repository.

Am I doing anything wrong? Can I get my hands on the activestate windows zip file without having to manually compile the whole thing? Due to vendor restrictions in a dependant application, upgrading the perl version might not be an option.


-Martin


_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Issue installing DBD::Oracle on Win32

am 09.05.2007 20:34:26 von Martin Bassie

Recording this for posterity.

Apparently 5.8.0.806 has issues with forking. Modifying the package so it doesn't fork() when downloading DLLs lets the install finish successfully. Not sure if there are compatibility issues (figure there should be, as the 1.15 version is downloaded from the ppm repository), but so far it's working alright.



-M


-----Original Message-----
From: activeperl-bounces@listserv.ActiveState.com on behalf of Martin Bassie
Sent: Tue 2007/05/08 21:40
To: activeperl@listserv.ActiveState.com
Subject: Issue installing DBD::Oracle on Win32


Hi,


Using ActivePerl 5.8.0.806, Windows Server 2003.

Downloaded the DBD-Oracle-1.17.zip from http://ppm.activestate.com/PPMPackages/zips/8xx-builds-only/ Windows/. I'm trying to install DBD::Oracle from disk (using `ppm install DBD-Oracle.ppd`), and I'm experiencing the following problem. The package extracts without a hitch, installs most files into the site/lib dirs and shows the license agreement. After accepting the terms, I'm receiving the error below, and the installation is rolled back.


Do you accept the terms of this license ? (y/n) : y
Bizarre SvTYPE [24] at ./ioic line 116.
unlink D:\Perl\bin\ora_explain
unlink D:\Perl\bin\ora_explain.bat
unlink D:\Perl\site\lib\DBD\Oracle.pm
unlink D:\Perl\site\lib\DBD\Oracle\GetInfo.pm
unlink D:\Perl\site\lib\Oraperl.pm
unlink D:\Perl\site\lib\auto\DBD\Oracle\Oracle.bs
unlink D:\Perl\site\lib\auto\DBD\Oracle\Oracle.dll
unlink D:\Perl\site\lib\auto\DBD\Oracle\Oracle.exp
unlink D:\Perl\site\lib\auto\DBD\Oracle\Oracle.h
unlink D:\Perl\site\lib\auto\DBD\Oracle\Oracle.lib
unlink D:\Perl\site\lib\auto\DBD\Oracle\Oracle.pdb
unlink D:\Perl\site\lib\auto\DBD\Oracle\dbdimp.h
unlink D:\Perl\site\lib\auto\DBD\Oracle\mk.pm
unlink D:\Perl\site\lib\auto\DBD\Oracle\ocitrace.h
unlink D:\Perl\site\lib\oraperl.ph
unlink D:\Perl\site\lib\auto\DBD\Oracle\.packlist
Can't remove directory C:\DOCUME~1\LA_GTI~1.INT\LOCALS~1\Temp\1/DBD-Oracle-1-137
12-1178636177: Permission denied at D:/Perl/site/lib/PPM/Repository.pm line 247
Error: system() returned non-zero value (65280): 'D:\Perl\bin\perl.exe
install_script'


What's odd is that on other servers (same Perl version), connected to the internet, I can install DBD::Oracle using ppm and the http repository without any problems - except that it installs the 1.15 version of DBD::Oracle, rather than the 1.17 version available for download in the PPM repository.

Am I doing anything wrong? Can I get my hands on the activestate windows zip file without having to manually compile the whole thing? Due to vendor restrictions in a dependant application, upgrading the perl version might not be an option.


-Martin


_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs