Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't locate Email/Sender/Simple.pm in @INC

1,316 views
Skip to first unread message

seema...@gmail.com

unread,
Jan 26, 2016, 10:00:10 PM1/26/16
to
I just upgraded from Bugzilla 4.4.4 to 5.0.2 using the Upgrade via Git method.
./checksetup.pl, ./testserver.pl all return ok.
But when I try to access the server it returns the following error:

Can't locate Email/Sender/Simple.pm in @INC (@INC contains: ./x86_64-linux-thread-multi . lib/x86_64-linux-thread-multi lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Bugzilla/Mailer.pm line 25.
BEGIN failed--compilation aborted at Bugzilla/Mailer.pm line 25.
Compilation failed in require at Bugzilla/Auth.pm line 22.
BEGIN failed--compilation aborted at Bugzilla/Auth.pm line 22.
Compilation failed in require at Bugzilla.pm line 23.
BEGIN failed--compilation aborted at Bugzilla.pm line 23.
Compilation failed in require at /home/XXXXX/www/bugzilla/index.cgi line 15.
BEGIN failed--compilation aborted at /home/XXXXX/www/bugzilla/index.cgi line 15.

$PERL5LIB is set to /home/XXXXX/perl5/lib/perl5 and I can see the files there.
Perl version 5.16.3
Email::Sender module version is v1.300021 (Bugzilla is looking for v1.300011).

How can I fix this?

- Seema

seema...@gmail.com

unread,
Jan 27, 2016, 2:28:38 AM1/27/16
to
On Tuesday, January 26, 2016 at 7:00:10 PM UTC-8, seema...@gmail.com wrote:
> I just upgraded from Bugzilla 4.4.4 to 5.0.2 using the Upgrade via Git method.
> ./checksetup.pl, ./testserver.pl all return ok.
> But when I try to access the server it returns the following error:
>
> Can't locate Email/Sender/Simple.pm in @INC (@INC contains: ./x86_64-linux-thread-multi . lib/x86_64-linux-thread-multi lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Bugzilla/Mailer.pm line 25.
> BEGIN failed--compilation aborted at Bugzilla/Mailer.pm line 25.
> Compilation failed in require at Bugzilla/Auth.pm line 22.
> BEGIN failed--compilation aborted at Bugzilla/Auth.pm line 22.
> Compilation failed in require at Bugzilla.pm line 23.
> BEGIN failed--compilation aborted at Bugzilla.pm line 23.
> Compilation failed in require at /home/XXXXX/www/bugzilla/index.cgi line 15.
> BEGIN failed--compilation aborted at /home/XXXXX/www/bugzilla/index.cgi line 15.

Fixed by copying the lib from perl5/lib/perl5 to bugzilla's lib directory

Thorsten Schöning

unread,
Jan 29, 2016, 3:00:47 AM1/29/16
to support-...@lists.mozilla.org
Guten Tag seema...@gmail.com,
am Mittwoch, 27. Januar 2016 um 08:28 schrieben Sie:

> $PERL5LIB is set to /home/XXXXX/perl5/lib/perl5 and I can see the files there.

Did you make sure that your web server uses that env var and forwards
it to Perl? That's not necessary the case, you might need things like
SetEnv in httpd.

> Fixed by copying the lib from perl5/lib/perl5 to bugzilla's lib directory

Depending on the actual contents of that folder, you might want to
rethink that, because the lib folder of Bugzilla is assumed to be
private and exclusively used by install-module.pl, which uses CPAN and
therefore the lib folder has a very special structure if modules are
installed. It should be cleaner to directly use install-module.pl in
your case instead of just copying arbitrary contents.

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning E-Mail: Thorsten....@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow

kumar.s...@gmail.com

unread,
Nov 11, 2016, 1:06:32 AM11/11/16
to

Thorsten Schöning

unread,
Nov 11, 2016, 2:29:06 AM11/11/16
to support-...@lists.mozilla.org
Guten Tag kumar.s...@gmail.com,
am Freitag, 11. November 2016 um 07:06 schrieben Sie:

> On Wednesday, January 27, 2016 at 8:30:10 AM UTC+5:30, seema...@gmail.com wrote:
[...]

I don't see any question there, just a full quote of an old mail.

rishab...@reingames.com

unread,
Nov 29, 2018, 1:06:39 AM11/29/18
to
I am getting this when try http://localhost/bugzilla/


Can't locate Email/MIME.pm in @INC (@INC contains: . lib C:/xampp/perl/site/lib C:/xampp/perl/vendor/lib C:/xampp/perl/lib) at C:/xampp/perl/lib/parent.pm line 20.
BEGIN failed--compilation aborted at Bugzilla/MIME.pm line 14.
Compilation failed in require at Bugzilla/Mailer.pm line 20.
BEGIN failed--compilation aborted at Bugzilla/Mailer.pm line 20.
Compilation failed in require at Bugzilla/Auth.pm line 22.
BEGIN failed--compilation aborted at Bugzilla/Auth.pm line 22.
Compilation failed in require at Bugzilla.pm line 23.
BEGIN failed--compilation aborted at Bugzilla.pm line 23.
Compilation failed in require at C:/Bugzilla/index.cgi line 15.
BEGIN failed--compilation aborted at C:/Bugzilla/index.cgi line 15.
For help, please send mail to the webmaster (postmaster@localhost), giving this error message and the time and date of the error.

rishab...@reingames.com

unread,
Nov 29, 2018, 1:07:30 AM11/29/18
to
Kindly help me to fix this

Thorsten Schöning

unread,
Nov 29, 2018, 3:12:53 AM11/29/18
to support-...@lists.mozilla.org
Guten Tag rishab...@reingames.com,
am Donnerstag, 29. November 2018 um 07:06 schrieben Sie:

> I am getting this when try http://localhost/bugzilla/

Please don't hijack unrelated threads and consider the following:

http://www.catb.org/esr/faqs/smart-questions.html#beprecise

> Can't locate Email/MIME.pm in @INC[...]

Check that all necessary or optional Perl packages are installed
required for your use-case:

https://bugzilla.readthedocs.io/en/5.0/installing/linux.html#perl-modules
https://bugzilla.readthedocs.io/en/5.0/installing/windows.html#perl-modules
0 new messages