[PyOpenCL] Snow Leopard installation with Macports built python
shurik.kuzmin at gmail.com
Fri Jan 29 13:17:53 PST 2010
Thank you for your help.
1. did you boot your macbook in 64bit mode? (holding the 4 and 6 key
> together when you switch on the macbook)
No. Do I need to hold 4 and 6 or f4 and f6? I need to boot in a 64bit mode?
> 2. what do you get when you type:
> lipo -info 'which python'
> lipo -info $HOME/pool/lib/*
alexandr-kuzmins-macbook:pyopencl-0.91.4 shurik$ lipo -info 'which python'
lipo: can't open input file: which python (No such file or directory)
alexandr-kuzmins-macbook:pyopencl-0.91.4 shurik$ lipo -info 'which
lipo: can't open input file: which /opt/local/bin/python2.6 (No such file or
alexandr-kuzmins-macbook:pyopencl-0.91.4 shurik$ lipo -info $HOME/pool/lib/*
lipo: can't open input file: /Users/shurik/pool/lib/* (No such file or
My boost-directories are /usr/local/include and /usr/local/lib
> 3. did you remove the i386 lines from setup.py in the pyopencl installation
> 4. are your libboost files linked to the correct python frameworks? check
> by typing:
> otool -L libboost_python.dylib
alexandr-kuzmins-macbook:pyopencl-0.91.4 shurik$ otool -L
libboost_python.dylib (compatibility version 0.0.0, current version 0.0.0)
(compatibility version 2.6.0, current version 2.6.1)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
No, Let me try to recompile Boost with /opt/local/bin/python2.6 and I will
let you know how it goes.
> I know that feeling about going crazy with these kind of installations. It
> also took me two weeks before finally being able to have pyopencl installed
> on my iMac. So hold on! You're (probably) almost there! ;-)
Thank you Bart, I really appreciate your help,
I will let you know the result when boost is recompiled.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyOpenCL