Opened 15 years ago
Closed 13 years ago
#1085 closed Bugs (invalid)
Python rules for compiling in Mac OS X
| Reported by: | Owned by: | René Rivera | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | Building Boost |
| Version: | Severity: | Problem | |
| Keywords: | Cc: |
Description
It seems that the tools/build/v2/tools/python.jam file is broken when used in Mac OS X (darwin). I had many problems when trying to compile libtorrent's python bindings using bjam and they all were finally solved by changing this file.
I would suggest applying the following patch to the code. This fixes the missing "python_for_extensions" rule problem, and allows for properly setting the include paths (without relying on env vars). For linking I just used "-framework Python". I don't get what all the $(PYTHON_FRAMEWORK) stuff is about. With the "official" python install, gcc automatically finds the framework.
Attachments (2)
Change History (5)
by , 15 years ago
| Attachment: | python.jam.patch added |
|---|
by , 15 years ago
| Attachment: | python.jam.2.patch added |
|---|
comment:1 by , 15 years ago
| Owner: | set to |
|---|
comment:2 by , 14 years ago
| Owner: | changed from to |
|---|
I am transitioning away from participating in Boost.Build development, and I think Rene is in a better position to evaluate the patch, so reassigning to him
comment:3 by , 13 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
python.jam appears to be substantially rewritten, making the patch no longer applicable. Should there be some problems with SVN HEAD, please open new ticket.

Patch to tools/build/v2/tools/python.jam