Re: [Sqlrelay-discussion] Perl compilation error with 0.36.4
Brought to you by:
mused
|
From: Firstworks/4access <dav...@fi...> - 2005-11-04 14:44:36
|
Hmm, looks like DBD::SQLReay::SQL_CLOB and SQL_BLOB aren't defined. Try replacing /usr/lib/perl5/site_perl/5.6.1/DBD/SQLRelay.pm with the attached file and see if it works. David Muse dav...@fi... On Thu, 2005-11-03 at 10:56 +0000, David Edwards wrote: > I am trying to use SQL Relay via the DBI driver from a simple Perl script, > but have run into a problem. On our development environment - using SQL > Relay 0.33.1 - we have no problems. However, using SQL Relay 0.36.4 on our > production environment, trying to run the same script results in the > following Perl error: > > install_driver(SQLRelay) failed: Bareword "DBD::SQLRelay::SQL_CLOB" not > allowed while "strict subs" in use at > /usr/lib/perl5/site_perl/5.6.1/DBD/SQLRelay.pm line 282. > Bareword "DBD::SQLRelay::SQL_BLOB" not allowed while "strict subs" in use at > /usr/lib/perl5/site_perl/5.6.1/DBD/SQLRelay.pm line 282. > Bareword "DBD::SQLRelay::SQL_CLOB" not allowed while "strict subs" in use at > /usr/lib/perl5/site_perl/5.6.1/DBD/SQLRelay.pm line 294. > Bareword "DBD::SQLRelay::SQL_BLOB" not allowed while "strict subs" in use at > /usr/lib/perl5/site_perl/5.6.1/DBD/SQLRelay.pm line 294. > Compilation failed in require at (eval 4) line 3. > > Is this an issue with our Perl, or a problem with the SQL Relay code? If the > former, does anyone have any suggestions as to how to solve the problem? > > Thanks, > > David > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |