|
Posted by Sisyphus on September 3, 2005, 12:29 pm
Please log in for more thread options
> Hello All,
>
> I am trying to build DBD::mysql for Win32, but am having a few
> errors on the 'nmake test'. The compiler is MS VS.NET 2003, version of
> mysqlclient.lib is 4.1.13a and the version of perl is 5.8.5. We do not
> use ActiveState Perl, so I do not have the option of using the
> pre-built module (or perhaps I could as long as the correct version of
> mySQL library, 4.1.13a, is linked in).
Yes - I think you'll find that the ActiveState binary works fine with your
perl (assuming they've built their binary against a suitable version of the
mySQL library). ActiveState binaries will generally work fine with a perl
built using MS VS.NET 2003. Exceptions are possible - I know only of one
such exception (Win32::SharedFileOpen) ...... well .... it would be an
exception ..... except that last time I looked, ActiveState didn't have a
binary for it anyway :-)
> I am statically linking the
> mysqlclient.lib file in. This was built from source as the provided
> library created unresolved symbols when linking (and the solution
> suggested was to build from source). Below is an excerpt from the
> 'nmake test' which shows the error. I can post more information if
> required, but did not to make this post too long. Thank you for any
> insight into what this error message means.
>
> -brian
>
> ------------------
> tchopblanks.......ok
> tcommit...........ok
> tleaks............skipped
> all skipped: $ENV is not set or Proc::ProcessTable
> not installed
> t\ak-dbd.............ok 1/90DBD::mysql::FIELD_TYPE_STRING: Not defined
> at t\ak-dbd.t line 68
> t\ak-dbd.............dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 2-90
> Failed 89/90 tests, 1.11% okay
> t\akmisc.............ok 22/351Mysql::FIELD_TYPE_STRING: Not defined in
> Mysql and not autoloadable (last try fieldtypestring) at t\akmisc.t
> line 252
> t\akmisc.............dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 23-351
> Failed 329/351 tests, 6.27% okay
>
Can't really help much with that. Looks like 2 different (but probably
connected) complaints. First complaint is that DBD::mysql::FIELD_TYPE_STRING
(which is a perl constant) is not defined, and second complaint is that the
Mysql library constant FIELD_TYPE_STRING is not defined. One thing you could
do is to find out from the Mysql folk whether or not FIELD_TYPE_STRING
should exist in your particular version of the Mysql library. (Or maybe
there's something in a Mysql library Change log that will give you that
answer.)
Cheers,
Rob
|