Skip to content

Commit 84b250f

Browse files
committed
checksetup: Print a message explaining a possible failure mode
1 parent cf02989 commit 84b250f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

checksetup.pl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ BEGIN
134134
# then instead of our nice normal checksetup message, the user would
135135
# get a cryptic Perl error about the missing module.
136136

137+
print "About to try loading Bugzilla.\n";
138+
print "If you get an error such as\n";
139+
print "\"Compilation failed in require at " . __FILE__ . " line " . (__LINE__ + 3) . "\" below,\n";
140+
print "please re-run checksetup.pl.\n\n";
141+
137142
require Bugzilla;
138143
require Bugzilla::User;
139144

0 commit comments

Comments
 (0)