Muttprint install and iconv

Brandon Allbery allbery.b at gmail.com
Fri Jul 13 08:06:07 PDT 2012


On Fri, Jul 13, 2012 at 8:40 AM, Jim Graham <spooky130u at gmail.com> wrote:

> Does ANYONE know why muttprint is failing here?
>

You were in fact just told why.

On Mon, Jul 09, 2012 at 10:15:29AM -0500, Jim Graham wrote:
> > On Mon, Jul 09, 2012 at 09:47:51AM -0400, Jeremy Lavergne wrote:
> > > That definitely looks like it's after a perl module (perhaps the port
> > > is named p5.12-text-iconv?).
> >
> > That sounds right.
> >
> > > It's entirely possible that the perl MacPorts is using doesn't match up
> > > with the one that muttprint is using: /usr/bin/perl versus
> > > /opt/local/bin/perl5.12
> >
> > (10:10) # which perl
> > /usr/bin/perl
> > (10:10) # perl -v
> >
> > This is perl 5, version 12, subversion 3 (v5.12.3) ....
> >
> > iconv is p5.12-text-iconv
> >
> > muttport simply starts with #!/usr/bin/env perl, which unless I'm
> > seriously mistaken, would be /usr/bin/perl (5.12.3).
>

Spelling it out more explicitly:  you installed a module into
/opt/local/bin/perl5.12.  (MacPorts does not install modules into system
programs, including the system Perl.)

So, you have a port bug:  it needs to be changed to invoke the MacPorts
perl.  The workaround is "sudo port install perl5 +perl5_12", which will
install /opt/local/bin/perl pointing to /opt/local/bin/perl5.12.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120713/c0c62caf/attachment.html>


More information about the macports-users mailing list