mariuz / perl-dbd-firebird

Perl DBI driver for Firebird
15 stars 9 forks source link

DBD::Firebird Install Problem #34

Closed mariuz closed 12 years ago

mariuz commented 12 years ago

Your email address was the first listed in the README file downloaded using CPAN.

I've been successfully using DBD::Interbase with various Firebird DBMS installs for the last five years, and wanted to use the latest DBD::Firebird for some of the bug fixes and new features.

The CPAN install failed and I attempted a manual make. This was my result:

root@tek2:~/.cpan/build/DBD-Firebird-1.00-s5CVME# perl Makefile.PL Possible unintended interpolation of @fid in string at inc/FirebirdMaker.pm line 211. Possible unintended interpolation of @fid in string at inc/FirebirdMaker.pm line 211. Possible unintended interpolation of @fid in string at inc/FirebirdMaker.pm line 211. Possible unintended interpolation of @fid in string at inc/FirebirdMaker.pm line 211. Bareword found where operator expected at inc/FirebirdMaker.pm line 258, near "/opt" (Might be a runaway multi-line // string starting on line 211) Global symbol "$dir" requires explicit package name at inc/FirebirdMaker.pm line 211. Global symbol "$dir" requires explicit package name at inc/FirebirdMaker.pm line 211. Global symbol "$find_what" requires explicit package name at inc/FirebirdMaker.pm line 211. Global symbol "@fid" requires explicit package name at inc/FirebirdMaker.pm line 211. Global symbol "@fid" requires explicit package name at inc/FirebirdMaker.pm line 211. Global symbol "$find_what" requires explicit package name at inc/FirebirdMaker.pm line 211. Global symbol "@fid" requires explicit package name at inc/FirebirdMaker.pm line 211. Global symbol "$find_what" requires explicit package name at inc/FirebirdMaker.pm line 211. Global symbol "$dir" requires explicit package name at inc/FirebirdMaker.pm line 211. Global symbol "@fid" requires explicit package name at inc/FirebirdMaker.pm line 211. Global symbol "$dir" requires explicit package name at inc/FirebirdMaker.pm line 211. Global symbol "$dir" requires explicit package name at inc/FirebirdMaker.pm line 211. Global symbol "$find_what" requires explicit package name at inc/FirebirdMaker.pm line 211. inc/FirebirdMaker.pm has too many errors. Compilation failed in require at Makefile.PL line 84. BEGIN failed--compilation aborted at Makefile.PL line 87.

Any help would be greatly appreciated.

Thank You, Jim Hapenney

JimHapenney commented 12 years ago

Using: Debian 4.0 Perl 5.8.8 Firebird 2.5

stefansbv commented 12 years ago

This looks like a Perl version problem. I see the same error with 5.8.9, but not with 5.10.1, even if the README states that the minimum version is 5.8.2.

mariuz commented 12 years ago

Ok we can upgrade the requirements to 5.10.1 the stable version in debian stable

http://packages.debian.org/squeeze/perl

JimHapenney commented 12 years ago

Many thanks guys. Looks like this is the case, i.e. the upgrade was successful on a dedicated test machine running Debian 6 and Perl 5.10.1. I cannot upgrade my live server because it's a VM node at TekTonic.net, and Perl 5.10x doesn't seem to play nice with Debian 4, and the folks at Tektonic tell me that I need to configure a whole new server for Debian 6, which makes since. When I get around to it, I'll post a followup.

Thanks Again

mariuz commented 12 years ago

One option is to compile the perl in /opt , anyway i will close the bug