Thank you
I forgot to report back here but in the mean time I was given the following patch to DBD::ODBC which I know was also applied to a few other DBDs:
package MY;
use strict;
use Config;
sub constants {
my $self = shift;
require DBI::DBD;
# The problem with stawberry perl is it sets INC on the command li
+ne
# and that overrides INC in this Makefile unless we set it here.
my $old_constants = $self->SUPER::constants();
my $new_constants;
foreach my $line ( split(/\n/, $old_constants) ) {
if ( $line =~ /^INC = .*strawberry.*/ ) {
print qq(Strawberry Perl found; adjusting the INC variable
+;\n);
$line = $line . q( -I) . DBI::DBD::dbd_dbi_arch_dir();
print qq(INC is now $line\n);
}
$new_constants .= $line . qq(\n);
}
return $new_constants;
}
Could you tell me in what version of strawberry perl I will be able to remove the above?
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|