On Jan 6, 2011, at 6:36 PM, Daniel Macks wrote:

> On Thu, 6 Jan 2011 18:29:23 -0500, Daniel Johnson  wrote:
>> 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
> [...]
>>> 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
>> 
>> 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. 
>  
> I guess it's the early -I/sw64/include flag (before -Isrc/cpp 
> -Ibpl-subset/bpl_subset)? Silly upstream. 

Ok, I just updated it so that it should work with boost installed.

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