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

MacPorts noreply at macports.org
Sat Dec 17 11:05:15 PST 2011


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

Comment(by gmendoza@…):

 Replying to [comment:4 Kona8lend@…]:
 > This looks like a known boost 1.48.0 bug and has been fixed in boost
 upstream. Only workarounds I know of is to drop down to boost 1.47.0 or
 cherry-pick the patch from boost upstream.
 [[BR]]
 Downgrading boost helped me out. I was getting the same error.  Thanks.
 [[BR]]

 {{{
 $ port installed boost
 The following ports are currently installed:
   boost @1.46.1_0
   boost @1.47.0_0
   boost @1.48.0_2 (active)

 $ sudo port activate boost @1.47.0_0
 --->  Computing dependencies for boost
 --->  Deactivating boost @1.48.0_2
 --->  Cleaning boost
 --->  Activating boost @1.47.0_0
 --->  Cleaning boost

 $ sudo port install mkvtoolnix
 --->  Computing dependencies for mkvtoolnix
 --->  Building mkvtoolnix
 --->  Staging mkvtoolnix into destroot
 --->  Installing mkvtoolnix @5.0.1_0
 --->  Activating mkvtoolnix @5.0.1_0
 --->  Cleaning mkvtoolnix

 }}}

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


More information about the macports-tickets mailing list