Thursday, July 23, 2009

Perl Perl Perl

Ok, so my latest endeavour is Perl. (Blog post may appear abbreviated, because 3 pages in, my computer "decided" to restart itself, ごめん).

What I hope to accomplish is to run Bugzilla. But I also want to do it in the most portable way possible. That is, have everything needed to run it under one directory (The thing I love most about Mac OS X is the .app structure), be able to pack it and go, and use it somewhere else. I run Windows. XP, Vista, and 7 Beta. Sometimes 2003 and 2008. I like Strawberry Perl. Why? It's a contender. I like that.

I'm sure this would all be easier if I just set it up on Linux. Yes? No? Maybe? But I want to do it this way. Yes, I figured from the start that it would be challenging. You see, for about two years now, I've had a book titled PERL IN A NUTSHELL sitting in my desk, not doing much. I think Perl is still a great language. It's often cited greatest strength is also its often cited greatest weakness: CPAN. But hey, I like CPAN. It's kind of like Linux. It's all Perl, but what most people -know- as Perl are the distributions (distros). You put together a bunch of core packages, and voila. Also, certain CPAN modules tend to get used more, developed more, supported more than others. Very Darwinian. This also leads to different coding philosophied in each of the core modules of a given application or distribution. Very care-free, but all in good spirit, man. Just like Linux, some people don't like this, and want a community developed OS with a more unified vision (I'm looking at you, Haiku).

Ok, so what do I need to do it?

1. I need: Bugzilla. (duh?) I'd like to use the current stable release. At that time, this means 3.2.4.
2. I need: Perl. (pretty hard without it.. that is, unless I unearth Bugzilla Tcl from Netscape vaults, but that would fail criterion #1)
3. I need: A database. MySQL is recommended. I'll try that first. Again, current is good. 5.1.36-community at time of writing. I also don't want to install MSI. I want unzip, and custom config at runtime.
4. I need: A Web server. Ooo kay. These like to get tangled up with the OS a lot, but let's pick options here.
a. IIS: Just, no.
b. Apache HTTPD: It gets big, doesn't it? I'll come back to it. I have a feeling it is likely to work, but I want something smaller, simpler.
c. Enter, Abyss Web Server X1: Can that actually be right? A distribution which is only slightly too big for a single density three-and-a-half-inch FLOPPY DISK? It's 1/8 the size of Apache HTTPD, and.. wow, it's a breeze to configure! Holy cow! Ok, so it's an exe installer, but I can then copy the directory anywhere, and run with a custom config file! Which is saved as a valid XML!

Bugzilla, Perl, Database, Web server. Ok. Now, I'm treading into uncharted territory, so I want something a little more reliable than bread crumbs in a forest. Light weight, local version control. Light weight, local version control.... aha!

Mercurial! What's this? Version 1.3 is out! Woo-hoo! Way to go, Team Selenic!

So. How do I begin? A working directory. Then I make it a repository.

C:/> mkdir bugzilla
C:/> cd bugzilla
C:/bugzilla/> hg init
C:/bugzilla/> tar zxf bugzilla-3.2.4.tar.gz
C:/bugzilla/> unzip mysql-noinstall-5.1.36-win32.zip
C:/bugzilla/> abwsx1.exe
C:/bugzilla/> mkdir strawberry
C:/bugzilla/> cd strawberry
C:/bugzilla/strawberry/> unzip ../strawberry-perl-5.10.0.4-portable-beta.zip
C:/bugzilla/strawberry/> cd ..
C:/bugzilla/> ren bugzilla-3.2.4 bugzilla
C:/bugzilla/> ren mysql-5.1.36 mysql
C:/bugzilla/> echo abyssws/log >> .hgignore
C:/bugzilla/> hg add
C:/bugzilla/> hg commit -m "First commit. Distributions laid down."

Then I followed yonder instructions: https://wiki.mozilla.org/Bugzilla:Win32Install
With a little bit of clean up for MySQL suggested by here: http://www.devside.net/guides/windows/mysql (Most of it seems to still be relevant for MySQL 5.1)

I'll stop for an aside and plug Notepad2: Why? First I fell in love with SciTE. Then I had an affair with Notepad++. Now I've settled down with Notepad2. It's pure, and simple. And it's installation strategy is unique. It sets itself as the debugger for notepad.exe. When you tell Windows to run notepad, it will run Notepad2. And it's fast. And simple. But I said that already. Not everything needs tabs.

Well, with a few changes to the abyss configuration:

diff -r cf895222dea6 abyssws/abyss.conf
--- a/abyssws/abyss.conf Thu Jul 23 04:38:41 2009 +0900
+++ b/abyssws/abyss.conf Fri Jul 24 10:24:48 2009 +0900
@@ -3,7 +3,7 @@
<server>
<parameters>
<root>
- c:\oldpath\abyssws\
+ C:\bugzilla\abyssws
</root>
<timeout>
30
@@ -71,6 +71,44 @@
1
</debuglevel>
</fastcgi>
+ <interpreters>
+ <interpreter>
+ <ext>
+ pl
+ </ext>
+ <ext>
+ cgi
+ </ext>
+ <interface>
+ 0
+ </interface>
+ <file>
+ C:\bugzilla\strawberry\perl\bin\perl.exe
+ </file>
+ <arguments>
+ -T
+ </arguments>
+ <checkexists>
+ yes
+ </checkexists>
+ <type>
+ 0
+ </type>
+ <updatepaths>
+ yes
+ </updatepaths>
+ </interpreter>
+ </interpreters>
+ <environment>
+ <var>
+ <name>
+ PERL5LIB
+ </name>
+ <value>
+ C:/bugzilla/strawberry/perl/site/lib
+ </value>
+ </var>
+ </environment>
</scripting>
<ssi>
<extensions>

We're set up to server Perl. Oh, and I always forget to add index.cgi to the list of indexes.

Next we set up the database according to the wiki...

C:/bugzilla/mysql/> copy my-medium.ini my.ini
C:/bugzilla/mysql/> hg add
C:/bugzilla/mysql/> hg commit -m "Configured. A little bit."
C:/bugzilla/mysql/> notepad my.ini
C:/bugzilla/mysql/> hg diff my.ini

diff -r e18c8c05c028 mysql/my.ini
--- a/mysql/my.ini Fri Jul 24 10:28:33 2009 +0900
+++ b/mysql/my.ini Fri Jul 24 10:30:57 2009 +0900
@@ -18,17 +18,17 @@
[client]
#password = your_password
port = 3306
-socket = /tmp/mysql.sock
+socket = ''

# Here follows entries for some specific programs

# The MySQL server
[mysqld]
port = 3306
-socket = /tmp/mysql.sock
+socket = ''
skip-locking
key_buffer_size = 16M
-max_allowed_packet = 1M
+max_allowed_packet = 4M
table_open_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K

C:/bugzilla/mysql/> mysqld --defaults-file=my.ini
C:/bugzilla/mysql/> mysql -u root -p

MySQL> update mysql.user SET Password = PASSWORD('bugzilla') WHERE User = 'root';
MySQL> create database bugs;
MySQL> create user 'bugs'@'localhost' identified by 'sockmonkey';
MySQL> use bugs;
MySQL> grant all on * to 'bugs'@'localhost';
MySQL> exit;

Ok, that's Perl, MySQL, and Web server, all lined up. Off to Bugzilla.
I set up the following script to set up my path and environment variables when working from the command line, much like the vcvars.bat from Microsoft:

C:/bugzilla/> type \temp\bugpath.bat

set PATH=C:\bugzilla\strawberry\c\bin;C:\bugzilla\strawberry\perl\bin;C:\bugzilla\mysql\bin;C:\Program Files\Mercurial;C:\WINDOWS\System32;C:\WINDOWS
set PERL5LIB=C:/bugzilla/strawberry/perl/site/lib

C:/bugzilla/> cd bugzilla
C:/bugzilla/bugzilla/> perl checksetup.pl --check-modules


* This is Bugzilla 3.2.4 on perl 5.10.0
* Running on WinXP/.Net Build 7100

Checking perl modules...
Checking for CGI.pm (v3.33) found v3.29
Checking for TimeDate (v2.21) not found
Checking for PathTools (v0.84) ok: found v3.29
Checking for DBI (v1.41) ok: found v1.607
Checking for Template-Toolkit (v2.15) not found
Checking for Email-Send (v2.16) not found
Checking for Email-MIME (v1.861) not found
Checking for Email-MIME-Encodings (v1.313) not found
Checking for Email-MIME-Modifier (v1.442) not found

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

The following Perl modules are optional:
Checking for GD (v1.20) not found
Checking for Chart (v1.0) not found
Checking for Template-GD (any) not found
Checking for GDTextUtil (any) not found
Checking for GDGraph (any) not found
Checking for XML-Twig (any) not found
Checking for MIME-tools (v5.406) not found
Checking for libwww-perl (any) ok: found v5.823
Checking for PatchReader (v0.9.4) not found
Checking for PerlMagick (any) not found
Checking for perl-ldap (any) not found
Checking for Authen-SASL (any) not found
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) not found
Checking for Email-MIME-Attachment-Stripper (any) not found
Checking for Email-Reply (any) not found
Checking for mod_perl (v1.999022) not found

* NOTE: You must run any commands listed below as Administrator.

***********************************************************************
* 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/
* *
* Then you have to do (also as an Administrator): *
* *
* ppm repo up theory58S *
* *
* Do that last command over and over until you see "theory58S" at the *
* top of the displayed list. *

***********************************************************************
***********************************************************************
* REQUIRED MODULES *
***********************************************************************
* Bugzilla requires you to install some Perl modules which are either *
* missing from your system, or the version on your system is too old. *
* *
* The latest versions of each module can be installed by running the *
* commands below. *
***********************************************************************
COMMANDS:

ppm install CGI.pm
ppm install TimeDate
ppm install Template-Toolkit
ppm install Email-Send
ppm install Email-MIME
ppm install Email-MIME-Encodings
ppm install Email-MIME-Modifier

***********************************************************************
* DATABASE ACCESS *
***********************************************************************
* In order to access your database, Bugzilla requires that the *
* correct "DBD" module be installed for the database that you are *
* running. *
* *
* Pick and run the correct command below for the database that you *
* plan to use with Bugzilla. *
***********************************************************************
COMMANDS:

PostgreSQL: ppm install DBD-Pg
Minimum version required: 1.45
MySQL: ppm install DBD-mysql
Minimum version required: 4.00
Oracle: ppm install DBD-Oracle
Minimum version required: 1.19

**********************************************************************
* 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. If you want to install *
* one of these modules, just run the appropriate command in the *
* "COMMANDS TO INSTALL" section. *
**********************************************************************

***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* GD * Graphical Reports, New Charts, Old Charts *
* Chart * New Charts, Old Charts *
* Template-GD * Graphical Reports *
* GDTextUtil * Graphical Reports *
* GDGraph * Graphical Reports *
* XML-Twig * Move Bugs Between Installations *
* MIME-tools * Move Bugs Between Installations *
* PatchReader * Patch Viewer *
* PerlMagick * Optionally Convert BMP Attachments to PNGs *
* perl-ldap * LDAP Authentication *
* Authen-SASL * SMTP Authentication *
* RadiusPerl * RADIUS Authentication *
* SOAP-Lite * XML-RPC Interface *
* HTML-Scrubber * More HTML in Product/Group Descriptions *
* Email-MIME-Attachment-Stripper * Inbound Email *
* Email-Reply * Inbound Email *
* mod_perl * mod_perl *
***********************************************************************
COMMANDS TO INSTALL:

GD: ppm install GD
Chart: ppm install Chart
Template-GD: ppm install Template-GD
GDTextUtil: ppm install GDTextUtil
GDGraph: ppm install GDGraph
XML-Twig: ppm install XML-Twig
MIME-tools: ppm install MIME-tools
PatchReader: ppm install PatchReader
PerlMagick: ppm install PerlMagick
perl-ldap: ppm install perl-ldap
Authen-SASL: ppm install Authen-SASL
RadiusPerl: ppm install RadiusPerl
SOAP-Lite: ppm install SOAP-Lite
HTML-Scrubber: ppm install HTML-Scrubber
Email-MIME-Attachment-Stripper: ppm install Email-MIME-Attachment-Stripper
Email-Reply: ppm install Email-Reply
mod_perl: ppm install mod_perl


Ok, no problem.

C:/bugzilla/bugzilla/> ppm install CGI.pm
C:/bugzilla/bugzilla/> ppm install TimeDate
C:/bugzilla/bugzilla/> ppm install Template-Toolkit
C:/bugzilla/bugzilla/> ppm install Email-Send
C:/bugzilla/bugzilla/> ppm install Email-MIME
C:/bugzilla/bugzilla/> ppm install Email-MIME-Encodings
C:/bugzilla/bugzilla/> ppm install Email-MIME-Modifier
C:/bugzilla/bugzilla/> ppm install DBD-mysql

That should do it, right?
NOTE: Strawberry perl ppm will install files into the directory "\site\lib", and "\lib". These are all HTML files, it seems.
I suspect this is not the desired behavior?

C:/bugzilla/bugzilla/> perl checksetup.pl --check-modules


* This is Bugzilla 3.2.4 on perl 5.10.0
* Running on WinXP/.Net Build 7100

Checking perl modules...
Checking for CGI.pm (v3.33) ok: found v3.37
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.604
Checking for Template-Toolkit (v2.15) ok: found v2.20
Checking for Email-Send (v2.16) ok: found v2.198
Checking for Email-MIME (v1.861) ok: found v1.863
Checking for Email-MIME-Encodings (v1.313) ok: found v1.313
Checking for Email-MIME-Modifier (v1.442) ok: found v1.444

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) not found

The following Perl modules are optional:
Checking for GD (v1.20) not found
Checking for Chart (v1.0) not found
Checking for Template-GD (any) not found
Checking for GDTextUtil (any) not found
Checking for GDGraph (any) not found
Checking for XML-Twig (any) not found
Checking for MIME-tools (v5.406) not found
Checking for libwww-perl (any) ok: found v5.823
Checking for PatchReader (v0.9.4) not found
Checking for PerlMagick (any) not found
Checking for perl-ldap (any) not found
Checking for Authen-SASL (any) not found
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) not found
Checking for Email-MIME-Attachment-Stripper (any) not found
Checking for Email-Reply (any) not found
Checking for mod_perl (v1.999022) not found

* NOTE: You must run any commands listed below as Administrator.

***********************************************************************
* 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/
* *
* Then you have to do (also as an Administrator): *
* *
* ppm repo up theory58S *
* *
* Do that last command over and over until you see "theory58S" at the *
* top of the displayed list. *

***********************************************************************
**********************************************************************
* 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. If you want to install *
* one of these modules, just run the appropriate command in the *
* "COMMANDS TO INSTALL" section. *
**********************************************************************

***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* GD * Graphical Reports, New Charts, Old Charts *
* Chart * New Charts, Old Charts *
* Template-GD * Graphical Reports *
* GDTextUtil * Graphical Reports *
* GDGraph * Graphical Reports *
* XML-Twig * Move Bugs Between Installations *
* MIME-tools * Move Bugs Between Installations *
* PatchReader * Patch Viewer *
* PerlMagick * Optionally Convert BMP Attachments to PNGs *
* perl-ldap * LDAP Authentication *
* Authen-SASL * SMTP Authentication *
* RadiusPerl * RADIUS Authentication *
* SOAP-Lite * XML-RPC Interface *
* HTML-Scrubber * More HTML in Product/Group Descriptions *
* Email-MIME-Attachment-Stripper * Inbound Email *
* Email-Reply * Inbound Email *
* mod_perl * mod_perl *
***********************************************************************
COMMANDS TO INSTALL:

GD: ppm install GD
Chart: ppm install Chart
Template-GD: ppm install Template-GD
GDTextUtil: ppm install GDTextUtil
GDGraph: ppm install GDGraph
XML-Twig: ppm install XML-Twig
MIME-tools: ppm install MIME-tools
PatchReader: ppm install PatchReader
PerlMagick: ppm install PerlMagick
perl-ldap: ppm install perl-ldap
Authen-SASL: ppm install Authen-SASL
RadiusPerl: ppm install RadiusPerl
SOAP-Lite: ppm install SOAP-Lite
HTML-Scrubber: ppm install HTML-Scrubber
Email-MIME-Attachment-Stripper: ppm install Email-MIME-Attachment-Stripper
Email-Reply: ppm install Email-Reply
mod_perl: ppm install mod_perl


Yay! Onwards...


C:/bugzilla/bugzilla/> perl checksetup.pl
* This is Bugzilla 3.2.4 on perl 5.10.0
* Running on WinXP/.Net Build 7100

Checking perl modules...
Checking for CGI.pm (v3.33) ok: found v3.37
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.604
Checking for Template-Toolkit (v2.15) ok: found v2.20
Checking for Email-Send (v2.16) ok: found v2.198
Checking for Email-MIME (v1.861) ok: found v1.863
Checking for Email-MIME-Encodings (v1.313) ok: found v1.313
Checking for Email-MIME-Modifier (v1.442) ok: found v1.444

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) not found

The following Perl modules are optional:
Checking for GD (v1.20) not found
Checking for Chart (v1.0) not found
Checking for Template-GD (any) not found
Checking for GDTextUtil (any) not found
Checking for GDGraph (any) not found
Checking for XML-Twig (any) not found
Checking for MIME-tools (v5.406) not found
Checking for libwww-perl (any) ok: found v5.823
Checking for PatchReader (v0.9.4) not found
Checking for PerlMagick (any) not found
Checking for perl-ldap (any) not found
Checking for Authen-SASL (any) not found
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) not found
Checking for Email-MIME-Attachment-Stripper (any) not found
Checking for Email-Reply (any) not found
Checking for mod_perl (v1.999022) not found

* NOTE: You must run any commands listed below as Administrator.

***********************************************************************
* 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/
* *
* Then you have to do (also as an Administrator): *
* *
* ppm repo up theory58S *
* *
* Do that last command over and over until you see "theory58S" at the *
* top of the displayed list. *

***********************************************************************
**********************************************************************
* 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. If you want to install *
* one of these modules, just run the appropriate command in the *
* "COMMANDS TO INSTALL" section. *
**********************************************************************

***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* GD * Graphical Reports, New Charts, Old Charts *
* Chart * New Charts, Old Charts *
* Template-GD * Graphical Reports *
* GDTextUtil * Graphical Reports *
* GDGraph * Graphical Reports *
* XML-Twig * Move Bugs Between Installations *
* MIME-tools * Move Bugs Between Installations *
* PatchReader * Patch Viewer *
* PerlMagick * Optionally Convert BMP Attachments to PNGs *
* perl-ldap * LDAP Authentication *
* Authen-SASL * SMTP Authentication *
* RadiusPerl * RADIUS Authentication *
* SOAP-Lite * XML-RPC Interface *
* HTML-Scrubber * More HTML in Product/Group Descriptions *
* Email-MIME-Attachment-Stripper * Inbound Email *
* Email-Reply * Inbound Email *
* mod_perl * mod_perl *
***********************************************************************
COMMANDS TO INSTALL:

GD: ppm install GD
Chart: ppm install Chart
Template-GD: ppm install Template-GD
GDTextUtil: ppm install GDTextUtil
GDGraph: ppm install GDGraph
XML-Twig: ppm install XML-Twig
MIME-tools: ppm install MIME-tools
PatchReader: ppm install PatchReader
PerlMagick: ppm install PerlMagick
perl-ldap: ppm install perl-ldap
Authen-SASL: ppm install Authen-SASL
RadiusPerl: ppm install RadiusPerl
SOAP-Lite: ppm install SOAP-Lite
HTML-Scrubber: ppm install HTML-Scrubber
Email-MIME-Attachment-Stripper: ppm install Email-MIME-Attachment-Stripper
Email-Reply: ppm install Email-Reply
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/


This version of Bugzilla contains some variables that you may want to
change and adapt to your local settings. Please edit the file
./localconfig and rerun checksetup.pl.

The following variables are new to ./localconfig since you last ran
checksetup.pl: create_htaccess, webservergroup, db_driver, db_host, db_name,
db_user, db_pass, db_port, db_sock, index_html, cvsbin, interdiffbin, diffpath,
site_wide_secret


C:/bugzilla/bugzilla/> mysqladmin -u root -p shutdown
C:/bugzilla/bugzilla/> hg add
C:/bugzilla/bugzilla/> hg commit -m "At localconfig creation"
C:/bugzilla/bugzilla/> notepad localconfig

C:/bugzilla/bugzilla/> hg diff localconfig

diff -r 8aaff6d0d11e bugzilla/localconfig
--- a/bugzilla/localconfig Fri Jul 24 11:11:06 2009 +0900
+++ b/bugzilla/localconfig Fri Jul 24 11:13:48 2009 +0900
@@ -10,7 +10,7 @@
# blocks.)
# If this is set to 1, Bugzilla will create these files if they don't exist.
# If this is set to 0, Bugzilla will not create these files.
-$create_htaccess = 1;
+$create_htaccess = 0;

# This is the group your web server runs as.
# If you have a Windows box, ignore this setting.
@@ -43,7 +43,7 @@
# If you use apostrophe (') or a backslash (\) in your password, you'll
# need to escape it by preceding it with a '\' character. (\') or (\)
# (Far simpler just not to use those characters.)
-$db_pass = '';
+$db_pass = 'sockmonkey';

# Sometimes the database server is running on a non-standard port. If that's
# the case for your database server, set this to the port number that your


C:/bugzilla/mysql/> mysqld --defaults-file=my.ini --console

C:/bugzilla/bugzilla/> perl checksetup.pl

* This is Bugzilla 3.2.4 on perl 5.10.0
* Running on WinXP/.Net Build 7100

Checking perl modules...
Checking for CGI.pm (v3.33) ok: found v3.37
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.604
Checking for Template-Toolkit (v2.15) ok: found v2.20
Checking for Email-Send (v2.16) ok: found v2.198
Checking for Email-MIME (v1.861) ok: found v1.863
Checking for Email-MIME-Encodings (v1.313) ok: found v1.313
Checking for Email-MIME-Modifier (v1.442) ok: found v1.444

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) not found

The following Perl modules are optional:
Checking for GD (v1.20) not found
Checking for Chart (v1.0) not found
Checking for Template-GD (any) not found
Checking for GDTextUtil (any) not found
Checking for GDGraph (any) not found
Checking for XML-Twig (any) not found
Checking for MIME-tools (v5.406) not found
Checking for libwww-perl (any) ok: found v5.823
Checking for PatchReader (v0.9.4) not found
Checking for PerlMagick (any) not found
Checking for perl-ldap (any) not found
Checking for Authen-SASL (any) not found
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) not found
Checking for Email-MIME-Attachment-Stripper (any) not found
Checking for Email-Reply (any) not found
Checking for mod_perl (v1.999022) not found

* NOTE: You must run any commands listed below as Administrator.

***********************************************************************
* 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/
* *
* Then you have to do (also as an Administrator): *
* *
* ppm repo up theory58S *
* *
* Do that last command over and over until you see "theory58S" at the *
* top of the displayed list. *

***********************************************************************
**********************************************************************
* 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. If you want to install *
* one of these modules, just run the appropriate command in the *
* "COMMANDS TO INSTALL" section. *
**********************************************************************

***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* GD * Graphical Reports, New Charts, Old Charts *
* Chart * New Charts, Old Charts *
* Template-GD * Graphical Reports *
* GDTextUtil * Graphical Reports *
* GDGraph * Graphical Reports *
* XML-Twig * Move Bugs Between Installations *
* MIME-tools * Move Bugs Between Installations *
* PatchReader * Patch Viewer *
* PerlMagick * Optionally Convert BMP Attachments to PNGs *
* perl-ldap * LDAP Authentication *
* Authen-SASL * SMTP Authentication *
* RadiusPerl * RADIUS Authentication *
* SOAP-Lite * XML-RPC Interface *
* HTML-Scrubber * More HTML in Product/Group Descriptions *
* Email-MIME-Attachment-Stripper * Inbound Email *
* Email-Reply * Inbound Email *
* mod_perl * mod_perl *
***********************************************************************
COMMANDS TO INSTALL:

GD: ppm install GD
Chart: ppm install Chart
Template-GD: ppm install Template-GD
GDTextUtil: ppm install GDTextUtil
GDGraph: ppm install GDGraph
XML-Twig: ppm install XML-Twig
MIME-tools: ppm install MIME-tools
PatchReader: ppm install PatchReader
PerlMagick: ppm install PerlMagick
perl-ldap: ppm install perl-ldap
Authen-SASL: ppm install Authen-SASL
RadiusPerl: ppm install RadiusPerl
SOAP-Lite: ppm install SOAP-Lite
HTML-Scrubber: ppm install HTML-Scrubber
Email-MIME-Attachment-Stripper: ppm install Email-MIME-Attachment-Stripper
Email-Reply: ppm install Email-Reply
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 v5.1.36-community-log

Use of uninitialized value $current_max_allowed in numeric lt (<) at Bugzilla
/DB/Mysql.pm line 249.
Use of uninitialized value $_[0] in join or string at Bugzilla/Install/Util.pm l
ine 358.
Use of uninitialized value $replacement in pattern match (m//) at Bugzilla/Insta
ll/Util.pm line 118.
Use of uninitialized value $replacement in pattern match (m//) at Bugzilla/Insta
ll/Util.pm line 118.
Use of uninitialized value $replacement in substitution (s///) at Bugzilla/Insta
ll/Util.pm line 121.
WARNING: You need to set the max_allowed_packet parameter in your MySQL
configuration to at least 3276750. Currently it is set to .
You can set this parameter in the [mysqld] section of your MySQL
configuration file.

Building Schema object from database...
Adding new table bz_schema ...
Initializing the new Schema storage...
Use of uninitialized value $version in int at Bugzilla/DB/Schema.pm line 2426.
Storable binary image v18.86 more recent than I am (v2.7) at ..\..\lib\Storable.
pm (autosplit into ..\..\lib\ale\thaw.al) line 415, at Bugzilla/DB/Schema.pm lin
e 2426


And here we are. Stuck.

1 comment:

  1. Did you find solution for your storable module problem? I am facing the similar problem.

    ReplyDelete