[MacPorts] #23343: trouble installing gettext on Snow leopard

MacPorts noreply at macports.org
Tue Oct 19 17:27:37 PDT 2010


#23343: trouble installing gettext on Snow leopard
-------------------------------------+--------------------------------------
  Reporter:  CelindaVielh@…          |       Owner:  ryandesign@…           
      Type:  defect                  |      Status:  closed                 
  Priority:  Normal                  |   Milestone:                         
 Component:  ports                   |     Version:  1.8.2                  
Resolution:  invalid                 |    Keywords:                         
      Port:  gettext                 |  
-------------------------------------+--------------------------------------

Comment(by vona@…):

 I also had this issue.  To my knowledge, I have never "upgraded to a new
 major version of Mac OS X".

 $ lipo -info /opt/local/lib/libiconv.dylib

 Non-fat file: /opt/local/lib/libiconv.dylib is architecture: cputype
 16777223 cpusubtype 3

 $ which lipo

 /usr/bin/lipo

 $ ls -l /usr/bin/lipo

 -r-xr-xr-x  1 root  wheel  140936 Mar 15  2006 /usr/bin/lipo

 This is the same old version of lipo that was reported in 24825.

 Something is going on here, this has happened to several people.  It's not
 strictly just due to system upgrade or "broken os install" as was the
 resolution in 24825.

 So if you are looking for a solution, the suggestions here are helpful
 http://comments.gmane.org/gmane.os.apple.macports.user/20593

 In detail:

 1) install pacifist from http://www.charlessoft.com/

 2) insert os x dvd

 3) launch pacifist, wait the shareware 15 seconds

 4) click "open apple install disks", wait a lot more time

 5) get impatient, click "stop"

 6) click "open package"

 7) navigate to mac os x install dvd

 8) not see the System directory

 9) go look up again how to see hidden files in the finder

 10) hit shift-cmd-period

 11) finally open System/Installation/Packages/BSD.pkg

 12) search for lipo within the package, find lipo and lipo.1 (the manpage)

 13) extract, wait more time

 14) replace the bad files:

 $ sudo cp lipo /usr/bin

 $ ls -l /usr/bin/lipo

 -r-xr-xr-x  1 root  wheel  138384 Oct 19 20:13 /usr/bin/lipo

 $ ls -l /usr/share/man/man1/lipo.1

 -r--r--r--  1 root  wheel  3818 Mar 15  2006 /usr/share/man/man1/lipo.1

 $ ls -l lipo.1

 -r--r--r--  1 root  wheel  4296 Jul  2  2009 lipo.1

 $ sudo mv /usr/share/man/man1/lipo.1 /usr/share/man/man1/lipo.1-BAD

 $ sudo cp lipo.1 /usr/share/man/man1/

 15) observe that my attempt to "port install opencv" is finally getting
 past building gettext...

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


More information about the macports-tickets mailing list