I've been trying to upgrade my test BZ installation from 3.0.9 to 3.4.4.
I'm running Windows Server 2003/IIS 6/MySql Ver 14.7 Distrib 4.1.18, for win32 (ia32)/perl v5.10.0.
On first running checksetup it reported a short list of perl libraries not installed - DateTime and some others. I found references that showed me I needed to do these from theory58S not ActiveState (or vice versa) so I disabled the one and successfully installed/upgraded them from the other.
Having done that I can run checksetup.pl successfully (output included below - *).
It gives a popup dialog because it can't find OCI.dll, but I think that's ok as it's for Oracle and I'm using MySql.
And it gives the inevitable "&Image::Magick::constant not defined." error which previous experience suggests is not important (though I would like to fix it).
testserver.pl http://localhost/bugzilla-test prints six lines, all TEST-OK.
Then when I try loading the home page (http://mycompany.co.uk/bugzilla-test) in a browser (IE or Opera) I get the following :
"
Software error:
Can't locate DateTime.pm in @INC (@INC contains: . lib C:/Programs/Perl/lib C:/Programs/Perl/site/lib) at Bugzilla/Util.pm line 53.
BEGIN failed--compilation aborted at Bugzilla/Util.pm line 53.
Compilation failed in require at Bugzilla/Hook.pm line 26.
BEGIN failed--compilation aborted at Bugzilla/Hook.pm line 26.
Compilation failed in require at Bugzilla/Config.pm line 37.
BEGIN failed--compilation aborted at Bugzilla/Config.pm line 37.
Compilation failed in require at Bugzilla.pm line 38.
BEGIN failed--compilation aborted at Bugzilla.pm line 38.
Compilation failed in require at C:\Programs\Bugzilla-test\index.cgi line 34.
BEGIN failed--compilation aborted at C:\Programs\Bugzilla-test\index.cgi line 34.
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
"
I've found references to this via Google and in this list but they all seem to refer to it happening during checksetup, and the answer seems to be to upgrade DateTime - well I've got a brand new DateTime (0.41) so that seems unlikely.
Can anyone advise ?
Unhappily,
Richard.
(*) Output from checksetup.pl
* This is Bugzilla 3.4.4 on perl 5.10.0
* Running on Win2003 Build 3790
Checking perl modules...
Checking for CGI.pm (v3.33) ok: found v3.41
Checking for Digest-SHA (any) ok: found v5.47
Checking for TimeDate (v2.21) ok: found v2.22
Checking for DateTime (v0.28) ok: found v0.41
Checking for DateTime-TimeZone (v0.79) ok: found v0.8301
Checking for DBI (v1.41) ok: found v1.607
Checking for Template-Toolkit (v2.22) ok: found v2.22
Checking for Email-Send (v2.16) ok: found v2.194
Checking for Email-MIME (v1.861) ok: found v1.862
Checking for Email-MIME-Encodings (v1.313) ok: found v1.313
Checking for Email-MIME-Modifier (v1.442) ok: found v1.443
Checking for URI (any) ok: found v1.37
Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v4.00) ok: found v4.005
Checking for DBD-Oracle (v1.19) ok: found v1.21
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
Checking for XML-Twig (any) ok: found v3.32
Checking for MIME-tools (v5.406) ok: found v5.427
Checking for libwww-perl (any) ok: found v5.814
Checking for PatchReader (v0.9.4) ok: found v0.9.5
Checking for PerlMagick (any) ok: found v6.4.8
Checking for perl-ldap (any) ok: found v0.39
Checking for Authen-SASL (any) not found
Checking for RadiusPerl (any) not found
Checking for SOAP-Lite (v0.710.06) ok: found v0.710.10
Checking for HTML-Parser (v3.40) ok: found v3.56
Checking for HTML-Scrubber (any) ok: found v0.08
Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.316
Checking for Email-Reply (any) ok: found v1.202
Checking for TheSchwartz (any) not found
Checking for Daemon-Generic (any) not found
Checking for mod_perl (v1.999022) not found
***********************************************************************
* OPTIONAL MODULES *
***********************************************************************
* 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. Below that table are the *
* commands to install each module. *
***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* Authen-SASL * SMTP Authentication *
* RadiusPerl * RADIUS Authentication *
* TheSchwartz * Mail Queueing *
* Daemon-Generic * Mail Queueing *
* mod_perl * mod_perl *
***********************************************************************
* Note For Windows Users *
***********************************************************************
* In order to install the modules listed below, you first have to run *
* the following command as an Administrator: *
* *
* ppm repo add theory58S http://cpan.uwinnipeg.ca/PPMPackages/10xx/
***********************************************************************
COMMANDS TO INSTALL OPTIONAL MODULES:
Authen-SASL: ppm install Authen-SASL
RadiusPerl: ppm install RadiusPerl
TheSchwartz: ppm install TheSchwartz
Daemon-Generic: ppm install Daemon-Generic
mod_perl: ppm install mod_perl
Reading ./localconfig...
OPTIONAL NOTE: If you want to be able to use the 'difference between two
patches' feature of Bugzilla (which requires the PatchReader Perl module
as well), you should install patchutils from:
http://cyberelk.net/tim/patchutils/
Checking for DBD-mysql (v4.00) ok: found v4.005
Checking for MySQL (v4.1.2) ok: found v4.1.18-nt
Removing existing compiled templates...
Precompiling templates...done.
Checking for GraphViz (any) ok: found
&Image::Magick::constant not defined. The required ImageMagick libraries are not
installed or not installed properly.
END failed--call queue aborted.
Richard Kerry
Colledia Control Engineer
Siemens IT Solutions and Services Ltd
Room 457 Drama Building, BBC Television Centre, Wood Lane, London, W12 7RJ
T: +44 (0)20 82259063 F: +44 (0)20 8576 8182 M: +44 (0)7921 244993
Email: richar...@siemens.com<mailto:richar...@siemens.com>
Website: www.siemens.co.uk/it-solutions<blocked::outbind://47/www.siemens.co.uk/it-solutions>
This e-mail contains confidential information and is for the exclusive use of the addressee/s. If you are not the addressee, then any distribution, copying or use of this e-mail is prohibited. If received in error, please advise the sender and delete it immediately. We accept no liability for any loss or damage suffered by any person arising from use of this e-mail.
Siemens IT Solutions and Services Limited
Registered No: 1203466 England
Registered Office: Faraday House, Sir William Siemens Square, Frimley, Camberley, GU16 8QD
Is DateTime.pm in any of those locations (relative to the Bugzilla
directory)? If not, where has it been installed? If so, are you sure the
webserver can read it?
Gerv
I've looked into this a bit more.
Having worked out what the "Can't locate" message was saying (*) I took a look at the folders indicated - and at my Path.
What I then found was that I had both Perl 5.8 and 5.10 installed. 5.8 in C:\Perl and 5.10 in C:\Programs\Perl. The one I expected was 5.10, so I assumed the possibility that packages were perhaps being installed into the wrong Perl, causing checksetup to be happy, but IIS not so.
So I uninstalled 5.8. Disaster - now neither the real Bugzilla nor the Test one work.
So now I've embarked on a series of checksetup runs to firstly clean out anything still dependant on 5.8, and then put back everything needed for Bugzilla 3.0.6. When that's done hopefully I'll be able to get the real installation running again and I can go back to the upgrade .....
Hah - the real one's up again.
Phew.
Patiently,
Richard.
* - and started reading everything in the mail archive relating to install/upgrade problems in the last year and a half !
> _______________________________________________
> support-bugzilla mailing list
> support-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/support-bugzilla
> PLEASE put support-...@lists.mozilla.org in the To:
> field when you reply.
>
With a few more checksetups and ppm installs I've now got my test system running BZ 3.4.4.
Now to sort of the customizations (minor ones to skins and css).
Then I can start on the real one.
Eventually,
Richard.