Opened 13 years ago

Closed 13 years ago

#246 closed question (wontfix)

boost on msx 10.6

Reported by: stacy.mader@… Owned by: Malte Marquarding
Priority: normal Milestone: Unified development
Component: General Version: 2.0
Severity: normal Keywords:
Cc:

Description

Installing on Mac OS X 10.6:

pwd /Users/mad134/Downloads/asap-3.0.1-src

scons Restoring previous command-line options from 'options.cache' Checking for C++ library casa_casa... yes Checking for C header file Python.h... yes Checking for C++ library libboost_python... no

In SConstruct, I have:

("boostroot", "The root dir where boost is installed", None), ("boostlib", "The name of the boost python library",

"libboost_python"),

("boostlibdir", "The boost library location", "/opt/local/lib/"), ("boostincdir", "The boost header file location", "/opt/local/include/boost/"),

Boost is installed in /opt/local/include/boost and /opt/local/lib/libboost_python.[a|dylib]

I can't see how it isn't picking up boost.

Change History (3)

comment:1 by stacy.mader@…, 13 years ago

Info from the config.log file:

gcc -o .sconf_temp/conftest_1.o -c -fPIC -I/usr/local/include/casacore -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 .sconf_temp/conftest_1.c scons: Configure: yes

scons: Configure: Checking for C++ library libboost_python... .sconf_temp/conftest_2.cpp <-

| | |#include "boost/python.hpp" | |int |main() { | |return 0; |} |

g++ -o .sconf_temp/conftest_2.o -c -fPIC -I/opt/local/include/boost -I/usr/local/include/casacore -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 .sconf_temp/conftest_2.cpp .sconf_temp/conftest_2.cpp:3:28: error: boost/python.hpp: No such file or directory scons: Configure: no

So scons is looking for python.hpp in the Python 2.7 area. Not sure why... I'm sure I have built things using python 2.6

comment:2 by anonymous, 13 years ago

I stopped working on this. I installed asap-3.0.0 using the default OSX 10.6 python install.

comment:3 by Malte Marquarding, 13 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.