[MacPorts] #25733: nvi-1.81.6: message catalog not configured correctly

MacPorts noreply at macports.org
Sun Jul 18 12:01:13 PDT 2010


#25733: nvi-1.81.6: message catalog not configured correctly
---------------------------------+------------------------------------------
 Reporter:  allbery.b@…          |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Low                  |   Milestone:                                       
Component:  ports                |     Version:  1.9.1                                
 Keywords:                       |        Port:  nvi                                  
---------------------------------+------------------------------------------
 On startup, nex/nvi in a default OSX Terminal environment will print
 {{{
 ./en_US.UTF-8: No such file or directory
 }}}

 This involves two bugs:
 (1) "set msgcat" defaults to "./" instead of
 "/opt/local/share/nvi/catalog/", which is where its message catalogs live;
 (2) the default $LANG is en_US.UTF-8, but the catalog installed with nvi
 is called "english" and lacks symlinks to any usual locale values on OSX.

 If I change "set msgcat" and add a symlink from "english" to "en_US.UTF-8"
 then the error doesn't occur and the message catalog is found and used.  I
 am not sure if this is an OSX-specific problem; I've never seen it on
 Linux but don't know if it's using what on OSX appears to be its own
 message catalogs or something more Linux-standard.

 nex/nvi functions fine even if the message catalog isn't loaded, but of
 course will not be properly localized.

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


More information about the macports-tickets mailing list