[MacPorts] #16378: boost-1.36

MacPorts noreply at macports.org
Wed Aug 27 11:29:12 PDT 2008


#16378: boost-1.36
-----------------------------+----------------------------------------------
  Reporter:  sal at ri.cmu.edu  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  enhancement     |      Status:  new                                  
  Priority:  Normal          |   Milestone:  Port Enhancements                    
 Component:  ports           |     Version:  1.6.0                                
Resolution:                  |    Keywords:  boost                                
-----------------------------+----------------------------------------------

Comment(by andrew at fernandes.org):

 Okay. After much recompiling, I've got openmpi + python compiling and
 installing. You can't use boost's internal "make install" because, well,
 it is broken, and sucks. (Can't handle the fact that there are two
 "mpi.so" objects, etc. Of course, on darwin there is no difference between
 "normal" and "mt" builds...

 After all that effort, it appears that mpi+python is broken, at least on
 OS X. See [http://lists.boost.org/boost-users/2008/03/34541.php this
 comment].

 If you type
 {{{
 python2.5 test.py
 }}}
 where 'test.py' has
 {{{
 import mpi
 print "I am process %d of %d." % (mpi.rank, mpi.size)
 }}}
 you get
 {{{
 Fatal Python error: Interpreter not initialized (version mismatch?)
 Abort trap
 }}}

 So, I've googled around, and that python error appears when you're mixing
 python versions (or debug/release versions) or using python built with a
 different compiler...

 Take a look at the "python.log" file (attached)... it appears from the
 ktrace that all the right python bits are being loaded.

 I give up. I curse boost build tools. I curse boost libraries. The headers
 are wonderful... but ARGH!

 (The Portfile.diff I submitted has been updated.)

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


More information about the macports-tickets mailing list