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: 21936
Status: resolved
Priority: 0/
Queue: DBD-Oracle

People
Owner: Nobody in particular
Requestors: dmcr [...] Princeton.EDU
Cc:
AdminCc:

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



MIME-Version: 1.0
X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_00,DNS_FROM_RFC_POST
Content-Class: urn:content-classes:message
Received-SPF: pass (x1.develooper.com: local policy)
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C6E985.C7919CF3"
X-MS-Tnef-Correlator:
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 0AE004D80C6 for <bug-DBD-Oracle [...] rt.cpan.org>; Fri, 6 Oct 2006 16:27:16 -0400 (EDT)
Received: (qmail 20618 invoked by alias); 6 Oct 2006 20:27:15 -0000
Received: from postoffice02.Princeton.EDU (HELO Princeton.EDU) (128.112.130.38) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 06 Oct 2006 13:27:13 -0700
Received: from smtpserver1.Princeton.EDU (smtpserver1.Princeton.EDU [128.112.129.65]) by Princeton.EDU (8.13.8/8.13.8) with ESMTP id k96KR6qm019852 for <bug-DBD-Oracle [...] rt.cpan.org>; Fri, 6 Oct 2006 16:27:06 -0400 (EDT)
Received: from EXCLUSTER.pu.win.princeton.edu (exchange2.pu.win.Princeton.EDU [128.112.129.249]) by smtpserver1.Princeton.EDU (8.12.9/8.12.9) with ESMTP id k96KR2ov004183 for <bug-DBD-Oracle [...] rt.cpan.org>; Fri, 6 Oct 2006 16:27:06 -0400 (EDT)
Delivered-To: cpan-bug+dbd-oracle [...] diesel.bestpractical.com
Subject: DBD-Oracle incompatibility with MM_Unix v1.5
Return-Path: <dmcr [...] Princeton.EDU>
Thread-Index: AcbphdTcM4WhRAi8SVaURrcBioZnog==
X-Original-To: bug-DBD-Oracle [...] rt.cpan.org
X-Spam-Check-BY: la.mx.develooper.com
Date: Fri, 6 Oct 2006 16:27:00 -0400
X-MS-Has-Attach: yes
Thread-Topic: DBD-Oracle incompatibility with MM_Unix v1.5
Message-Id: <5927226A3D285F40AB95CA2A3D2369D473CB5F [...] EXCLUSTER.pu.win.princeton.edu>
X-Mimeole: Produced By Microsoft Exchange V6.5
To: <bug-DBD-Oracle [...] rt.cpan.org>
From: "Dennis McRitchie" <dmcr [...] Princeton.EDU>
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: us-ascii
Content-Length: 1748
Download (untitled) / with headers
text/plain 1.7k
Hi, v1.18 has an incompatibility with ExtUtils::MM_Unix v1.50 (invoked by ExtUtils::MakeMaker). ExtUtils::MM_Unix v1.50 now requires that $self->{LD_RUN_PATH} be defined and not be an empty string so that the Makefile created will specify its use during the build. This is required by both SUPER::const_loadlibs and SUPER::dynamic_lib. Hence I thought it simplest to define/modify $self->{LD_RUN_PATH} before calling SUPER::const_loadlibs. This fix should be compatible with the old MM_Unix code as well. So the new code, after applying the attached patch, looks like this: sub const_loadlibs { my $self = shift; # ExtUtils::MM_Unix v1.50 (invoked by ExtUtils::MakeMaker) # requires that $self->{LD_RUN_PATH} be defined and not be # an empty string for Makefile to specify its use during the # build. This is required by both SUPER::const_loadlibs # and SUPER::dynamic_lib. hence it is best if we define # or modify $self->{LD_RUN_PATH} here *before* calling # SUPER::const_loadlibs. # edit LD_RUN_PATH ... my ($ldrp) = $self->{LD_RUN_PATH}; # remove redundant /lib or /usr/lib as it can cause problems $ldrp =~ s!:(/usr)?/lib$!! if $ldrp; # if it's empty then set it manually #Lincoln: if pick the right library path my $libdir = main::ora_libdir(); $ldrp ||= "$OH/$libdir:$OH/rdbms/$libdir"; $self->{LD_RUN_PATH} = $ldrp; local($_) = $self->SUPER::const_loadlibs(@_); print "Ignoring LD_RUN_PATH='$ENV{LD_RUN_PATH}' in environment\n" if $ENV{LD_RUN_PATH}; print "LD_RUN_PATH=$ldrp\n"; return $_; } Hope this helps. Dennis Dennis McRitchie Computational Science and Engineering Support (CSES) Academic Services Department Office of Information Technology Princeton University
Content-Description: DBD-Oracle-1.18.patch
content-type: application/octet-stream; name="DBD-Oracle-1.18.patch"
content-disposition: attachment; filename="DBD-Oracle-1.18.patch"
Content-Transfer-Encoding: base64
Content-Length: 1339

Message body is not shown because sender requested not to inline it.

MIME-Version: 1.0
In-Reply-To: <5927226A3D285F40AB95CA2A3D2369D473CB5F [...] EXCLUSTER.pu.win.princeton.edu>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-27207-1165853684-702.21936-0-0 [...] rt.cpan.org>
References: <5927226A3D285F40AB95CA2A3D2369D473CB5F [...] EXCLUSTER.pu.win.princeton.edu>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 27
Patch included in DBD::1.19


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.