Saturday, 8 August 2009

Installing Bugzilla

When installing the latest version of Bugzilla (3.4.1), running ./ gave a number of modules that required installing and suggested that they could all be installed using the command:
/usr/bin/perl --all
However, running this command gave me more errors:
checking for gcc… cc checking for C compiler default output… configure: error: C compiler cannot create executables check `config.log’ for details. Can’t exec “/usr/bin/make": No such file or directory at /usr/share/perl/5.10/ line 7698. SKIMO/FCGI-0.67.tar.gz /usr/bin/make – NOT OK 
These errors were generated because there is no compiler present to install the required modules. To compile modules it is a good idea to install build-essential:
apt-get install build-essential 
It would also be a good idea to install pg_config which comes with the package libpq-dev as this will also be needed later:
apt-get install libpq-dev 
It’s now possible to update CPAN by first accessing a CPAN shell:
perl -MCPAN -e shell 
Once inside the CPAN shell you can update CPAN with the following commands:
install Bundle::CPAN
reload cpan
You should now be able to successfully install the required modules with the original command:
/usr/bin/perl --all

No comments:

Post a Comment