Open Bug 1268007 Opened 10 years ago Updated 9 years ago

Cannot find Email::Sender in RHEL 7.2

Categories

(Bugzilla :: Documentation, defect)

5.0.2
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: michael.lee.hobbs, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Build ID: 20160303075611 Steps to reproduce: Installed RedHat 7.2 on Server Ran yum update/upgrade Installed EPEL repo Configured Apache/Httpd Installed MediaWiki (Working) Followed instructions here: https://bugzilla.readthedocs.org/en/5.0/installing/linux.html Also latter tried: https://www.howtoforge.com/tutorial/install-bugzilla-50-on-centos-7/ Actual results: In both cases had issues with requirements: for example 'perl(Email::Sender)' is not found even when you use the command: yum --enablerepo=* --disablerepo=*sat* install 'perl(Email::Sender)' I tried to resolve missing requirements using cpan and was able to acquire them but then had path issues. I tried resolving the path issues using sym links and while this worked it seems to have created version issues among the requirements. I spent a full day trying everything I could think of/google. Next day, I simply copied all library requirements to bugzilla/lib which did not work. I gave up and tried Bugzilla 4.4.11 and in under 10 minutes had it up and running with zero issues. I work in DevOp using Java/Js/Node/etc so perl is outside my area of expertises. Expected results: Please feel free to contact me with questions. I'm in the process of upgrading one of our servers from RedHat 6 and Bugzilla 4.2 and would love to get us on 5.0.2. Thanks, Michael
Is Email::Sender the only RPM you couldn't find in RHEL 7.2?
Assignee: general → documentation
Component: Bugzilla-General → Documentation
Summary: Cannot install 5.0.2 on fresh install of RedHat 7.2 → Cannot find Email::Sender in RHEL 7.2
Here are the ones yum could not find with EPEL installed. No package rst2pdf available. No package perl(Authen::Radius) available. No package perl(Chart::Lines) available. No package perl(Daemon::Generic) available. No package perl(Email::Sender) available. No package perl(PatchReader) available. No package perl(TheSchwartz) available.
Same problem for me on CentOS 7.2.1511. I tried to upgrade Bugzilla from 4.4.12 to 5.0.3, the whole process ended without any problem following the official documentation. checksetup.pl output is good: ------------------------------------ * This is Bugzilla 5.0.3 on perl 5.16.3 * Running on Linux 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 23 17:05:11 UTC 2016 Checking perl modules... Checking for CGI.pm (v3.51) ok: found v3.63 Checking for Digest-SHA (any) ok: found v5.85 Checking for TimeDate (v2.23) ok: found v2.24 Checking for DateTime (v0.75) ok: found v1.04 Checking for DateTime-TimeZone (v1.64) ok: found v1.94 Checking for DBI (v1.614) ok: found v1.627 Checking for Template-Toolkit (v2.24) ok: found v2.24 Checking for Email-Sender (v1.300011) ok: found v1.300021 Checking for Email-MIME (v1.904) ok: found v1.926 Checking for URI (v1.55) ok: found v1.60 Checking for List-MoreUtils (v0.32) ok: found v0.33 Checking for Math-Random-ISAAC (v1.0.1) ok: found v1.004 Checking for File-Slurp (v9999.13) ok: found v9999.19 Checking for JSON-XS (v2.01) ok: found v3.01 Checking available perl DBD modules... Checking for DBD-Pg (v2.7.0) ok: found v2.19.3 Checking for DBD-mysql (v4.001) ok: found v4.023 Checking for DBD-SQLite (v1.29) ok: found v1.39 Checking for DBD-Oracle (v1.19) not found The following Perl modules are optional: Checking for GD (v1.20) ok: found v2.49 Checking for Chart (v2.4.1) ok: found v2.4.1 Checking for Template-GD (any) ok: found v1.56 Checking for GDTextUtil (any) ok: found v0.86 Checking for GDGraph (any) ok: found v1.44 Checking for MIME-tools (v5.406) ok: found v5.505 Checking for libwww-perl (any) ok: found v6.05 Checking for XML-Twig (any) ok: found v3.44 Checking for PatchReader (v0.9.6) not found Checking for perl-ldap (any) ok: found v0.56 Checking for Authen-SASL (any) ok: found v2.15 Checking for Net-SMTP-SSL (v1.01) ok: found v1.01 Checking for RadiusPerl (any) not found Checking for SOAP-Lite (v0.712) ok: found v1.10 Checking for XMLRPC-Lite (v0.712) ok: found v0.717 Checking for JSON-RPC (any) ok: found v1.03 Checking for Test-Taint (v1.06) not found Checking for HTML-Parser (v3.67) ok: found v3.71 Checking for HTML-Scrubber (any) not found Checking for Encode (v2.21) ok: found v2.51 Checking for Encode-Detect (any) ok: found v1.01 Checking for Email-Reply (any) ok: found v1.203 Checking for HTML-FormatText-WithLinks (v0.13) ok: found v0.14 Checking for TheSchwartz (v1.07) not found Checking for Daemon-Generic (any) not found Checking for mod_perl (v1.999022) ok: found v2.000009 Checking for Apache-SizeLimit (v0.96) ok: found v0.97 Checking for File-MimeInfo (any) ok: found v0.21 Checking for IO-stringy (any) ok: found v2.110 Checking for Cache-Memcached (any) not found Checking for File-Copy-Recursive (any) not found Checking for File-Which (any) ok: found v1.09 Checking for mod_env (any) ok Checking for mod_expires (any) ok Checking for mod_headers (any) ok Checking for mod_rewrite (any) ok Checking for mod_version (any) ok *********************************************************************** * OPTIONAL MODULES * *********************************************************************** * Certain Perl modules are not required by Bugzilla, but by * * installing the latest version you gain access to additional * * features. * * * * The optional modules you do not have installed are listed below, * * with the name of the feature they enable. Below that table are the * * commands to install each module. * *********************************************************************** * MODULE NAME * ENABLES FEATURE(S) * *********************************************************************** * PatchReader * Patch Viewer * * RadiusPerl * RADIUS Authentication * * Test-Taint * JSON-RPC Interface, XML-RPC Interface, REST Interface * * HTML-Scrubber * More HTML in Product/Group Descriptions * * TheSchwartz * Mail Queueing * * Daemon-Generic * Mail Queueing * * Cache-Memcached * Memcached Support * * File-Copy-Recursive * Documentation * *********************************************************************** COMMANDS TO INSTALL OPTIONAL MODULES: PatchReader: /usr/bin/perl install-module.pl PatchReader RadiusPerl: /usr/bin/perl install-module.pl Authen::Radius Test-Taint: /usr/bin/perl install-module.pl Test::Taint HTML-Scrubber: /usr/bin/perl install-module.pl HTML::Scrubber TheSchwartz: /usr/bin/perl install-module.pl TheSchwartz Daemon-Generic: /usr/bin/perl install-module.pl Daemon::Generic Cache-Memcached: /usr/bin/perl install-module.pl Cache::Memcached File-Copy-Recursive: /usr/bin/perl install-module.pl File::Copy::Recursive To attempt an automatic install of every required and optional module with one command, do: /usr/bin/perl install-module.pl --all Reading ./localconfig... Checking for DBD-mysql (v4.001) ok: found v4.023 Checking for MySQL (v5.0.15) ok: found v5.6.30 Removing existing compiled templates... Precompiling templates...done. Fixing file permissions... checksetup.pl complete. ------------------------------------ When I try to browse bugzilla it returns this error: ------------------------------------ Can't locate Email/Sender/Simple.pm in @INC (@INC contains: . 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 26. BEGIN failed--compilation aborted at Bugzilla/Mailer.pm line 26. 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 /var/www/bugzilla.domain.tld/index.cgi line 15. BEGIN failed--compilation aborted at /var/www/bugzilla.domain.tld/index.cgi line 15. ------------------------------------ I read about some nasty dependency problem related on SSL on Email-Sender module, my versions are the latest available with CentOS (and I think also with Rhel) + Epel: - perl-IO-Socket-SSL.noarch --> 1.94 - perl-Email-Send.noarch --> 2.199 - perl-Net-SMTP-SSL.noarch --> 1.01 Is there any suggestion to make Bugzilla 5 work with RedHat family distros?
(In reply to Tasslehoff Burrfoot from comment #3) > > Checking for Email-Sender (v1.300011) ok: found v1.300021 [snip ] > When I try to browse bugzilla it returns this error: > ------------------------------------ > Can't locate Email/Sender/Simple.pm in @INC (@INC contains: . 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 It's possible you've installed Email::Sender someplace where the user you're running checksetup.pl can find it but the user you're running your web server as can't. > Is there any suggestion to make Bugzilla 5 work with RedHat family distros? I've setup a yum repository with Bugzilla 5.0 and everything you need to make it work (that includes perl-Email-Sender 1.300016). If you're willing to give it a whirl, I'ld love to have feedback. Install yum-plugin-copr and run the command "yum copr enable eseyman/bugzilla-5.0". You can then run 'yum install "perl(Email::Sender)"' or 'yum install bugzilla' to install the software.
You need to log in before you can comment on or make changes to this bug.