Closed Bug 273345 Opened 20 years ago Closed 20 years ago

Getting Error when C:\bugzilla>perl checksetup.pl

Categories

(Bugzilla :: Installation & Upgrading, defect)

x86
Windows 2000
defect
Not set
blocker

Tracking

()

RESOLVED DUPLICATE of bug 143490

People

(Reporter: core_manojj, Assigned: zach)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Build Identifier: 

When I execute the perl script 

C:\bugzilla>perl checksetup.pl

I get following - 

C:\Bugzilla>perl checksetup.pl

Checking perl modules ...
Checking for       AppConfig (v1.52)   ok: found v1.55
Checking for       CGI::Carp (any)     ok: found v1.27
Checking for    Data::Dumper (any)     ok: found v2.121
Checking for     Date::Parse (any)     ok: found v2.27
Checking for             DBI (v1.13)   ok: found v1.46
Checking for      DBD::mysql (v1.2209) ok: found v2.9004
Checking for      File::Spec (v0.82)   ok: found v0.87
Checking for      File::Temp (any)     ok: found v0.14
Checking for        Template (v2.07)   ok: found v2.13
Checking for      Text::Wrap (v2001.0131) ok: found v2001.09291
Checking for       CGI::Carp (any)     ok: found v1.27

The following Perl modules are optional:
Checking for              GD (v1.19)   ok: found v2.16
Checking for     Chart::Base (v0.99)   ok: found v2.3
Checking for     XML::Parser (any)     ok: found v2.34

Checking user setup ...
'which' is not recognized as an internal or external command,
operable program or batch file.
Creating data directory ...
Creating graphs directory...
Creating .htaccess...
Creating data/.htaccess...
Creating template/.htaccess...
Creating data/webdot/.htaccess...
Removing existing compiled templates ...
Precompiling templates ...
<h1>Software error:</h1>
<pre>The getgrnam function is unimplemented at checksetup.pl line 1106.
</pre>
<p>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.

</p>
[Mon Dec  6 15:11:14 2004] checksetup.pl: The getgrnam function is 
unimplemented at checksetup.pl line 1106.

C:\Bugzilla>


Reproducible: Always
Steps to Reproduce:
1.execute C:\bugzilla>perl checksetup.pl
2.
3.

Actual Results:  
Checking user setup ...
'which' is not recognized as an internal or external command,
operable program or batch file.
Creating data directory ...
Creating graphs directory...
Creating .htaccess...
Creating data/.htaccess...
Creating template/.htaccess...
Creating data/webdot/.htaccess...
Removing existing compiled templates ...
Precompiling templates ...
<h1>Software error:</h1>
<pre>The getgrnam function is unimplemented at checksetup.pl line 1106.
</pre>
<p>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.

</p>
[Mon Dec  6 15:11:14 2004] checksetup.pl: The getgrnam function is 
unimplemented at checksetup.pl line 1106.

Expected Results:  
:\bugzilla>perl checksetup.pl

Checking perl modules ...
Checking for       AppConfig (v1.52)   ok: found v1.52
Checking for             CGI (v2.93)   ok: found v3.04
Checking for    Data::Dumper (any)     ok: found v2.121
Checking for    Date::Format (v2.21)   ok: found v2.22
Checking for             DBI (v1.32)   ok: found v1.43
Checking for      DBD::mysql (v2.1010) ok: found v2.9002
Checking for      File::Spec (v0.82)   ok: found v0.87
Checking for      File::Temp (any)     ok: found v0.14
Checking for        Template (v2.08)   ok: found v2.13
Checking for      Text::Wrap (v2001.0131) ok: found v2001.09291

The following Perl modules are optional:
Checking for              GD (v1.20)   ok: found v2.07
Checking for     Chart::Base (v0.99)   ok: found v2.3
Checking for     XML::Parser (any)     ok: found v2.34
Checking for       GD::Graph (any)     ok: found v1.43
Checking for GD::Text::Align (any)     ok: found v1.18
Checking for     PatchReader (any)     ok: found v0.9.4

Most ActivePerl modules are available at Apache's ppm repository.
A list of mirrors is available at
    http://www.apache.org/dyn/closer.cgi/perl/win32-bin/ppms/
You can add the repository with the following command:
    ppm rep add apache http://www.apache.org/dist/perl/win32-bin/ppms/

Checking user setup ...
Creating data directory (./data) ...
Creating graphs directory...
Creating .htaccess...
Creating Bugzilla/.htaccess...
Creating ./data/.htaccess...
Creating ./template/.htaccess...
Creating ./data/webdot/.htaccess...
Precompiling templates ...
Checking for    MySQL Server (v3.23.41) ok: found v4.0.20a-debug

Creating table user_group_map ...
Creating table series_data ...
Creating table longdescs ...
Creating table dependencies ...
Creating table components ...
Creating table keywords ...
Creating table cc ...
Creating table duplicates ...
Creating table groups ...
Creating table flagtypes ...
Creating table profiles ...
Creating table products ...
Creating table bugs_activity ...
Creating table series_categories ...
Creating table keyworddefs ...
Creating table fielddefs ...
Creating table group_control_map ...
Creating table profiles_activity ...
Creating table group_group_map ...
Creating table user_series_map ...
Creating table bugs ...
Creating table series ...
Creating table versions ...
Creating table flagexclusions ...
Creating table logincookies ...
Creating table watch ...
Creating table bug_group_map ...
Creating table votes ...
Creating table attachments ...
Creating table flags ...
Creating table milestones ...
Creating table tokens ...
Creating table flaginclusions ...
Creating table quips ...
Creating table namedqueries ...
Creating initial dummy product 'TestProduct' ...
Populating duplicates table...
Creating duplicates directory...
Migrating old chart data into database ...
Adding group tweakparams ...
Adding group editusers ...
Adding group creategroups ...
Adding group editcomponents ...
Adding group editkeywords ...
Adding group admin ...
Adding group editbugs ...
Adding group canconfirm ...
.
.
.
.
.
This was fixed in Bugzilla 2.18 (rc3 available for download) and further. I
assume you're using 2.16 on Windows; this is the only case where this could appear.

I suggest to upgrade to 2.18 or back-port to 2.16 the patch that you can find in
bug 143490.

*** This bug has been marked as a duplicate of 143490 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
I strongly suggest getting 2.18rc3, this wasn't the only Windows-related fix
since 2.16.  2.18rc3 doesn't have to be hacked on to make it work on Windows.
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.