[MacPorts] #32425: shared-mime-info @0.91 configure error with perl5 +perl5_8/10/14

MacPorts noreply at macports.org
Mon Dec 5 17:34:25 PST 2011


#32425: shared-mime-info @0.91 configure error with perl5 +perl5_8/10/14
---------------------------------------+------------------------------------
 Reporter:  larry.velazquez@…          |       Owner:  macports-tickets@…                   
     Type:  defect                     |      Status:  new                                  
 Priority:  Normal                     |   Milestone:                                       
Component:  ports                      |     Version:  2.0.3                                
 Keywords:  haspatch                   |        Port:  shared-mime-info                     
---------------------------------------+------------------------------------
 The configure phase for `shared-mime-info` @0.91 fails when `perl5
 +perl5_14` is installed, and I assume any other variant that isn’t
 `+perl5_12`.

 Since `intltool` requires `perl5.12` and 5.12-specific modules, the
 `shared-mime-info` configure script fails to find them if the default Perl
 is not 5.12:

 {{{
 :info:configure checking for intltool >= 0.35.0... 0.40.6 found
 :info:configure checking for intltool-update... /opt/local/bin/intltool-
 update
 :info:configure checking for intltool-merge... /opt/local/bin/intltool-
 merge
 :info:configure checking for intltool-extract... /opt/local/bin/intltool-
 extract

 [...snip...]

 :info:configure checking for perl... /opt/local/bin/perl
 :info:configure checking for perl >= 5.8.1... 5.14.1
 :info:configure checking for XML::Parser... configure: error: XML::Parser
 perl module is required for intltool
 }}}

 (I do have `intltool` installed, as well as its library dependencies, such
 as `p5.12-xml-parser`.)

 The patch corrects this by explicitly providing the path to the `perl5.12`
 executable. This would have to be updated when `intltool` is updated to
 `perl5.14`.

 (This patch is practically identical to that in #32423.)

-- 
Ticket URL: <https://trac.macports.org/ticket/32425>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list