Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
c9b20859
Commit
c9b20859
authored
Jun 02, 2001
by
justdave%syndicomm.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 83596: optional dependency on XML::Parser now checked in checksetup.pl
Patch by Dave Miller <justdave@syndicomm.com> r= jake@acutex.net
parent
ed091f88
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
checksetup.pl
checksetup.pl
+13
-5
No files found.
checksetup.pl
View file @
c9b20859
...
...
@@ -202,19 +202,26 @@ unless (have_vers("CGI::Carp",0)) { push @missing,"CGI::Carp" }
$::SIG
{
__DIE__
}
=
$saved_die_handler
;
$::SIG
{
__WARN__
}
=
$saved_warn_handler
;
print
"\nThe following
two
modules are optional:\n"
;
print
"\nThe following
Perl
modules are optional:\n"
;
my
$charts
=
0
;
$charts
++
if
have_vers
(
"GD"
,
"1.19"
);
$charts
++
if
have_vers
(
"Chart::Base"
,
"0.99"
);
my
$xmlparser
=
have_vers
(
"XML::Parser"
,
0
);
print
"\n"
;
if
(
$charts
!=
2
)
{
print
"If you you want to see graphical bug dependency charts, you may install\n"
,
"the optional libgd and the Perl modules GD-1.19 and Chart::Base-0.99b, e.g. by\n"
,
"running (as root)\n\n"
,
" perl -MCPAN -eshell\n"
,
" install LDS/GD-1.19.tar.gz\n"
,
" install N/NI/NINJAZ/Chart-0.99b.tar.gz\n\n"
;
" perl -MCPAN -e'install \"LDS/GD-1.19.tar.gz\"'\n"
,
" perl -MCPAN -e'install \"N/NI/NINJAZ/Chart-0.99b.tar.gz\"'\n\n"
;
}
if
(
!
$xmlparser
)
{
print
"If you want to use the bug import/export feature to move bugs to or from\n"
,
"other bugzilla installations, you will need to install the XML::Parser module by\n"
,
"running (as root)\n\n"
,
" perl -MCPAN -e'install \"XML::Parser\"'\n\n"
;
}
if
(
@missing
>
0
)
{
print
"\n\n"
;
print
"You are missing some Perl modules which are required by Bugzilla.\n"
;
...
...
@@ -590,6 +597,7 @@ if ($my_db_check) {
my
$sql_vok
=
((
vers_cmp
(
$sql_vers
,
$sql_want
)
>
-
1
)
&&
(
$sql_vers
ne
"3.23.29"
));
# encrypt() is broken in 3.23.29
print
((
$sql_vok
?
"ok: "
:
" "
),
"found v$sql_vers\n"
);
print
"\n"
;
unless
(
$sql_vok
)
{
die
"Your MySQL server is either too old or a known broken version.\n"
,
" Bugzilla requires version $sql_want or later of MySQL.\n"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment