Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DBD-Oracle CPAN distribution.

Report information
The Basics
Id: 84530
Status: resolved
Priority: 0/
Queue: DBD-Oracle

People
Owner: Nobody in particular
Requestors: alfred.nathaniel [...] six-group.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.60
Fixed in: (no value)



Subject: Makefile.PL does not find sqlplus on SLES 11
CPAN installation of DBD-Oracle-1.60 fails on Suse Enterprise 11 SP2 because sqlplus is now found. Apparently the Perl version 5.10 does not handle pragma filetest access correctly. Workaround is to try plain modebits first and ACLs only as fallback. Here is the patch to Makefile.PL: *** Makefile.PL-orig Mon Apr 1 17:42:12 2013 --- Makefile.PL Tue Apr 9 15:48:00 2013 *************** *** 1510,1520 **** sub find_bin{ - use filetest 'access'; my $bin = shift; my $path_sep = $Config{path_sep}; foreach (split(/\Q$path_sep/, $ENV{PATH})){ return "$_/$bin" if -x "$_/$bin"; } return undef; } --- 1510,1523 ---- sub find_bin{ my $bin = shift; my $path_sep = $Config{path_sep}; foreach (split(/\Q$path_sep/, $ENV{PATH})){ return "$_/$bin" if -x "$_/$bin"; + { + use filetest 'access'; + return "$_/$bin" if -x "$_/$bin"; + } } return undef; }
patched in master, will be part of v1.63_00. Thanks!
in v1.64