Bug 346554: Remove checksetup's checks for modules that are included with perl 5.8.0

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) r=colin for docs, a=myk


git-svn-id: svn://10.0.0.236/trunk@206226 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org
2006-07-31 22:22:51 +00:00
parent 5f3bea3af4
commit 4cacecd795
6 changed files with 3 additions and 108 deletions

View File

@@ -42,10 +42,6 @@ use constant REQUIRED_MODULES => [
name => 'CGI',
version => '2.93'
},
{
name => 'Data::Dumper',
version => '0'
},
{
name => 'Date::Format',
version => '2.21'
@@ -58,18 +54,10 @@ use constant REQUIRED_MODULES => [
name => 'File::Spec',
version => '0.84'
},
{
name => 'File::Temp',
version => '0'
},
{
name => 'Template',
version => '2.08'
},
{
name => 'Text::Wrap',
version => '2001.0131'
},
{
name => 'Mail::Mailer',
version => '1.67'
@@ -83,10 +71,6 @@ use constant REQUIRED_MODULES => [
name => $^O =~ /MSWin32/i ? 'MIME::Tools' : 'MIME::Parser',
version => '5.406'
},
{
name => 'Storable',
version => '0'
},
];
use constant OPTIONAL_MODULES => [

View File

@@ -1276,7 +1276,7 @@ password=mypassword
</para>
</listitem>
</orderedlist>
I reckon TimeDate and Data::Dumper come with the activeperl.
I reckon TimeDate comes with the activeperl.
You can check the ActiveState site for packages for installation
through PPM. <ulink url="http://www.activestate.com/Packages/"/>.
</para>

View File

@@ -1,5 +1,5 @@
<!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> -->
<!-- $Id: installation.xml,v 1.125 2006-07-31 22:21:35 mkanat%bugzilla.org Exp $ -->
<!-- $Id: installation.xml,v 1.126 2006-07-31 22:22:51 mkanat%bugzilla.org Exp $ -->
<chapter id="installing-bugzilla">
<title>Installing Bugzilla</title>
@@ -291,12 +291,6 @@
</para>
</listitem>
<listitem>
<para>
Data::Dumper (&min-data-dumper-ver;)
</para>
</listitem>
<listitem>
<para>
Date::Format (&min-date-format-ver;)
@@ -328,12 +322,6 @@
</para>
</listitem>
<listitem>
<para>
File::Temp (&min-file-temp-ver;)
</para>
</listitem>
<listitem>
<para>
<link linkend="install-modules-template">Template</link>
@@ -341,12 +329,6 @@
</para>
</listitem>
<listitem>
<para>
Text::Wrap (&min-text-wrap-ver;)
</para>
</listitem>
<listitem>
<para>
Mail::Mailer (&min-mail-mailer-ver;)
@@ -364,12 +346,6 @@
MIME::Parser (&min-mime-parser-ver;)
</para>
</listitem>
<listitem>
<para>
Storable (&min-storable-ver;)
</para>
</listitem>
</orderedlist>
Optional Perl modules:

View File

@@ -103,15 +103,6 @@
</literallayout>
</para>
<para>
File::Temp:
<literallayout>
CPAN Download Page: <ulink url="http://search.cpan.org/dist/File-Temp/"/>
PPM Download Page: Part of core distribution.
Documentation: <ulink url="http://www.perldoc.com/perl5.8.0/lib/File/Temp.html"/>
</literallayout>
</para>
<para>
Template-Toolkit:
<literallayout>
@@ -121,15 +112,6 @@
</literallayout>
</para>
<para>
Text::Wrap:
<literallayout>
CPAN Download Page: <ulink url="http://search.cpan.org/dist/Text-Tabs+Wrap/"/>
PPM Download Link: Part of core distribution.
Documentation: <ulink url="http://www.perldoc.com/perl5.8.0/lib/Text/Wrap.html"/>
</literallayout>
</para>
<para>
GD:
<literallayout>

View File

@@ -31,10 +31,6 @@
<ulink url="http://www.cpan.org/modules/by-module/DBI/"/>
</para>
<para>Data::Dumper module:
<ulink url="http://www.cpan.org/modules/by-module/Data/"/>
</para>
<para>MySQL related Perl modules:
<ulink url="http://www.cpan.org/modules/by-module/Mysql/"/>
</para>

View File

@@ -1,5 +1,5 @@
<!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> -->
<!-- $Id: troubleshooting.xml,v 1.11 2006-06-07 20:11:03 uid623 Exp $ -->
<!-- $Id: troubleshooting.xml,v 1.12 2006-07-31 22:22:51 mkanat%bugzilla.org Exp $ -->
<appendix id="troubleshooting">
<title>Troubleshooting</title>
@@ -139,49 +139,6 @@ TEST-OK Webserver is preventing fetch of http://landfill.bugzilla.org/bugzilla-t
</para>
</section>
<section id="trouble-filetemp">
<title>Your vendor has not defined Fcntl macro O_NOINHERIT</title>
<para>This is caused by a bug in the version of
<productname>File::Temp</productname> that is distributed with perl
5.6.0. Many minor variations of this error have been reported:
</para>
<programlisting>Your vendor has not defined Fcntl macro O_NOINHERIT, used
at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 208.
Your vendor has not defined Fcntl macro O_EXLOCK, used
at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 210.
Your vendor has not defined Fcntl macro O_TEMPORARY, used
at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 233.</programlisting>
<para>Numerous people have reported that upgrading to version 5.6.1
or higher solved the problem for them. A less involved fix is to apply
the following patch, which is also
available as a <ulink url="../xml/filetemp.patch">patch file</ulink>.
</para>
<programlisting><![CDATA[--- File/Temp.pm.orig Thu Feb 6 16:26:00 2003
+++ File/Temp.pm Thu Feb 6 16:26:23 2003
@@ -205,6 +205,7 @@
# eg CGI::Carp
local $SIG{__DIE__} = sub {};
local $SIG{__WARN__} = sub {};
+ local *CORE::GLOBAL::die = sub {};
$bit = &$func();
1;
};
@@ -226,6 +227,7 @@
# eg CGI::Carp
local $SIG{__DIE__} = sub {};
local $SIG{__WARN__} = sub {};
+ local *CORE::GLOBAL::die = sub {};
$bit = &$func();
1;
};]]></programlisting>
</section>
<section id="trbl-relogin-everyone">
<title>Everybody is constantly being forced to relogin</title>