Bugzilla on Mac OS X

I'm setting up Bugzilla to run on my MacBook Pro. I've been debating on whether or not I should host it on my hosting services. Since I can't always guarantee net access, I decided to try it on my laptop. We'll see if that was smart or not.

There may be a few other things that need to be done that I had already done as part of other configurations. Please let me know of any oversights.

My configuration is:

  • Mac OS X 10.6.2
  • Built-in Apache2 (2.2)
  • Built-in Perl (5.10.0)
  • MySQL (Ver 14.14 Distrib 5.1.39) from http://mysql.com
  • Bugzilla 3.6rc1

NOTE: I could not get Bugzilla 3.4.6 working due to the "Undef to trick_taint at Bugzilla/Util.pm line 62" issue. 3.6rc1 seems to be working without an issue.

Here is what I had to do:

  1. Bugzilla installation location: /Library/WebServer/Documents/bugzilla.
  2. cd to the Bugzilla installation directory and issue the ./checksetup.pl command. (You can do that as frequently as you want in the following steps and it should tell you what else you need to do to finish the installation.)
  3. Perl Modules installed (not in the order that I executed them in):
    sudo perl -MCPAN -e 'install "YAML"'
    sudo perl -MCPAN -e 'install "Bundle::Bugzilla"'
    sudo perl -MCPAN -e 'install "Chart::Base"'
    sudo perl -MCPAN -e 'install "Daemon::Generic"'
    sudo perl -MCPAN -e 'install "DateTime::Locale"'
    sudo perl -MCPAN -e 'install "DateTime::TimeZone"'
    sudo perl -MCPAN -e 'install "Email::MIME"'
    sudo perl -MCPAN -e 'install "Email::MIME::Attachment::Stripper"'
    sudo perl -MCPAN -e 'install "Email::MIME::Encodings"'
    sudo perl -MCPAN -e 'install "Email::Reply"'
    sudo perl -MCPAN -e 'install "Email::Send"'
    sudo perl -MCPAN -e 'install "GD"'
    sudo perl -MCPAN -e 'install "GD::Graph"'
    sudo perl -MCPAN -e 'install "GD::Text"'
    sudo perl -MCPAN -e 'install "HTML::Scrubber"'
    sudo perl -MCPAN -e 'install "Image::Magick"'
    sudo perl -MCPAN -e 'install "JSON::RPC"'
    sudo perl -MCPAN -e 'install "List::MoreUtils"'
    sudo perl -MCPAN -e 'install "PatchReader"'
    sudo perl -MCPAN -e 'install "SOAP::Lite"'
    sudo perl -MCPAN -e 'install "Template::Plugin::GD::Image"'
    sudo perl -MCPAN -e 'install "Test::Taint"'
    sudo perl -MCPAN -e 'install "XML::Twig"'
  4. Setup the Bugzilla accounts in MySQL as required.
  5. Installed PatchReader from http://cyberelk.net/tim/data/patchutils/stable/
  6. Added the following to /usr/local/mysql/etc/my.cnf:
    [mysqld]
    max_allowed_packet=4M

    Remember to restart MySQL after updating this file.
  7. Created /etc/apache2/other/bugzilla.conf with the following content:
    <Directory "/Library/WebServer/Documents/bugzilla">
    AddHandler cgi-script .cgi
    Options +Indexes +ExecCGI
    DirectoryIndex index.cgi
    AllowOverride Limit
    </Directory>

Comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options