I've been trying to migrate a bugzilla 2.20 install on a centos 4.6
system to bugzilla 3.2 on a FreeBSD 7.1 system. Both these
installations are running in VMs in Microsoft Hyper-V Server 2008.

Note that the only things I moved over from the old install were the
database, the data directory and the localconfig file (as the bugzilla
documentation indicated). The install of bugzilla is whatever Ports
does to install it with no modification aside from the required things
to migrate.

The problem is that when I get to the part of checksetup.pl where it
precompiles the templates, I get a segmentation fault. This appears to
happen no matter what I do. I remove the localconfig and data
directories, let checksetup recreate them, and I a segfault once I've
configured what is generated in the place of those deleted files and
run checksetup again. Same thing if I remove the templates directory.
If I remove the data directory and local config as well as the
templates directory, or any combination of removal thereof I still get
that segfault. Here's the error as it typically appears.

[root@wp /usr/local/www/data/bugzilla]# ./checksetup.pl
* This is Bugzilla 3.2 on perl 5.8.9
* Running on FreeBSD 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Tue Feb 3
08:42:50 PST 2009 admin@wp.comcast.net:/usr/obj/usr/src/sys/

Checking perl modules...
Checking for CGI.pm (v3.21) ok: found v3.42
Checking for TimeDate (v2.21) ok: found v2.22
Checking for PathTools (v0.84) ok: found v3.29
Checking for DBI (v1.41) ok: found v1.607
Checking for Template-Toolkit (v2.15) ok: found v2.20
Checking for Email-Send (v2.00) ok: found v2.194
Checking for Email-MIME (v1.861) ok: found v1.861
Checking for Email-MIME-Modifier (v1.442) ok: found v1.442

Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v4.00) ok: found v4.006
Checking for DBD-Oracle (v1.19) not found

The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.41
Checking for Chart (v1.0) ok: found v2.4.1
Checking for Template-GD (any) ok: found v1.56
Checking for GDTextUtil (any) ok: found v0.86
Checking for GDGraph (any) ok: found v1.44_01
Checking for XML-Twig (any) not found
Checking for MIME-tools (v5.406) ok: found v5.427
Checking for libwww-perl (any) not found
Checking for PatchReader (v0.9.4) ok: found v0.9.5
Checking for PerlMagick (any) not found
Checking for perl-ldap (any) not found
Checking for Authen-SASL (any) ok: found v2.12
Checking for RadiusPerl (any) not found
Checking for SOAP-Lite (any) not found
Checking for HTML-Parser (v3.40) ok: found v3.59
Checking for HTML-Scrubber (any) ok: found v0.08
Checking for Email-MIME-Attachment-Stripper (any) not found
Checking for Email-Reply (any) not found
Checking for mod_perl (v1.999022) not found
Checking for CGI.pm (v3.11) ok: found v3.42
************************************************** ********************
************************************************** ********************
* Certain Perl modules are not required by Bugzilla, but by *
* installing the latest version you gain access to additional *
* features. *
* *
* The optional modules you do not have installed are listed below, *
* with the name of the feature they enable. If you want to install *
* one of these modules, just run the appropriate command in the *
* "COMMANDS TO INSTALL" section. *
************************************************** ********************

************************************************** *********************
************************************************** *********************
* XML-Twig * Move Bugs Between Installations
* libwww-perl * Automatic Update Notifications
* PerlMagick * Optionally Convert BMP Attachments
to PNGs *
* perl-ldap * LDAP Authentication
* RadiusPerl * RADIUS Authentication
* SOAP-Lite * XML-RPC Interface
* Email-MIME-Attachment-Stripper * Inbound Email
* Email-Reply * Inbound Email
* mod_perl * mod_perl
************************************************** *********************

XML-Twig: /usr/local/bin/perl install-module.pl XML::Twig
libwww-perl: /usr/local/bin/perl install-module.pl LWP::UserAgent
PerlMagick: /usr/local/bin/perl install-module.pl Image::Magick
perl-ldap: /usr/local/bin/perl install-module.pl Net::LDAP
RadiusPerl: /usr/local/bin/perl install-module.pl Authen::Radius
SOAP-Lite: /usr/local/bin/perl install-module.pl SOAP::Lite
Email-MIME-Attachment-Stripper: /usr/local/bin/perl install-module.pl
Email::MIM E::Attachment::Stripper
Email-Reply: /usr/local/bin/perl install-module.pl Email::Reply
mod_perl: /usr/local/bin/perl install-module.pl mod_perl2

To attempt an automatic install of every required and optional module
with one command, do:

/usr/local/bin/perl install-module.pl --all

Reading ./localconfig...
Checking for DBD-mysql (v4.00) ok: found v4.006
Checking for MySQL (v4.1.2) ok: found v5.1.30

Removing existing compiled templates...
Precompiling templates...Segmentation fault: 11 (core dumped)

I'm at my wits end as google finds nothing useful, so any help is much