|
Boost-Build : |
Subject: [Boost-build] Building Boost on 64-bit CentOS 5.4
From: rkdelisle_at_[hidden]
Date: 2009-11-19 18:30:50
I'm trying to build boost on a 64-bit CentOS 5.4 install. I have Python
2.6.4 built and installed at /opt/Python_2.6.4/, and I've appended the
user-config.jam file with:
using python : 2.6 : /opt/Python_2.6.4/python : /opt/Python_2.6.4/Include :
/opt/Python_2.6.4/Lib ;
The standard system Python is 2.4.1 but the tools I'm using require 2.6, so
I've built this version and installed it independently of the system
version 2.4.1 to avoid any conflicts.
As I'm sure you've already imagined, I get the error:
LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)
I see that this is a long standing bug, but I have yet to find a fix. I've
tried various CCFLAGS, CXXFLAGS, etc. to push for a 64-bit compile or a
32-bit compile (-m64 or -m32).
The offending file is pyport.h - is there a 64-bit friendly version that I
don't know about?
-Kirk
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk