[MacPorts] #41996: expat @2.1.0: sh: /usr/bin/gnutar: No such file or directory

MacPorts noreply at macports.org
Thu Jan 2 00:01:30 PST 2014


#41996: expat @2.1.0: sh: /usr/bin/gnutar: No such file or directory
-----------------------------+--------------------------------
  Reporter:  glowworm4200@…  |      Owner:  macports-tickets@…
      Type:  defect          |     Status:  closed
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.2.1
Resolution:  invalid         |   Keywords:
      Port:  expat           |
-----------------------------+--------------------------------

Comment (by ryandesign@…):

 Replying to [comment:4 glowworm4200@…]:
 > I think I solved my problem, so I thought I'd share for anyone else who
 may encounter a similar problem and stumble across this page.

 Glad you got it working, but I already shared the correct solution above:
 put back the `/usr/bin/gnutar` that Apple provided. You should not replace
 Apple operating system components with different versions or different
 software.

 `/usr/bin/gnutar` could be directly copied from the Mac OS X 10.5 install
 DVD, or you could use a utility like Pacifist to extract it from the pkg
 file on the
 [http://support.apple.com/kb/DL866?viewlocale=en_US&locale=en_US Mac OS X
 10.5.8 Combo Update disk image] downloadable from Apple's support web
 site.

 Since we cannot explain why `/usr/bin/gnutar` went missing on your system,
 we have no way of knowing if other essential OS components are also
 missing. The safest fix is to reinstall the OS; that will ensure all parts
 are there. At least keep this suggestion in mind if you run into other
 missing files later.

-- 
Ticket URL: <https://trac.macports.org/ticket/41996#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list