5.10.1 isn't exactly new, try a newer one :)
Which compiler are you using?
$ perl -V:cc cc='gcc';
I suggest you get perl-5.14.2 and compile it using gcc , install it privately (do not install over system perl), then try installing mysql
These might be of interest:
http://twiki.org/cgi-bin/view/Codev/SolarisInstallCookbookPerlModules
http://search.cpan.org/~aburlison/Solaris-PerlGcc-1.3/pod/perlgcc.pod
Setting up perlbrew for Linux and Solaris
Compile Error for Sun Solaris 10 module IO
Problem Compiling under Solaris using DBI and DBD::DB2
In reply to Re: DBD::mysql on Solaris 10
by Anonymous Monk
in thread DBD::mysql on Solaris 10
by brainiacger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |