OK - running through this comedy on a clean virtualbox I think I've made some progress. All the "additional perl packages" listed in the wiki installed cleanly apart from DBD::mysql. For this one, I had to "look DBD::mysql" from the CPAN prompt and then manually edit the Makefile to remove the parts that it was complaining about; ie invalid option 't' and target=386 not recognised. After this the 'make' command worked and I could 'make install' successfully.
Now the bin/build-perl-modules.pl ran through (with my changes as documented above) OK. -- This message posted from opensolaris.org