[MacPorts] #47119: mongodb @3.0.0: error: use of undeclared identifier 'strnlen'

MacPorts noreply at macports.org
Fri Mar 20 16:48:12 PDT 2015


#47119: mongodb @3.0.0: error: use of undeclared identifier 'strnlen'
---------------------------+--------------------------
  Reporter:  ryandesign@…  |      Owner:  ryandesign@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.3
Resolution:                |   Keywords:  snowleopard
      Port:  mongodb       |
---------------------------+--------------------------
Changes (by ryandesign@…):

 * cc: floehlj@… (added)


Comment:

 Has duplicate #47214.

 I have not yet had a chance to look into adding a compatibility strnlen
 function. Really, it's an upstream issue, and if you want continued
 mongodb support for Snow Leopard, you need to report it to the developers
 of mongodb.

 Yes, you can exclude ports from being upgraded. To exclude mongodb, you
 would run:

 {{{
 sudo port upgrade outdated and not mongodb
 }}}

 However, if you also have other ports installed that depend on mongodb,
 that are also outdated, MacPorts would still try to upgrade them, and as a
 result mongodb. So to prevent that would would need to exclude each such
 port as well. For example, to exclude both mongodb and php56-mongo, you
 would run:

 {{{
 sudo port upgrade outdated and not \( mongodb php56-mongo \)
 }}}

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


More information about the macports-tickets mailing list