Solaris下编译Boost.Python
2009-01-14 09:44
330 查看
1. 下载、解压boost_1_35_0.zip
2. 编译bjam.参见本人之前的《Boost编译》一文
3. 下载安装python2.6
4. 在Boost.Build的安装目录找到user-config.jam。我的目录为:/export/home/ocs/zhangyj/boost_1_35_0/tools/build/v2
5. 编辑user-config.jam文件,加入下面几行:
# Required for Boost.Python: ##############################################
# Python configuration
using python : 2.6 : /export/home/ocs/zhangyj/python26 ;
#####################################################################
6. 编译Python:
bjam --toolset=gcc -d2 address-model=64 architecture=sparc instruction-set=v9 --with-python --build-type=complete stage
2. 编译bjam.参见本人之前的《Boost编译》一文
3. 下载安装python2.6
4. 在Boost.Build的安装目录找到user-config.jam。我的目录为:/export/home/ocs/zhangyj/boost_1_35_0/tools/build/v2
5. 编辑user-config.jam文件,加入下面几行:
# Required for Boost.Python: ##############################################
# Python configuration
using python : 2.6 : /export/home/ocs/zhangyj/python26 ;
#####################################################################
6. 编译Python:
bjam --toolset=gcc -d2 address-model=64 architecture=sparc instruction-set=v9 --with-python --build-type=complete stage
相关文章推荐
- python下安装dlib(boost.python的编译)
- [caffe]python3编译caffe错误:cannot find -lboost_python3
- 在MinGW中编译Boost.Python
- boost.python编译及示例
- boost.python编译及演示样例
- Windows boost 下编译 python 库 boost_python-vc120-mt-1_58.lib
- Boost.python的源码编译安装(尝试解决Boost.Python.ArgumentError)
- 编译、安装boost(on Windows and Solaris)
- [转]linux下编译boost.python
- linux下编译boost.python
- 编译、安装boost(on Windows and Solaris)
- 编译、安装boost(on Windows and Solaris) -转贴
- xgboost python windows编译问题
- 编译BOOST中的PYTHON模块
- VS2008 编译 boost::python boost::serialization 方法
- VS2013的boost.python编译
- vs2010 编译boost.python
- Solaris下如何编译、安装64位python
- [转]vs2010用 boost.python 编译c++类库 供python调用
- xgboost python windows编译问题