On Jan 6, 2011, at 4:52 PM, Daniel Macks wrote:

> On Thu, 6 Jan 2011 21:20:44  0100, Antoine Pérus  wrote:
>> 
>> pyopencl-py26-2011.1-0.beta2.1 failed to build with the hereafter error:
>> 
>> gcc -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG
>> -I/sw64/include
>> -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DHAVE_GL=1
>> -Isrc/cpp
>> -Ibpl-subset/bpl_subset
>> -I/sw64/lib/python2.6/site-packages/numpy/core/include
>> -I/sw64/include/python2.6
>> -c bpl-subset/bpl_subset/libs/python/src/object/function.cpp
>> -o 
> build/temp.macosx-10.6-x86_64-2.6/bpl-subset/bpl_subset/libs/python/src/object/function.o
>> bpl-subset/bpl_subset/libs/python/src/object/function.cpp: In 
> member function 'PyObject* 
> boost::python::objects::function::call(PyObject*, PyObject*) const':
>> bpl-subset/bpl_subset/libs/python/src/object/function.cpp:147: 
> error: 'const class boost::python::api::object' has no member named 
> 'is_none'
>> bpl-subset/bpl_subset/libs/python/src/object/function.cpp: In 
> static member function 'static void 
> boost::python::objects::function::add_to_namespace(const 
> boost::python::api::object&, const char*, const 
> boost::python::api::object&, const char*)':
>> bpl-subset/bpl_subset/libs/python/src/object/function.cpp:490: 
> error: 'const class boost::python::api::object' has no member named 
> 'is_none'
>> bpl-subset/bpl_subset/libs/python/src/object/function.cpp: In 
> function 'PyObject* 
> boost::python::objects::function_get_name(PyObject*, void*)':
>> bpl-subset/bpl_subset/libs/python/src/object/function.cpp:656: 
> error: 'const class boost::python::api::object' has no member named 
> 'is_none'
>> error: command 'gcc' failed with exit status 1
>> ### execution of /sw64/bin/python2.6 failed, exit code 1
>> Removing runtime build-lock... 
>> Removing build-lock package... 
>> /sw64/bin/dpkg-lockwait -r fink-buildlock-pyopencl-py26-2011.1-0.beta2.1
>> 
>> fink --version
>> Package manager version: 0.29.99.cvs
>> Distribution version: selfupdate-rsync Thu Jan  6 21:03:57 2011, 
> 10.6, x86_64
>  
> Confirming same result on 10.6/i386, where I also get same on -py25 and 
> -py27 variants. Maybe something missing or mismatched in the boost 
> world? I don't see any boost dependencies in pyopencl-pyXX; I presently 
> have installed:
>  
> macks-factor ~ 132 % fink list -it boost
>  i      boost-jam       3.1.16-1        Extension of 
> Perforce Jam make replacement
>  i      boost1.35.nopython      1.35.0-9        Boost 
> C   Libraries: static and source libs
>  i      boost1.35.nopython-shlibs       
> 1.35.0-9        Boost C   Libraries (shared libs)
>  i      boost1.35.systempython-shlibs   1.35.0-9        
> Boost C   Libraries (shared libs)
>  i      boost1.41.cmake-shlibs  1.41.0-12       Boost C   
> Libraries
> 
> dan

pyopencl includes its own subset of boost. Unfortunately, it seems if you have 
another boost installed it interferes. :( I'll have to find a way to prevent 
that. In the meantime, if you uninstall any boost development packages it'll 
build fine.

Daniel


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to