id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc
185	cyaml doesn't work on Mac OS X.6.6 with Python 2.6 or 3.2	anonymous	xi	"1) in _yaml.h #include <yaml.h> doesn't find ""/usr/local/include/yaml.h""

2) with #include ""/usr/local/include/yaml.h"" it seems to work OK but whith the following warning:

gcc-4.2 -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -isysroot /Developer/SDKs/MacOSX10.6.sdk -g build/temp.macosx-10.6-intel-3.2/ext/_yaml.o -lyaml -o build/lib.macosx-10.6-intel-3.2/_yaml.so
ld: warning: in /Developer/SDKs/MacOSX10.6.sdk/usr/local/lib/libyaml.dylib, file was built for unsupported file format which is not the architecture being linked (i386)

3) then python3 setup.py --with-libyaml install seems also to work OK but when I try to use it I pinpoint the following error:

>>> from yaml import CLoader
Traceback (most recent call last):
  File ""<stdin>"", line 1, in <module>
ImportError: cannot import name CLoader

to a more explicite one:

>>> import yaml.cyaml
Traceback (most recent call last):
  File ""<stdin>"", line 1, in <module>
  File ""/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/yaml/cyaml.py"", line 5, in <module>
    from _yaml import CParser, CEmitter
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/_yaml.so, 2): Symbol not found: _PyCObject_FromVoidPtr
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/_yaml.so
  Expected in: flat namespace
 in /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/_yaml.so

Thank you."	defect	new	normal	pyyaml	normal			
