Single post

Installing BugZilla 3.4.1 on Dreamhost

Here’s a quick guide on installing Bugzilla 3.4.1 on Dreamhost.

Fire up a shell and follow these steps (these command are from in the directory of the domain you want to install Bugzilla in.

mkdir bugs
cd bugs
tar zxf bugzilla-STABLE.tar.gz
rm bugzilla-STABLE.tar.gz
mv bugzilla*/* .

Next, follow setups 6, 7, 8 and 9 from the Bugzilla Dreamhost wiki.

Now you will need to manually install Module::Build and DateTime::Locale for Bugzilla to work. To do this, first get the latest CPAN download links for the modules.

For Module::Build, you’ll find the download link here:
For DateTime::Locale, you’ll find the download at:

I’ve used the latest available builds at the time of this writing for the example below. Next, follow these steps in the Bugzilla installation directory:

mkdir tmp
cd tmp
export PERL5LIB
tar xzf Module-Build-0.31.tar.gz
cd Module-Build-0.31
make test
make install
cd ..
rm -rf Module-Build*

# To install DateTime::Locale
tar zxf DateTime-Locale-0.43.tar.gz
cd DateTime-Locale-0.43
make test
make install
cd ../..
rm -rf tmp

Re-run ./ and then fix permissions as in the Dreamhost Bugzilla wiki page:

for i in docs graphs images js skins; do find $i -type d -exec chmod o+rx {} \; ; done
for i in jpg gif css js png html rdf xul; do find . -name \*.$i -exec chmod o+r {} \; ; done
find . -name .htaccess -exec chmod o+r {} \;
chmod o+x . data data/webdot

You should now have a working Bugzilla installation at

October 8th, 2009 at 7:22 am

Hi Mikhail,

Thanks for the write-up.

I’m trying to install a specific version of (3.33 – as the one I’ve installed 3.47 is blacklisted against Bugzilla 3.4.2) following your instructions but at the “make install” section I’m getting:

All tests successful, 1 subtest skipped.
Files=20, Tests=519, 6 wallclock secs ( 0.78 cusr + 0.16 csys = 0.94 CPU)

[hoffa]$ make install
Warning: You do not have permissions to install into /usr/lib/perl/5.8 at /usr/share/perl/5.8/ExtUtils/ line 114.
Cannot forceunlink /usr/share/perl/5.8/ Permission denied at /usr/share/perl/5.8/File/ line 924
make: *** [pure_perl_install] Error 13

[hoffa]$ echo $PERL5LIB

Any ideas? As you can see, I have set the PERL5LIB variable, but it still seems to be trying to install in the wrong place…



October 9th, 2009 at 5:12 pm

Hi Chris,

For I guess you could simply use the script. Running this in the bugzilla install directory should be enough:

$ perl CGI

October 12th, 2009 at 2:40 pm

Hi Mikhail,

Thanks for the tip… I had done that before, but it kept installing a newer version of that was incompatible. I decided to clear everything out (including the ~/.cpan directory) and follow your instructions from scratch.

I think I’ve managed to track down the issue: the server was killing some of the install script as being too processor intensive. I used “nice -n 12” to make the install use less CPU, and it looks like it all worked a charm!

I’m going to update the Wiki to suggest using “nice”.

Thanks again for your help and for putting this up.




theme by teslathemes