From dd66ee190e31676cb7ef01d557a6bbf779160339 Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Sat, 11 Dec 2021 07:54:52 +0000 Subject: [PATCH] checksetup: Print a message explaining a possible failure mode --- checksetup.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/checksetup.pl b/checksetup.pl index 6b737b774a..0e06730569 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -134,6 +134,11 @@ BEGIN # then instead of our nice normal checksetup message, the user would # get a cryptic Perl error about the missing module. +print "About to try loading Bugzilla.\n"; +print "If you get an error such as\n"; +print "\"Compilation failed in require at " . __FILE__ . " line " . (__LINE__ + 3) . "\" below,\n"; +print "please re-run checksetup.pl.\n\n"; + require Bugzilla; require Bugzilla::User;