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

MacPorts noreply at macports.org
Sun Dec 18 08:06:38 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:5 gmendoza@…]:
 > [[BR]]
 > Downgrading boost helped me out. I was getting the same error.  Thanks.
 > [[BR]]

 But of course, mkvmerge doesn't run after downgrading boost.  Doh!

 {{{
 $ mkvmerge
 dyld: Library not loaded: /opt/local/lib/libicuuc.46.dylib
   Referenced from: /opt/local/lib/libboost_regex-mt.dylib
   Reason: image not found
 Trace/BPT trap: 5
 }}}

 Downgrading boost and icu results in a segfault when running mkvmerge.
 Had to downgrade mkvtoolnix as well.  The following is the only working
 combo for me.

 {{{
 $ port installed boost icu mkvtoolnix
 The following ports are currently installed:
   boost @1.46.1_0
   boost @1.47.0_0 (active)
   boost @1.48.0_2
   icu @4.6.1_0 (active)
   icu @4.8.1_0
   mkvtoolnix @4.6.0_0
   mkvtoolnix @4.7.0_0
   mkvtoolnix @4.8.0_0 (active)
   mkvtoolnix @5.0.1_0

 }}}

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


More information about the macports-tickets mailing list