Wednesday, February 5, 2014

Installing scmbug glue logic and getting "File "post-commit" cannot be opened No such file or directory"

Guess what?
You may have a partially installed scmbug and it left files in the hooks directory which make the tool think it's upgrading the install.
It's not finding the pre-commit file it expects and bails out...

So what should you do?
cd
rm -rf bin etc lib

Assuming that bin,etc, and lib directories only have the scmbug files in them.

Then try again to install the glue logic...

How to switch from the default perl for your bugzilla install

perl -pi -e 's@#\!/usr/bin/perl@#\!/usr/local/bin/perl@' *cgi *pl

Sunday, January 19, 2014

Trying to install Bugzilla-4.0.10 with Perl 5.18.x you might have a problem with DBI Version

Something like this may show up:
Checking for                  DBI (v1.614)    found v1.63 
Even though you have DBI-1.630 installed..

So you'll have to force it to use a version that it's not going to strip the last zero off of.
perl install-module.pl --shell
TIMB/DBI-1.628.tar.gz
exit

And voila!

Checking for                  DBI (v1.614)    ok: found v1.628