[Bf-committers] Compile on OXS Leopard 10.5.4 / py2.5

Ken Hughes khughes at pacific.edu
Tue Aug 5 18:32:09 CEST 2008


Can you try running otool to see which shared lib Blender is using?

Ken

Tim Knip wrote:
> Yeah, for sure 2.5:
>
> Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26)
> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
>
> Though I got a "2.3" directory under
> /System/Library/Frameworks/Python.framework/Versions/
>
> libpython2.5.a is in
> /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config
> + got these  :
> /usr/lib/libpython.dylib	
> /usr/lib/libpython2.dylib
> /usr/lib/libpython2.5.dylib
>
> Tim
>
> 2008/8/5 Ken Hughes <khughes at pacific.edu>:
>   
>> Do you have Python 2.5 installed?  The "Compiler with 2.3.5" indicates
>> that the installed version Blender is using is 2.3.
>>
>> Tim Knip wrote:
>>     
>>> Hi list,
>>>
>>> Sorry for the noob question, but got something weird:
>>> Compilation goes okay on Leopard / py2.5 after 'sudo scons'.
>>> Got the build/darwin folder...
>>>
>>> But when I want to start ./blender, it crashes:
>>>
>>> ===============================
>>> Compiled with Python version 2.3.5.
>>> Assertion failed: (PyTuple_Check(mro)), function PyType_IsSubtype,
>>> file Objects/typeobject.c, line 835.
>>> Abort trap
>>> ===============================
>>> I don't understand the 'compiles with 2.3.5' part, as I only got python2.5?!
>>>
>>> I attached my user-config.py
>>>
>>> Having BF_PYTHON_VERSION = '2.5'
>>>
>>> If i leave BF_PYTHON_LIB = '' as is, then compilation errors with a ld-error.
>>> If I do : BF_PYTHON_LIB = 'python2.5' compilation goes okay, but get
>>> the above error.
>>> But of course: guess BF_PYTHON_LIB being an empty string has a reason?
>>>
>>> I'm sure I'm doing something stupid here... maybe i need a 2.5 py-dev
>>> version or something.
>>> any thoughts?
>>>
>>> Thanks,
>>> Tim
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>
>>>       
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>>     
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
>   



More information about the Bf-committers mailing list