Progress is slow but steady so far. Again, I'm using Ubuntu 16.04/Perl
5.22, having recently upgraded from Ubuntu 14.04/Perl 5.18.
After following your advice, I was able to run `
checksetup.pl` without
segfaulting. It indicated that I need to run `contrib/
recode.pl` to
convert my `bugs` MySQL database from Latin1 to UTF-8. When I attempt to
run `contrib/
recode.pl`, however, I get the error
Can't locate /usr/share/bugzilla/lib/Bugzilla.pm in @INC (you may need to
install the ::usr::share::bugzilla::lib::Bugzilla module) (@INC contains:
/usr/share/bugzilla/lib /usr/share/bugzilla/lib/lib . lib /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1
/usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at
Bugzilla.pm line 48.
BEGIN failed--compilation aborted at Bugzilla.pm line 48.
Compilation failed in require at ./
recode.pl line 15.
BEGIN failed--compilation aborted at ./
recode.pl line 15.
The directory `/usr/share/bugzilla/` does not exist, so naturally the file
`/usr/share/bugzilla/lib/Bugzilla.pm` will never be found. `locate`,
however, finds many instances of the file `Bugzilla.pl`:
# locate Bugzilla.pm
/usr/share/perl5/WWW/Bugzilla.pm
/var/www/bugzilla/Bugzilla.pm
/var/www/bugzilla/Bugzilla/BugUrl/Bugzilla.pm
/var/www/bugzilla/Bugzilla/Template/Plugin/Bugzilla.pm
/var/www/bugzilla/Bugzilla/WebService/Bugzilla.pm
/var/www/bugzilla/Bugzilla/WebService/Server/REST/Resources/Bugzilla.pm
/var/www/bugzilla/contrib/Bugzilla.pm
/var/www/bugzilla/docs/lib/Pod/Simple/HTML/Bugzilla.pm
/var/www/bugzilla/docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm
Assuming that @INC is some sort of path-like variable, and given that I'm
running `
recode.pl` from within the `/var/www/bugzilla/contrib/` directory,
`
recode.pl` ought to find `/var/www/bugzilla/contrib/Bugzilla.pm`, since
`.` is in my @INC path.
I get zero relevant results from a web search for the "Can't locate
/usr/share/bugzilla/lib/Bugzilla.pm". I also can't find an Ubuntu package
that gives the `::usr::share::bugzilla::lib::Bugzilla` module.
What exactly is the problem here?
Thanks,
Joel
On Wed, May 8, 2019 at 2:15 AM Thorsten Schöning <
tscho...@am-soft.de>
wrote: