This was done on Ubuntu 9.10, Bugzilla 3.4.6 and Testopia 2.3.1
Bugzilla
unzip tar to /var/www or similar, then do the
./checksetup.pl --check-modules
Manually install the missing required modules as described.
Then, if you get a
Attempt to reload DateTime.pm aborted.
Compilation failed in require 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 ./checksetup.pl line 101.
it seems to be the List:MoreUtils and DateTime::Locale that's missing:
/usr/bin/perl install-module.pl List::MoreUtils
/usr/bin/perl install-module.pl DateTime::Locale
Now, the
./checksetup.pl
works!
Edit the localconfig file a little. Set $db_pass and $webservergroup to what's
relevant for your system, 'bugs' and 'www-data' respectively in my case.
Again, do
./checksetup.pl
Time to access the web interface:
http://localhost/bugzilla-3.4.6/index.cgi
Installing Testopia
Unzip the tar to /var/www/bugzilla-3.4.6/
Then,
patch -p0 -i extensions/testopia/patch-3.4.4
./checksetup.pl
Install any missing required modules, e.g.
/usr/bin/perl install-module.pl JSON
/usr/bin/perl install-module.pl Text::Diff
/usr/bin/perl install-module.pl GD::Graph3d
./checksetup.pl
adds the missing tables. Now I can see the Testopia links at the bottom of the Bugzilla pages.
No comments:
Post a Comment