ironm73 / pyv8

Automatically exported from code.google.com/p/pyv8
0 stars 0 forks source link

os x uses posix branch in setup.py #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
With PyV8 0.8 setup.py, on OS X 10.6 Python's os.name == 'posix' so the 
"mac" branch never runs for me. What's more, a few changes need to be made 
for it to work:

1) boost_python library be changed to boost_python-mt
2) rt library needs to be removed
3) "/opt/local/include" needs to be added to include_dirs for boost to be 
found. 

This is all assuming you used MacPorts to install Boost. 

Original issue reported on code.google.com by progr...@gmail.com on 10 Jan 2010 at 7:01

GoogleCodeExporter commented 9 years ago
Ok, I have added the supports for OS X 10.6 or later, please check out the 
source code from 
SVN after r199, and verify it could works :)

Original comment by flier...@gmail.com on 11 Jan 2010 at 2:20

GoogleCodeExporter commented 9 years ago
It looks like it works, except boost_python-mt really needs a dash, not 
underscore. You 
have boost_python_mt, but it should be boost_python-mt. When I fix that it 
works.

Original comment by progr...@gmail.com on 12 Jan 2010 at 8:52

GoogleCodeExporter commented 9 years ago
Thanks, fixed in r202

Original comment by flier...@gmail.com on 13 Jan 2010 at 9:19