Re: [MacPorts] #32558: mkvtoolnix: error: ‘boost::BOOST_FOREACH’ has not been declared

MacPorts noreply at macports.org
Wed Jan 11 05:31:02 PST 2012


#32558: mkvtoolnix: error: ‘boost::BOOST_FOREACH’ has not been declared
----------------------------------+-----------------------------------------
  Reporter:  palmer100@…          |       Owner:  kona8lend@…        
      Type:  defect               |      Status:  reopened           
  Priority:  Normal               |   Milestone:                     
 Component:  ports                |     Version:  2.0.3              
Resolution:                       |    Keywords:                     
      Port:  mkvtoolnix           |  
----------------------------------+-----------------------------------------

Comment(by macports.org@…):

 My work-around is to downgrade to boost 1.47.0 rev 2 for now:

 {{{
 svn co
 http://svn.macports.org/repository/macports/trunk/dports/devel/boost@85591
 cd boost
 sudo port install
 sudo port clean mkvtoolnix
 sudo port install mkvtoolnix
 }}}

 Presumably we'll have to wait for boost 1.49.0 for this bug to be properly
 resolved? Or can mkvtoolnix be patched to check BOOST_VERSION and include
 foreach.hpp conditionally, as akim.demaille at gmail.com suggests? I am no
 C++ (let alone boost) developer, so I am but a layman when it comes to
 this issue.

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


More information about the macports-tickets mailing list