Skip Menu |

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

Report information
The Basics
Id: 89816
Status: open
Priority: 0/
Queue: DBD-Sybase

People
Owner: Nobody in particular
Requestors: agilbrt [...] gmail.com
Cc:
AdminCc:

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



Subject: Bug in Makefile.PL in DBD::Sybase
Date: Mon, 28 Oct 2013 11:35:59 -0400
To: bug-DBD-Sybase [...] rt.cpan.org
From: Anthony Gilbert <agilbrt [...] gmail.com>
Hi there, I had a problem installing DBD::Sybase on Mac OSX 10.8.5. I have solved the issue for my case and thought it might help you. The DBD::Sybase version I have is DBD-Sybase-1.15 and the Makefile.PL file has the CVS $Id of # $Id: Makefile.PL,v 1.48 2012/10/26 19:11:54 mpeppler Exp $ The symptom of the bug was that it would crash with Can't find any Sybase libraries in /opt/local/lib or /opt/local/lib64 at Makefile.PL line 155, <IN> line 44. when running Makefile.PL despite the fact that I have Macports' "freetds @0.92.405_0 (active)" package installed, the SYBASE environment contained '/opt/local' and the /opt/local/lib directory contains, among other files, libct.4.dylib,libct.a, libct.dylib and libct.la The bug stems from the lines if ($^O =~ /win/i) { @libdir = ( 'dll' ); } Under Mac OSX, $^O is 'darwin', 'darwin' matches /win/i so @libdir gets ('dll'), /opt/local/dll does not exist so checkLib() shits itself because it can't open the directory. My fix. Comment out the "if ($^O =~ /win/i) {...}" lines and everything works. I assume the /win/ test is meant to test for Windows but that test is broken. The checkLib() method could also croak() or warn() if the first directory that it finds is not readable instead of die'ing. -- Anthony Gilbert -------- agilbrt gmail.com
Subject: [rt.cpan.org #89816]
Date: Mon, 6 Jul 2015 13:44:11 +0200
To: bug-DBD-Sybase [...] rt.cpan.org
From: Florian Heyer <info [...] heyer-it.de>
This bug in Makefile.PL is still existing when building on Mac OSX (darwin). Line 143 if ($^O =~ /win/i) { should be changed to if ($^O =~ /mswin/i) { Otherwise the if-statement matches on Mac OSX which is identified by ‘darWIN’. Regards -- Florian Heyer - info@heyer-it.de
Subject: [rt.cpan.org #89816]
Date: Thu, 30 Mar 2017 15:21:30 -0400
To: bug-DBD-Sybase [...] rt.cpan.org
From: Christopher Cooke <chris.s.cooke [...] gmail.com>
This bug STILL exists as of March 30, 2017, about 3 1/2 years after being reported by Anthony Gilbert. This seems to be because the version has not changed since then either, so I guess this project is no longer being supported. -- Where am I?