Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Software Error] Can't locate object method "new" via package "Bugzilla::Template" at Bugzilla/Template.pm line 977

850 views
Skip to first unread message

Praveen Kumar

unread,
Jul 5, 2012, 7:19:14 AM7/5/12
to support-...@lists.mozilla.org
Hi,

Yesterday I downloaded latest stable version (4.2.1) of bugzilla and I
resolved all dependencies even checksetup.pl also run successfully I also
checked testagent.cgi which also show OK. but when I use index.cgi, It is
showing error which is in subject line.

I searched in google and found one suggestion "may be code corrupted" but I
downloaded again and did md5sum on file, every thing looks as expected.

Can someone please tell me why that behaviour I am getting.

Thanks and Regards,
Praveen Kumar
http://fedoraproject.org/wiki/User:Kumarpraveen
http://fedoraproject.org/
http://kumar-pravin.blogspot.com

Thorsten Schöning

unread,
Jul 5, 2012, 8:25:07 AM7/5/12
to support-...@lists.mozilla.org
Guten Tag Praveen Kumar,
am Donnerstag, 5. Juli 2012 um 13:19 schrieben Sie:

> Can someone please tell me why that behaviour I am getting.

Code corruption is the most possible answer, else your error would be
recognized by everyone else. May the corruption doesn't occur in your
installation direcotry, but in memory because of mod_perl using
different versions of Bugzilla the same time or stuff like that. Do
you use mod_perl? Did you restart httpd after the upgrade?

On which file did you run md5sum, Bugzilla/Template.pm or the whole
downloaded tarball? Even if the downloaded tarball may be ok,
corruption can occur on extracting or copying over.

Did you downloaded a complete installation tarball or only some kind
of path or upgrade? How did you apply whatever you downloaded?

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning E-Mail:Thorsten....@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon.............030-2 1001-310
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow

Praveen Kumar

unread,
Jul 5, 2012, 12:32:54 PM7/5/12
to Thorsten Schöning, support-...@lists.mozilla.org
On Thu, Jul 5, 2012 at 5:55 PM, Thorsten Schöning <tscho...@am-soft.de>wrote:


> Code corruption is the most possible answer, else your error would be
> recognized by everyone else. May the corruption doesn't occur in your
> installation direcotry, but in memory because of mod_perl using
> different versions of Bugzilla the same time or stuff like that. Do
> you use mod_perl? Did you restart httpd after the upgrade?
>
I didn't do any upgrade, it was my first time to run bugzilla, and yes I am
using mod_perl,

>
> On which file did you run md5sum, Bugzilla/Template.pm or the whole
> downloaded tarball? Even if the downloaded tarball may be ok,
> corruption can occur on extracting or copying over.
>
> I downloaded it form
http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.2.1.tar.gz and
after extract I put it to /var/www/html, I run checksetup.pl from there and
also testagent.cgi on browser. but when I use "http://localhost/bugzilla',
it was showing that error.

After extraction file md5sum is different from tarball md5sum.

Is there some other url from where I have to download.


> Did you downloaded a complete installation tarball or only some kind
> of path or upgrade? How did you apply whatever you downloaded?
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning E-Mail:Thorsten....@AM-SoFT.de
> AM-SoFT IT-Systeme http://www.AM-SoFT.de/
>
> Telefon.............030-2 1001-310
> Fax...............05151- 9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow
>
> _______________________________________________
> support-bugzilla mailing list
> support-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/support-bugzilla
> PLEASE put support-...@lists.mozilla.org in the To: field when you
> reply.
>



--

Thorsten Schöning

unread,
Jul 5, 2012, 1:05:21 PM7/5/12
to support-...@lists.mozilla.org
Guten Tag Praveen Kumar,
am Donnerstag, 5. Juli 2012 um 18:32 schrieben Sie:

> I didn't do any upgrade, it was my first time to run bugzilla, and yes I am
> using mod_perl,

Please post the output of checksetup.pl and even the first lines of
your Bugzilla/Template.pm until the following lines.

# Pseudo-constant.
sub SAFE_URL_REGEXP {
my $safe_protocols = join('|', SAFE_PROTOCOLS);
return qr/($safe_protocols):[^\s<>\"]+[\w\/]/i;
}

> Is there some other url from where I have to download.

The download looks ok to me.

Praveen Kumar

unread,
Jul 5, 2012, 1:22:12 PM7/5/12
to Thorsten Schöning, support-...@lists.mozilla.org
On Thu, Jul 5, 2012 at 10:35 PM, Thorsten Schöning <tscho...@am-soft.de>wrote:

> Guten Tag Praveen Kumar,
> am Donnerstag, 5. Juli 2012 um 18:32 schrieben Sie:
>
> > I didn't do any upgrade, it was my first time to run bugzilla, and yes I
> am
> > using mod_perl,
>
> Please post the output of checksetup.pl and even the first lines of
> your Bugzilla/Template.pm until the following lines.
>
# Pseudo-constant.
> sub SAFE_URL_REGEXP {
> my $safe_protocols = join('|', SAFE_PROTOCOLS);
> return qr/($safe_protocols):[^\s<>\"]+[\w\/]/i;
> }
>

[output]

* This is Bugzilla 4.2.1 on perl 5.14.2
* Running on Linux 3.4.4-3.fc17.x86_64 #1 SMP Tue Jun 26 20:54:56 UTC 2012

Checking perl modules...
Checking for CGI.pm (v3.51) ok: found v3.59
Checking for Digest-SHA (any) ok: found v5.61
Checking for TimeDate (v2.21) ok: found v2.24
Checking for DateTime (v0.28) ok: found v0.70
Checking for DateTime-TimeZone (v0.71) ok: found v1.46
Checking for DBI (v1.614) ok: found v1.617
Checking for Template-Toolkit (v2.22) ok: found v2.24
Checking for Email-Send (v2.00) ok: found v2.198
Checking for Email-MIME (v1.904) ok: found v1.910
Checking for URI (v1.37) ok: found v1.60
Checking for List-MoreUtils (v0.22) ok: found v0.33
Checking for Math-Random-ISAAC (v1.0.1) ok: found v1.004

Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v4.001) ok: found v4.020
Checking for DBD-SQLite (v1.29) ok: found v1.37
Checking for DBD-Oracle (v1.19) not found

The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.44
Checking for Chart (v2.1) ok: found v2.4.5
Checking for Template-GD (any) ok: found v1.56
Checking for GDTextUtil (any) ok: found v0.86
Checking for GDGraph (any) ok: found v1.44
Checking for MIME-tools (v5.406) ok: found v5.503
Checking for libwww-perl (any) ok: found v6.03
Checking for XML-Twig (any) ok: found v3.40
Checking for PatchReader (v0.9.6) ok: found v0.9.6
Checking for perl-ldap (any) ok: found v0.44
Checking for Authen-SASL (any) ok: found v2.15
Checking for RadiusPerl (any) ok: found v0.20
Checking for SOAP-Lite (v0.712) ok: found v0.714
Checking for JSON-RPC (any) ok: found v1.03
Checking for JSON-XS (v2.0) ok: found v2.32
Checking for Test-Taint (any) ok: found v1.04
Checking for HTML-Parser (v3.67) ok: found v3.69
Checking for HTML-Scrubber (any) ok: found v0.09
Checking for Encode (v2.21) ok: found v2.42_01
Checking for Encode-Detect (any) not found
Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.316
Checking for Email-Reply (any) ok: found v1.202
Checking for TheSchwartz (any) ok: found v1.10
Checking for Daemon-Generic (any) ok: found v0.82
Checking for mod_perl (v1.999022) ok: found v2.000005
Checking for Apache-SizeLimit (v0.96) found v0.95
Checking for mod_headers (any) ok
Checking for mod_expires (any) ok
Checking for mod_env (any) ok
***********************************************************************
* OPTIONAL MODULES *
***********************************************************************
* Certain Perl modules are not required by Bugzilla, but by *
* installing the latest version you gain access to additional *
* features. *
* *
* The optional modules you do not have installed are listed below, *
* with the name of the feature they enable. Below that table are the *
* commands to install each module. *
***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* Encode-Detect * Automatic charset detection for text attachments *
* Apache-SizeLimit * mod_perl *
***********************************************************************
COMMANDS TO INSTALL OPTIONAL MODULES:

Encode-Detect: /usr/bin/perl install-module.pl Encode::Detect
Apache-SizeLimit: /usr/bin/perl install-module.pl Apache2::SizeLimit


To attempt an automatic install of every required and optional module
with one command, do:

/usr/bin/perl install-module.pl --all

Reading ./localconfig...
Checking for DBD-mysql (v4.001) ok: found v4.020
Checking for MySQL (v5.0.15) ok: found v5.5.24

WARNING: You need to set the max_allowed_packet parameter in your MySQL
configuration to at least 3276750. Currently it is set to 1048576.
You can set this parameter in the [mysqld] section of your MySQL
configuration file.

Removing existing compiled templates...
Precompiling templates...done.
Fixing file permissions...

Now that you have installed Bugzilla, you should visit the 'Parameters'
page (linked in the footer of the Administrator account) to ensure i
is set up as you wish - this includes setting the 'urlbase' option to
the correct URL.
checksetup.pl complete.

[/output]

[Template.pm]
package Bugzilla::Template;

use strict;

use Bugzilla::Bug;
use Bugzilla::Constants;
use Bugzilla::Hook;
use Bugzilla::Install::Requirements;
use Bugzilla::Install::Util qw(install_string template_include_path
include_languages);
use Bugzilla::Keyword;
use Bugzilla::Util;
use Bugzilla::User;
use Bugzilla::Error;
use Bugzilla::Search;
use Bugzilla::Status;
use Bugzilla::Token;

use Cwd qw(abs_path);
use MIME::Base64;
use Date::Format ();
use File::Basename qw(basename dirname);
use File::Find;
use File::Path qw(rmtree mkpath);
use File::Spec;
use IO::Dir;
use List::MoreUtils qw(firstidx);
use Scalar::Util qw(blessed);

use base qw(Template);

use constant FORMAT_TRIPLE => '%19s|%-28s|%-28s';
use constant FORMAT_3_SIZE => [19,28,28];
use constant FORMAT_DOUBLE => '%19s %-55s';
use constant FORMAT_2_SIZE => [19,55];

[/Template.pm]


>
> > Is there some other url from where I have to download.
>
> The download looks ok to me.
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning E-Mail:Thorsten....@AM-SoFT.de
> AM-SoFT IT-Systeme http://www.AM-SoFT.de/
>
> Telefon.............030-2 1001-310
> Fax...............05151- 9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow
>

Thorsten Schöning

unread,
Jul 5, 2012, 4:18:20 PM7/5/12
to support-...@lists.mozilla.org
Guten Tag Praveen Kumar,
am Donnerstag, 5. Juli 2012 um 19:22 schrieben Sie:

> [output]

Looks ok to me. Where and how did you install the necessary perl
modules? Using install-modules.pl, CPAN or Fedora's package manager?
Maybe some modules can't be found, although I would expect other
errors in this case, telling about the missing modules.

Praveen Kumar

unread,
Jul 5, 2012, 9:00:10 PM7/5/12
to Thorsten Schöning, support-...@lists.mozilla.org
On Fri, Jul 6, 2012 at 1:48 AM, Thorsten Schöning <tscho...@am-soft.de>wrote:

> Guten Tag Praveen Kumar,
> am Donnerstag, 5. Juli 2012 um 19:22 schrieben Sie:
>
> > [output]
>
> Looks ok to me. Where and how did you install the necessary perl
> modules? Using install-modules.pl, CPAN or Fedora's package manager?
> Maybe some modules can't be found, although I would expect other
> errors in this case, telling about the missing modules.
>
I installed some modules using fedora package manager and some using CPAN,
The modules which are not installed are optional one and (Encode-Detect
required perl 5.15), my perl version is 5.12. I think if there is some
module error it show show during checktest.

>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning E-Mail:Thorsten....@AM-SoFT.de
> AM-SoFT IT-Systeme http://www.AM-SoFT.de/
>
> Telefon.............030-2 1001-310
> Fax...............05151- 9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow
>

Thorsten Schöning

unread,
Jul 6, 2012, 4:25:21 AM7/6/12
to support-...@lists.mozilla.org
Guten Tag Praveen Kumar,
am Freitag, 6. Juli 2012 um 03:00 schrieben Sie:

> I installed some modules using fedora package manager and some using CPAN,

Because the package manager doesn't provide all necessary modules?
Mixing the installation source may be a bad idea.

> The modules which are not installed are optional one and (Encode-Detect
> required perl 5.15), my perl version is 5.12.

checksetup.pl tells otherwise, do you have two perl versions
installed? One may be visible to checksetup on a shell, the other to
httpd, both with different modules.

> * This is Bugzilla 4.2.1 on perl 5.14.2
> * Running on Linux 3.4.4-3.fc17.x86_64 #1 SMP Tue Jun 26 20:54:56 UTC 2012

> I think if there is some
> module error it show show during checktest.

Not necessarily, because most codepaths are only executed during using
Bugzilla in a web browser, Bugzilla/Template.pm for example seem to
have a problem with inheritance and this is not checked during
checksetup or testserver. The only thing which is checked is the
availability of Template-Toolkit, which may be visible to
checksetup.pl, but not while running Bugzilla in httpd. Or maybe some
dependencies of Template-Toolkit may be missing while used in httpd,
preventing Template.pm from inheritance.

Praveen Kumar

unread,
Jul 6, 2012, 10:20:43 AM7/6/12
to Thorsten Schöning, support-...@lists.mozilla.org
On Fri, Jul 6, 2012 at 1:55 PM, Thorsten Schöning <tscho...@am-soft.de>wrote:

> Guten Tag Praveen Kumar,
> am Freitag, 6. Juli 2012 um 03:00 schrieben Sie:
>
> > I installed some modules using fedora package manager and some using
> CPAN,
>
> Because the package manager doesn't provide all necessary modules?
>
Yes some modules are not available on package repo.

> Mixing the installation source may be a bad idea.
>
> > The modules which are not installed are optional one and (Encode-Detect
> > required perl 5.15), my perl version is 5.12.
>
> checksetup.pl tells otherwise, do you have two perl versions
> installed? One may be visible to checksetup on a shell, the other to
> httpd, both with different modules.
>
no I have only one version of perl installed.

>
> > * This is Bugzilla 4.2.1 on perl 5.14.2
> > * Running on Linux 3.4.4-3.fc17.x86_64 #1 SMP Tue Jun 26 20:54:56 UTC
> 2012
>
> > I think if there is some
> > module error it show show during checktest.
>
> Not necessarily, because most codepaths are only executed during using
> Bugzilla in a web browser, Bugzilla/Template.pm for example seem to
> have a problem with inheritance and this is not checked during
> checksetup or testserver. The only thing which is checked is the
> availability of Template-Toolkit, which may be visible to
> checksetup.pl, but not while running Bugzilla in httpd. Or maybe some
> dependencies of Template-Toolkit may be missing while used in httpd,
> preventing Template.pm from inheritance.
>
If there is some documentation about everything, I can follow that. Today I
also download a lower stable version to check but same error :(

>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning E-Mail:Thorsten....@AM-SoFT.de
> AM-SoFT IT-Systeme http://www.AM-SoFT.de/
>
> Telefon.............030-2 1001-310
> Fax...............05151- 9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow
>

Thorsten Schöning

unread,
Jul 7, 2012, 3:33:56 AM7/7/12
to support-...@lists.mozilla.org
Guten Tag Praveen Kumar,
am Freitag, 6. Juli 2012 um 16:20 schrieben Sie:

> If there is some documentation about everything, I can follow that. Today I
> also download a lower stable version to check but same error :(

There is the installation documentation and normally following that
works for most people. ;-) I still believe your problem is about
incorrect perl setup, maybe even some kind of SELinux blocking access
to some perl modules or stuff like that, but no idea at the moment how
to test it any further.

Thorsten Schöning

unread,
Jul 7, 2012, 8:00:53 AM7/7/12
to support-...@lists.mozilla.org
Guten Tag Thorsten Schöning,
am Samstag, 7. Juli 2012 um 09:33 schrieben Sie:

> There is the installation documentation and normally following that
> works for most people. ;-)

I just downloaded a fresh copy of 4.2.1 and installed it on a 64 Bit
Windows 7 with 64 Bit Perl 5.14.x and index.cgi is showing just fine.
Maybe only your installation of Template-Toolkit is broken? You should
have Template.pm in you lib-directory of your perl installation and a
folder Template with a Base.pm which should contain sub new. This si
the sub Bugzilla can't find in your case.

Praveen Kumar

unread,
Jul 8, 2012, 1:14:52 PM7/8/12
to Thorsten Schöning, support-...@lists.mozilla.org
On Sat, Jul 7, 2012 at 5:30 PM, Thorsten Schöning <tscho...@am-soft.de>wrote:

> Guten Tag Thorsten Schöning,
> am Samstag, 7. Juli 2012 um 09:33 schrieben Sie:
>
>
> I just downloaded a fresh copy of 4.2.1 and installed it on a 64 Bit
> Windows 7 with 64 Bit Perl 5.14.x and index.cgi is showing just fine.
> Maybe only your installation of Template-Toolkit is broken? You should
> have Template.pm in you lib-directory of your perl installation and a
> folder Template with a Base.pm which should contain sub new. This si
> the sub Bugzilla can't find in your case.
>

Hey you were right I didn't have Template module in /usr/lib64/perl5, I
installed using package manager and now problem fixed. Thanks a lot for
help, but error looks odd because it was not showing that some module is
missing, will blog about that.


> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>


--

Thorsten Schöning

unread,
Jul 8, 2012, 2:33:56 PM7/8/12
to support-...@lists.mozilla.org
Guten Tag Praveen Kumar,
am Sonntag, 8. Juli 2012 um 19:14 schrieben Sie:

> Hey you were right I didn't have Template module in /usr/lib64/perl5, I
> installed using package manager and now problem fixed.

Very nice... But didn't you have the complete package or were just
some files missing? Please search all your system for Template.pm, I
bet there is one installed, but somewhere where only checksetup could
reach it, not httpd. I would even bet you do have two versions of Perl
installed, 32 and 64 Bit and that checksetup.pl were ran using the 32
Bit Perl and this has Template-Toolkit installed.

> Thanks a lot for
> help, but error looks odd because it was not showing that some module is
> missing, will blog about that.

I bet checksetup's check was correct, the version check requires a
perl package, if that fails, checksetup.pl wouldn't get a version
number, but it did in your case, meaning there surely was/is a
Template-Toolkit somewhere visible to checksetup.pl How does your
output of checksetup.pl --check-modules looks like now? Which
version of Template-Toolkit is provided by your package manager?
Hopefully another version, than the on checksetup finds. ;-)

Would be nice to let us know on the list, too.

Mit freundlichen Grüßen,

Thorsten Schöning

--

Praveen Kumar

unread,
Jul 8, 2012, 9:27:44 PM7/8/12
to Thorsten Schöning, support-...@lists.mozilla.org
On Mon, Jul 9, 2012 at 12:03 AM, Thorsten Schöning <tscho...@am-soft.de>wrote:

> Guten Tag Praveen Kumar,
> am Sonntag, 8. Juli 2012 um 19:14 schrieben Sie:
>
> Very nice... But didn't you have the complete package or were just
> some files missing? Please search all your system for Template.pm,


/var/www/html/bugzilla_old/Bugzilla/Template.pm
/var/www/html/bugzilla/Bugzilla/Template.pm
/usr/lib64/perl5/vendor_perl/Template.pm
/usr/local/share/perl5/x86_64-linux-thread-multi/Template.pm
/root/perl5/lib/perl5/x86_64-linux-thread-multi/Template.pm
/root/.cpan/build/Template-Toolkit-2.24-IGOgVS/lib/Template.pm
/root/.cpan/build/Template-Toolkit-2.24-IGOgVS/blib/lib/Template.pm


I bet there is one installed, but somewhere where only checksetup could
> reach it, not httpd. I would even bet you do have two versions of Perl
> installed, 32 and 64 Bit and that checksetup.pl were ran using the 32
> Bit Perl and this has Template-Toolkit installed.


I did a query about install perl version and found only one version of perl
(64bit).
[root@pkumar222 bugzilla]# rpm -q perl
perl-5.14.2-212.fc17.x86_64


> I bet checksetup's check was correct, the version check requires a
> perl package, if that fails, checksetup.pl wouldn't get a version
> number, but it did in your case, meaning there surely was/is a
> Template-Toolkit somewhere visible to checksetup.pl How does your
> output of checksetup.pl --check-modules looks like now? Which
> version of Template-Toolkit is provided by your package manager?
> Hopefully another version, than the on checksetup finds. ;-)
>

[output]
Checking perl modules...
Checking for CGI.pm (v3.51) ok: found v3.59
Checking for Digest-SHA (any) ok: found v5.61
Checking for TimeDate (v2.21) ok: found v2.24
Checking for DateTime (v0.28) ok: found v0.70
Checking for DateTime-TimeZone (v0.71) ok: found v1.46
Checking for DBI (v1.614) ok: found v1.617
Checking for Template-Toolkit (v2.22) ok: found v2.24
Checking for Email-Send (v2.00) ok: found v2.198
Checking for Email-MIME (v1.904) ok: found v1.910
Checking for URI (any) ok: found v1.60
Checking for List-MoreUtils (v0.22) ok: found v0.33

Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v4.00) ok: found v4.020
Checking for DBD-Oracle (v1.19) not found

The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.44
Checking for Chart (v2.1) ok: found v2.4.5
Checking for Template-GD (any) ok: found v1.56
Checking for GDTextUtil (any) ok: found v0.86
Checking for GDGraph (any) ok: found v1.44
Checking for MIME-tools (v5.406) ok: found v5.503
Checking for libwww-perl (any) ok: found v6.03
Checking for XML-Twig (any) ok: found v3.40
Checking for PatchReader (v0.9.4) ok: found v0.9.6
Checking for perl-ldap (any) ok: found v0.44
Checking for Authen-SASL (any) ok: found v2.15
Checking for RadiusPerl (any) ok: found v0.20
Checking for SOAP-Lite (v0.712) ok: found v0.714
Checking for JSON-RPC (any) ok: found v1.03
Checking for JSON-XS (v2.0) ok: found v2.32
Checking for Test-Taint (any) ok: found v1.04
Checking for HTML-Parser (v3.67) ok: found v3.69
Checking for HTML-Scrubber (any) ok: found v0.09
Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.316
Checking for Email-Reply (any) ok: found v1.202
Checking for TheSchwartz (any) ok: found v1.10
Checking for Daemon-Generic (any) ok: found v0.82
Checking for mod_perl (v1.999022) ok: found v2.000005
Checking for Apache-SizeLimit (v0.93) ok: found v0.95
Checking for Math-Random-Secure (v0.05) not found
Checking for mod_headers (any) ok
Checking for mod_expires (any) ok
Checking for mod_env (any) ok
***********************************************************************
* OPTIONAL MODULES *
***********************************************************************
* Certain Perl modules are not required by Bugzilla, but by *
* installing the latest version you gain access to additional *
* features. *
* *
* The optional modules you do not have installed are listed below, *
* with the name of the feature they enable. Below that table are the *
* commands to install each module. *
***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* Math-Random-Secure * Improve cookie and token security *
***********************************************************************
COMMANDS TO INSTALL OPTIONAL MODULES:

Math-Random-Secure: /usr/bin/perl install-module.pl Math::Random::Secure


To attempt an automatic install of every required and optional module
with one command, do:

/usr/bin/perl install-module.pl --all
[/output]


>
> Would be nice to let us know on the list, too.
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning E-Mail:Thorsten....@AM-SoFT.de
> AM-SoFT IT-Systeme http://www.AM-SoFT.de/
>
> Telefon.............030-2 1001-310
> Fax...............05151- 9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow
>
> _______________________________________________
> support-bugzilla mailing list
> support-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/support-bugzilla
> PLEASE put support-...@lists.mozilla.org in the To: field when you
> reply.
>



Thorsten Schöning

unread,
Jul 9, 2012, 1:07:22 AM7/9/12
to support-...@lists.mozilla.org
Guten Tag Praveen Kumar,
am Montag, 9. Juli 2012 um 03:27 schrieben Sie:

> /root/.cpan/build/Template-Toolkit-2.24-IGOgVS/lib/Template.pm
> /root/.cpan/build/Template-Toolkit-2.24-IGOgVS/blib/lib/Template.pm

Did you first try to install Template-Toolkit manually using CPAN or
does the package manager use CPAN, too? Maybe this path is somehow in
PERL5LIB in the shell and was seen by checksetup.pl, but not httpd,
because this path normally shouldn't be seen to the Perl installation.
Please post the contents env PERL5LIB on your shell. If the CPAN
folder is not listed in there, I have really no idea why checksetup.pl
found Template-Toolkit, but httpd didn't.

Praveen Kumar

unread,
Jul 9, 2012, 8:49:20 AM7/9/12
to Thorsten Schöning, support-...@lists.mozilla.org
On Mon, Jul 9, 2012 at 10:37 AM, Thorsten Schöning <tscho...@am-soft.de>wrote:

> Guten Tag Praveen Kumar,
> am Montag, 9. Juli 2012 um 03:27 schrieben Sie:
>
> > /root/.cpan/build/Template-Toolkit-2.24-IGOgVS/lib/Template.pm
> > /root/.cpan/build/Template-Toolkit-2.24-IGOgVS/blib/lib/Template.pm
>
> Did you first try to install Template-Toolkit manually using CPAN or
> does the package manager use CPAN, too?

I think first I installed it using CPAN, No, package manager doesn't use
CPAN internally.

> Maybe this path is somehow in
> PERL5LIB in the shell and was seen by checksetup.pl, but not httpd,
> because this path normally shouldn't be seen to the Perl installation.
> Please post the contents env PERL5LIB on your shell.

[root@pkumar222 daredevil]# perl -E 'say $ENV{'PERL5LIB'}'
/root/perl5/lib/perl5/x86_64-linux-thread-multi:/root/perl5/lib/perl5

>
> If the CPAN
> folder is not listed in there, I have really no idea why checksetup.pl
> found Template-Toolkit, but httpd didn't.
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning E-Mail:Thorsten....@AM-SoFT.de
> AM-SoFT IT-Systeme http://www.AM-SoFT.de/
>
> Telefon.............030-2 1001-310
> Fax...............05151- 9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow
>
0 new messages