Boost.Python - Python 2.5 & 64bit machines

Hello all, As anyone tried Boost.Python in a 64 bit machine with Python 2.5? I have a compilation error and apparently solved it by changing the source file: object_protocol.cpp. In lines 109 and 136 I changed the variable types from int to Py_ssize_t. The machine specs are: 2 Dual-Core AMD Opteron Processors 2212 HE (64 bits) Linux SUSE 10 - kernel 2.6.18.2-34 x86_64 GCC version 4.1.2 20061115 (prerelease) (SUSE Linux) Python 2.5 Boost 1.33.1

tiago coutinho wrote:
As anyone tried Boost.Python in a 64 bit machine with Python 2.5?
I run Boost 1.34 tests with Python 2.5 on HP-UX/ia64 in a 64-bit mode (+DD64). In order to be able to use Python, I had to build it as a 64-bit application also, with +DD64. Boris ----- Original Message ----- From: "tiago coutinho" <tcoutinho@cells.es> To: <boost@lists.boost.org> Sent: Thursday, March 08, 2007 2:37 AM Subject: [boost] Boost.Python - Python 2.5 & 64bit machines
Hello all,
As anyone tried Boost.Python in a 64 bit machine with Python 2.5?
I have a compilation error and apparently solved it by changing the source file: object_protocol.cpp. In lines 109 and 136 I changed the variable types from int to Py_ssize_t.
The machine specs are:
2 Dual-Core AMD Opteron Processors 2212 HE (64 bits) Linux SUSE 10 - kernel 2.6.18.2-34 x86_64 GCC version 4.1.2 20061115 (prerelease) (SUSE Linux) Python 2.5 Boost 1.33.1
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

on Thu Mar 08 2007, tiago coutinho <tcoutinho-AT-cells.es> wrote:
Hello all,
As anyone tried Boost.Python in a 64 bit machine with Python 2.5?
Yes.
I have a compilation error and apparently solved it by changing the source file: object_protocol.cpp. In lines 109 and 136 I changed the variable types from int to Py_ssize_t.
The machine specs are:
2 Dual-Core AMD Opteron Processors 2212 HE (64 bits) Linux SUSE 10 - kernel 2.6.18.2-34 x86_64 GCC version 4.1.2 20061115 (prerelease) (SUSE Linux) Python 2.5 Boost 1.33.1
Those changes are already in CVS. -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (3)
-
Boris Gubenko
-
David Abrahams
-
tiago coutinho