Sorry for reviving likely dead thread.
Trouble is still there. Example runs fine on both my home Linux box and FreeBSD server, most modules are installed user-locally from cpan. On linux (debian) I get a good picture, file size 23Kb, on freebsd I get an empty picture, file size 680B
perl -d shows differences after $cc->prepare: |x $cc shows different minimum_width and minimum_height values for components.