Opened 12 years ago

Closed 10 years ago

Last modified 10 years ago

#33643 closed defect (fixed)

git-core @1.8.4_0: git-send-email requires p5.12-net-smtp-ssl

Reported by: dave@… Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: cooljeanius (Eric Gallager)
Port: git-core

Description

When I try git send-email, I get

Can't locate Net/SMTP/SSL.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level /opt/local/lib/perl5/site_perl/5.12.3 /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level /opt/local/lib/perl5/vendor_perl/5.12.3 /opt/local/lib/perl5/5.12.3/darwin-multi-2level /opt/local/lib/perl5/5.12.3 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/libexec/git-core/git-send-email line 1093.

Change History (10)

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Port: git-core added

You mean the part where it says to install that module via cpan? Instead, you should install the module via MacPorts. I can't find a port called p5-net-smtp-ssl so either this module is part of a different port or we need to create that port.

comment:3 in reply to:  2 Changed 12 years ago by dave@…

Replying to ryandesign@…:

You mean the part where it says to install that module via cpan? Instead, you should install the module via MacPorts.

Well naturally, but as you note, none of the existing ports seem to do the job.

comment:4 Changed 12 years ago by danielluke (Daniel J. Luke)

it needs its own port (probably easy with cpan2port):

http://search.cpan.org/~cwest/Net-SMTP-SSL-1.01/

but really, git send-email wants to use SMTPS? ick

comment:5 Changed 12 years ago by dave@…

it does if I've configured it—as I have—to use GMail's SMTP server. See the last page of "man git-send-email"

comment:6 Changed 12 years ago by ci42

Owner: changed from macports-tickets@… to ciserlohn@…

comment:7 in reply to:  description Changed 11 years ago by mathias.habluetzel@…

Potential fix:

$ sudo port install p5.12-net-smtp-ssl
$ sudo mkdir -p /usr/share/git-core/perl/Net/SMTP
$ sudo ln /opt/local/lib/perl5/vendor_perl/5.12.4/Net/SMTP/SSL.pm \
 /usr/share/git-core/perl/Net/SMTP/SSL.pm

(context http://blog.mathiashabluetzel.ch/2013/09/09/git-send-email-cant-locate-netsmtpssl-pm/)

comment:8 Changed 11 years ago by larryv (Lawrence Velázquez)

Summary: git-core missing some dependency?git-core @1.8.4_0: git-send-email requires p5.12-net-smtp-ssl

comment:9 Changed 10 years ago by ci42

Resolution: fixed
Status: newclosed

comment:10 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.