[MacPorts] #42751: ranlib: line 390: ./gsed: No such file or directory (was: gettext fails to upgrade to gettext-0.18.3.2 (Mac OSX Lion 10.7.5 , Macports : 2.2.1))

MacPorts noreply at macports.org
Thu Mar 6 23:26:31 PST 2014


#42751: ranlib: line 390: ./gsed: No such file or directory
-------------------------------+--------------------------------
  Reporter:  creativecommon@…  |      Owner:  macports-tickets@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.2.1
Resolution:                    |   Keywords:
      Port:  ranlib            |
-------------------------------+--------------------------------
Changes (by ryandesign@…):

 * keywords:  gettext, error, upgrade, fails =>
 * cc: creativecommon@… (removed)
 * cc: ryandesign@…, jeremyhu@… (added)
 * port:  gettext => ranlib


Comment:

 Your log says:

 {{{
 :info:build /macports/bin/ranlib: line 390: ./gsed: No such file or
 directory
 }}}

 Sounds like your ranlib needs gsed, and gsed wasn't there. This is not a
 gettext problem; you'd encounter this problem with any port you try to
 build that uses ranlib. You could work around this by installing the gsed
 port.

 However, normally, ranlib is part of cctools, and is just a symlink to
 libtool, which is also part of cctools, and libtool is supposed to be a
 compiled executable, not a script with line numbers as your error message
 seems to indicate. Could you show the output of:

 {{{
 ls -l /macports/bin/ranlib
 port provides /macports/bin/ranlib
 }}}

 Could you also attach /macports/bin/ranlib (or, if it's a symlink, what
 it's pointing to) for us to examine?

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


More information about the macports-tickets mailing list