Skip Menu |

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

Report information
The Basics
Id: 79142
Status: new
Priority: 0/
Queue: DBD-Sybase

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

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



Subject: Patch to build DBD::Sybase 1.14 in Ubuntu Precise 64 bits with Freetds
Executing perl Makefile.PL dies with message: Running Makefile.PL Can't open : No existe el archivo o el directorio at Makefile.PL line 340, <IN> line 44. Regular expression in line 332 doesn't work in Ubuntu Precise 64 bits as package freetds-dev stores libraries in /usr/lib/x86_64-linux-gnu/ Here is the patch that solves the issue: --- Makefile.PL 2012-08-22 13:40:52.682250310 +0200 +++ DBD-Sybase-1.14/Makefile.PL 2012-08-22 13:41:35.449174598 +0200 @@ -329,7 +329,7 @@ opendir( DIR, $lib ); # reverse to pick up libsybct before libct... - my @files = reverse( grep( /lib(syb)?ct(64)?\./, readdir(DIR) ) ); + my @files = reverse( grep( /lib(syb|x86)?(ct|_)?(64)?\.*/, readdir(DIR) ) ); closedir(DIR); my $file; foreach (@files) {